|
Welcome
|
Saturday, September 04, 2010 09:17 PM |
Custom Page
|
This is an exmple of how to create unlimited custom pages. All you need to create a custom page is just to insert the class <!--CLASS::Page:Page_Name--> in your templates, where Page_Name is the name of the page you want to create. The program will automatically create a template file in the templates directory with the name Page_Name.page.shtml and a language files with the name Page_Name.page.pm in every language directory.
You can then edit these generated files in the normal way. Also you can use inside these files all the General Classes, your custom functions, and the banner classes. For example you may want to use the Header, Top and Bottom Navigations Classes.
How to edit these custom files
Edit the language files MyPage.page.pm from the Language Manager. Also edit the template file MyPage.page.shtml from the template editor.
|
|