Search the Community
Showing results for tags 'page save'.
-
Hi i need some help to solve this. I need to save a specific value when saving a page $p = $pages->get('template=customer_project'); $p->location = "Hello world"; $page->save($p); This is my code right now in ready.php. location is my field "text field" inside template "customer_project". R...
-
Hello, in a 2.6.22rc1 install I have a page field "workshops" that selects pages via selector "template=workshop,sort=-dat_start,dat_start>=today)". The field is in a template "anmeldungen". When I edit a page with template "anmeldungen". I can choose pages from the page field "workshops". But...
-
The Processwire version is ProcessWire 2.4.0 © 2015 When attempting to save edits to the page, instead of getting the pw success message, I get the 404 page not found page. This page in question cannot be deleted, moved, edited...nada. Page edit takes me to: http://www.mydomain....e/edit/?id=577...
-
New to Hooks, trying to wrap my head around the syntax
creativejay posted a topic in Getting Started
I really wanted to create this post with some sample code to show that I at least tried to figure it out on my own first, but I'm really struggling with how hooks are even written. I know it's a very simple context for anyone who's already using them (and hopefully it will be for me, soon), but this...