There is an empty new-page in the folder weather27/_my_scripts/ with the name my_NewPage.php.
There is also an entry for an example in the “Development menu” in the menu-file wsMenuData.xml:
<item nr="900" show='yes'
caption="example new page"
How to proceed:
Open the example script in your favorite program-editor. DO NOT use notepad.exe from MS-Windows.
Save the file under a new name in the directory weather27/_my_scripts.
Do not forget to change the name of the script and date in the beginning of the copied example.
Add your own code. There is some example php code, some html and a frame included. Customize and throw away all the unnecessary things. You just add your info. So no headers, footers, etc. they are handled by the template.
Add an entry to the menu file using the supplied entry as a starting point
xml is even more critical with errors as PHP. So ALWAYS make a copy of the menu-file as a fall-back in case your wewbsite goes to black.
en/faq/newpages.txt · Last modified: 2015/05/26 12:36 by wvdkuil