You are here:  » adding pages


adding pages

Submitted by gahanpip on Mon, 2016-02-22 14:54 in

could you tell me how to add additional pages to the navigation? so they appear on the front page. I have been using the "example page" template to create additional pages but can't figure how to include then in the sites navigation or how to edit navbar.php

Thanks in advance

Philip

Submitted by support on Mon, 2016-02-22 15:20

Hi Philip,

It sounds like you are using a 3rd party template as navbar.php is not a file included in the distribution so having created a new page based on example.php from the distribution, e.g.

about-us.php

...the link to this page would be as follows:

<a href='<?php print $config_baseHREF?>about-us.php'>About Us</a>

Including $config_baseHREF in the output is the key, this will ensure that the links generated are always absolute even if in a "virtual" sub-directory as a result of search engine friendly URLs etc. That should be all it is - let me know if you're still not sure of course...

Cheers,
David.
--
PriceTapestry.com

Submitted by babyuniverse on Tue, 2016-02-23 08:18

Hi David,

I think Philip is using one of the Ramos themes, you can add a menu using html/custom_menu.
You then add a file called menu_1.php etc.

Hope this helps

Thanks
Richard

Submitted by support on Tue, 2016-02-23 09:23

Thanks Richard!

Cheers,
David.
--
PriceTapestry.com