Global Content Blocks and Links
Posted: Mon Sep 24, 2007 7:50 pm
I have a site where I am making extensive use of GCBs. The site is essentially split into five areas for five different audiences, but some of the core information gets repeated.
I created all the repeating information in global content blocks which has been great, but I have run into one problem. When a global content block contains a link, let's say to a contact page, how do I deal with that? I would like to do something context sensitive, so if they are in the teachers section, they see a global contact block that has a link to the contact page, that link appears to also be in the teachers section as opposed to the main site or the student section.
In a non CMS scenario, I would have used a basic include with a relative link, but I am not quite getting that same result with the global content blocks, the CMS Self Links appear to me to need to be directed at an actual page.
Thanks much.
I created all the repeating information in global content blocks which has been great, but I have run into one problem. When a global content block contains a link, let's say to a contact page, how do I deal with that? I would like to do something context sensitive, so if they are in the teachers section, they see a global contact block that has a link to the contact page, that link appears to also be in the teachers section as opposed to the main site or the student section.
In a non CMS scenario, I would have used a basic include with a relative link, but I am not quite getting that same result with the global content blocks, the CMS Self Links appear to me to need to be directed at an actual page.
Thanks much.