Just wanted to check that my conclusions are correct in relation to using the context bar in static pages to maintain continuity .
- I have a privacy page and a terms page which need to be available at the www root.
- I want the look and feel to be the same as the dynamic pages so I reference my standard .css file and have created a privacy.tcl which calls ad_page_contract and a privacy.adp that contains the text and layout - the master template does the header and the context bar.
When I display the www/sitename/privacy page, the context bar shows 'Your Workspace : Main' - which I believe is correct because the page is being served from the site root. However I would like it to show 'Your Workspace : Main : Privacy Statement'
I can think of two ways of doing this :
Regards
Richard
- I have a privacy page and a terms page which need to be available at the www root.
- I want the look and feel to be the same as the dynamic pages so I reference my standard .css file and have created a privacy.tcl which calls ad_page_contract and a privacy.adp that contains the text and layout - the master template does the header and the context bar.
When I display the www/sitename/privacy page, the context bar shows 'Your Workspace : Main' - which I believe is correct because the page is being served from the site root. However I would like it to show 'Your Workspace : Main : Privacy Statement'
I can think of two ways of doing this :
- Create a site node off the site root called 'privacy', create a new package called Privacy, create the requisite folders in the acs installation under packages - (i.e. in /packages/privacy), put my privacy.tcl and privacy.adp in there and finally mount the new package as 'Privacy Statement' on the new site node 'privacy'.
Am I correct in thinking that this will allow the request processor to provide node info for the page to ad_context_bar and thus the correct output for the context bar? - As the above is a complicated process for just a single static page, jerry rig it instead by hand coding a context bar into a static page under the www root and use the 'static pages' module to manage it!
Regards
Richard
Request notifications