Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
services:pvw:conf:site [2015/03/17 17:09]
eric [Pages]
services:pvw:conf:site [2015/03/18 09:14]
eric [Contact Emails]
Line 40: Line 40:
 // are stored in : **$pvw_conf['​emails'​]**//​ // are stored in : **$pvw_conf['​emails'​]**//​
  
-If a visitor uses the contact form to reach a certain department on your website such as "​customer support"​ or "​general inquiries",​ his message will be sent to the email addresses set as :+If a visitor uses the contact form to reach a certain department on your website such as "​customer support"​ or "​general inquiries",​ his message will be sent to the corresponding ​email addresses set as :
 <code php> <code php>
 $pvw_conf['​emails'​]['​general'​] ="​me@domain.com";​ $pvw_conf['​emails'​]['​general'​] ="​me@domain.com";​
Line 137: Line 137:
  
 ===== Custom Pages ===== ===== Custom Pages =====
-If you need to create ​others ​pages, you can define ​them with any HTML content ​you need. You just have to create the page definition in the //pages// arrayand enable ​it in the //​pages_on//​ array of the corresponding section.+If you need to create ​"​custom" ​pages, you may define ​these using any HTML content ​as needed. You simply need to create the page definition in the //pages// array and enable ​them from the //​pages_on//​ array in the corresponding section.
  
-Example:+Example :
 <code php> <code php>
 $pvw_conf['​pages'​]['​about'​]['​our_jobs'​]['​title'​] ​      ​="​Jobs at MyCompany";​ $pvw_conf['​pages'​]['​about'​]['​our_jobs'​]['​title'​] ​      ​="​Jobs at MyCompany";​
-$pvw_conf['​pages'​]['​about'​]['​our_jobs'​]['​content'​] ​    ​="​We ​are hiring a cool developper";​+$pvw_conf['​pages'​]['​about'​]['​our_jobs'​]['​content'​] ​    ​="​We'​re ​hiring a cool developper";​
  
 $pvw_conf['​pages_on'​]['​about'​] ​    ​=array('​company','​our_jobs','​contact'​);​ $pvw_conf['​pages_on'​]['​about'​] ​    ​=array('​company','​our_jobs','​contact'​);​
 </​code>​ </​code>​
  
-In this example we created ​the //​our_jobs//​ page, linked from the about section at the url /​about/​our_jobs.+In this example we created ​an //​our_jobs//​ page, linked from the about section at the url /​about/​our_jobs.
  
-Note: the page index name (//​our_jobs//​ in the example) must NOT be one of the factory ​page, else it would be ignored. ​Therefore ​as we will regulary add new factory pages with some unique index name, we advice you to choose ​an index name that will never match one of the future factory page namePrefixing it my your company name or with //​custom_// ​(or //​our_// ​like in the example) would certainly be an update-proof name.+Note : The page index name (//​our_jobs//​ in this example) must NOT be one of the factory ​default pages as it would be ignored. ​Moreover, ​as we will regulary add new factory pages with unique index name, we advice ​that you choose index names that will never match future factory page namesYou may therefore want to Prefix pages using "my company" ​name or use //custom_// or //​our_// ​as shown in the example ​abovewhich would certainly be a good update-safe name to use.
  
  
  
 {{indexmenu_n>​10}} {{indexmenu_n>​10}}