|
Category: Home > Manual > Designer
|
Place Holders
In the example on Templates and Still Templates you have four (4) placeholders that you need to configure or, saying the same in a more extense way, define which module will be executed to complete that place and with which parameters.
This can be configured in the Designer->Placeholders menu. This table has three (3) fields, Placeholder, Module and Parameters.
- Placeholder is the placeholder we used in the template, in the case of our main template, defined in the exemples refered above, we have as possible values for this field header, sidebar, main and footer.
- Module must be the name of the module that will be execute to process this place. See Module List for available modules. That list will be updated as new modules are made available in future versions of BWPMS or as independent modules.
- Parameters is the list of modules that will be sent to the module.
As examples, this are some common placeholder configurations used in almost every site:
| Placeholder | Module | Parameters | Description | | main | main | | This module uses the URL and replaces the placeholder it is being run for with the first part of the URL.
| | contact | form2mail | fields=5 field1=Name,input field2=Email,input field3=Phone,input field4=Subject,longinput field5=Message,smalltext sendto=<email> subject=Contacts BWPMS.com title=Contact us sendtxt=Send | This placeholder creates a form and send to an email the values submited in the form.
| | list | content/list/all | categoryname=Category storyname=Stories readmoretxt=Read More... | This placeholder is run for the URL /list/xxx.html and list all the stories in the xxx category.
| | view | content/story | categorytxt=Category | Used to show the full story.
|
View the Module List for details on all the available modules.
|