Re: How to show blocks on some areas and not in another ?
"Jason" <[email protected]>
| Newsgroups | gmane.comp.cms.xaraya.user |
|---|---|
| Organization | Xaraya |
| Message-ID | <[email protected]> |
"Bruno Reis" <[email protected]> wrote in message news:mailman.399.1173881170.5440.xaraya_user-gn8pmO+6nsymdvSpIQae8A@public.gmane.org > Hi all, > > How do I do to show the blocks only in some areas of the site? > > Let's say I have a news block on the right that I want to show on > front page but not to show on the calendar module. I tend to put blocks into blockgroups, and then conditionally show or hide those blockgroups in different areas of the site. The conditions can come from just about anywhere: the page name, an extra field in a xarpage page, or some other place. It does require more programmatical effort though - it's not all point and click - though it can all be done through templates without having to touch the main PHP scripts. -- JJ