[themes] Is there a better way to do this? (by "this", I mean include javascript commands in the body of a page that change in response to page.tpl.php variables)

Rowan Kerr rowan at stasis.org
Thu Feb 2 23:03:50 UTC 2006


Nick Lewis wrote:
> Ah yes -- but you see this is a theme that I intend to release 
> publically, so I have to use non-site-specific variables (e.g. the 
> navigation block appearing on the left only for users).

Try the $layout variable for a 4.6 theme.
(Has values of "left", "right", "both" .. I think).




More information about the themes mailing list