Relative Path Question
Permalink
Hi
I have created a navigation menu using scrapbook so that it can be easily added to pages and combine internal and external links.
My question is how can I link to pages in my Concrete site so that no matter where the installation is it will continue to link properly? What PHP code would I need to call a specific page in Concrete?
Many thanks!
Chico
I have created a navigation menu using scrapbook so that it can be easily added to pages and combine internal and external links.
My question is how can I link to pages in my Concrete site so that no matter where the installation is it will continue to link properly? What PHP code would I need to call a specific page in Concrete?
Many thanks!
Chico
When you add a new page in Concrete, you get a path to that page. So if you create an About Us page, it will have an alias of about_us. In your nav, you then simply link to /about_us and that will work regardless of the domain.
Also, have you looked at the autonav block? This can usually create all your navigation for you!