below to add "about us" this single page as an example of Phpcms V9 WAP mobile phone Portal Add a single page tutorial instructions: Step one: Copy phpcms\templates\ default \wap under maps.html, paste Rename to about.html, and modify it as "about Us" template file; Step two: In the phpcms\modules\wap\index.php file search function maps (), Find // navigation page
function maps () {$WAP = $this->wap; $TYPE = $this->types; $WAP _setting = String2array ($WAP [' SETTING ']); $GLOBALS [' SiteID '] = max ($this->siteid,1); Include template (' wap ', ' Maps ');}
// about Us single page
function about () {$WAP = $this->wap; $TYPE = $this->types; $WAP _setting = String2array ($WAP [' SETTING ']); $GLOBALS [' SiteID '] = max ($this->siteid,1); Include template (' wap ', ' about ');}
<a href="{app_path}index.php?m=wap&c=index&a=about"> School Profile </a>
PHPCMS v9 Realization WAP single page tutorial