-
Posts
212 -
Joined
-
Last visited
Posts posted by Manaus
-
-
Thanks adrian,
I'm seeing this though:
"Error: Exception: Method FormTemplateProcessor::addStatus does not exist or is not callable in this context"
-
It works very well!!
I see the new pages are unpublished by default, is this tweakable?..
Thanks!
-
Hello,
I'm trying to hack some code for the FormTemplateProcessor module.
I have this page structure:
posts
post 01
post 02
post 03
post 04
new post
I'd like to add the new post as a sibling of 'new' but I get the page always as its child. This is the code I'm using:
$form = $modules->get('FormTemplateProcessor'); $form->template = $templates->get('contact-form'); // required $form->requiredFields = array('title', 'body'); $form->email = 'my@email.com'; // optional, sends form as email $form->parent = $page; // optional, saves form as page echo $form->render(); // draw form or process submitted form
Thanks for any suggestion!
-
Aha great community thanks guys
-
1
-
-
Well found it
if $page->path == "/"
-
Hello,
simple question: how do I check whether the viewed page is the homepage?
if ($page->parent == "NullPage") or something like this?
Thanks!!
-
1
-
-
Hello,
I need to make some site where the admin can assign projects to users (many to many). Users can write to specific areas, but cannot delete their messages (this is done by the admin). All of course should be protected by login and pass, with all the features of password retrieval etc.Can PW do all of this? If so, can you give some suggestion?
Thanks!!
-
Thanks,
I noticed there's a Select and Select Multiple fieldtype in the Modules>Inputfield page. Are these for internal use, or usable in the admin?
-
Hello again,
I need to set up a template in which I use a field with a limited number of option (so to avoid misspelling). Is there any plugin or way to do this?
Thanks!
-
Thanks guys for the rich answers!
-
Hello there
I'm newbie so be patient
I need to set up a website for real estate company, whose need is to add a building, and for each building *many* apartments. Each apartment has a ID, features and so on. It this feasible with PW? If so, do you have any suggestion?
Keep in mind that although each apartment is different, they have pretty much in common, so the problem for the person who's entering data, is to have the task as easy as possible (i.e. replicating the data already entered with a button and so on).
Thank you very much
FormTemplateProcessor posting to parent
in Getting Started
Posted
Looks like removeStatus does not exist either..