Knowledge base/Tips & Tricks

How to add new pages

Technical Support
posted this on March 06, 2008 12:16

TouristWay supports custom-made contents through the use of travel guides. You can create your new page content in the catalogue administration area (Travel guides Menu > New Travel Guide) and then call them using the link you will see in the address bar of your browser when you click on 'preview'.

If you prefer to edit the HTML directly in the page files, you can create also a brand new template and call it  just by using the M parameter (module) in your query.

For example:

http://www.yoursite.com/twpub/pag.cgi?m=mynewpage

will load the template

/public/default/templates/RAW/mynewpage.html

Of course you'll need to make sure the file is properly placed in the templates folder: you can easily upload it using the Files menu in the administration area.

If you are using TouristWay on your server the full path is "www/public/default/templates/RAW/mynewpage.html" and the new template will require the same permissions and ownership of the other files in the same folder.


 
Topic is closed for comments