You need to sign in to do that
Don't have an account?
ollie123
Templating?
OK, so with Sites I can create a public-facing web site, I can manage the content using the CRM, I can have my customers sign in to do this and that, but how do I use the same web site template across my public-facing pages, with navigation highlighted depending on context, without duplicating the script and mark-up?
I suspect most if not all the benefits of using Sites would be wiped out unless it's possible to avoid this kind of duplication, but I've not seen any mention anywhere of page templating or server-side includes.
All Answers
Visualforce supports templates and components for this purpose. Additionally you can specify a template at the site level
(site Template field) and refer it via the {!$Site.Templale} visualforce expression on your pages. Take look at the sample pages that are created when you create your site
Hi Bulent, Thanks for your reply. Does the templating system support highlighting of navigation based on context?
e.g. if someone is in the Products section of a webs site, can "Products" be easily highlighted in the navigation?