You should read this
{{left_sidebar_enabled,right_sidebar_enabled=False,('message' in
globals())}}
as in
{{
left_sidebar_enabled = False
right_sidebar_enabled = ('message' in globals())
}}
Hope this makes sense
On Monday, 29 October 2012 17:54:16 UTC-5, Stephen Ekoka wrote:
>
> Hey folks,
>
> I'm getting weird behaviors setting up the left and/or right sidebars from
> the default/index.html of the scaffolding app. This is what I get:
>
> 1. {{left_sidebar_enabled,right_sidebar_enabled=False,('message' in
> globals())}}
> -- this is the default setting but...
> -- I don't quite get why the {{block right_sidebar}}...{{end}} still
> renders even though "right_sidebar_enabled=False"
> -- It seems counter-intuitive that "right_sidebar_enabled" needs to be set
> but "left_sidebar_enabled" doesn't (see #3 below)
>
> 2. {{left_sidebar_enabled,right_sidebar_enabled=True,('message' in
> globals())}}
> -- now the 'left side_bar' renders although it's the
> 'right_sidebar_enabled' that is set to 'true'
>
> 3. {{left_sidebar_enabled,right_sidebar_enabled,('message' in globals())}}
> -- produces this: NameError: name 'left_sidebar_enabled' is not defined
> -- so where would the 'left_sidebar_enabled' actually be defined?
>
> I get some other errors playing with other scenarios... any suggestion on
> how to fix this would be helpful... I'm running w2p 2.2.1 and I'm fairly
> new to it.
>
> Thanks a bunch!
>
> Stephen.
>
--