[opencms-dev] templateone navigation

Erik Lyons ELyons at cityofsalem.net
Wed Mar 16 00:01:05 CET 2005


Hi Jeremy, I spoke too soon. I was able to change configuration_common
to get the demopages to behave *exactly* as I wanted, but when I copied
that _configuration/ and its contents to /sites/default/ and set
style_main_configpath it still did not change the behaviour of the pages
there. Could there be some other setting that needs to change? Or is
there something I need to do to make this change take effect? 

>>> jeremy at cavagnolo.org 3/15/2005 13:14:01 PM >>>
e.l.

I got stuck on this when I first started exploring templateone.  I
recommend installing the templateone demopages and copying the
_configuration directory (copy all siblings as new files) from the
demopages directory to your site top level.  You must also set the
style_main_configpath property to point to your _configuration
directory
for any resource that uses the template - I just set this property on
the
/sites/mysite/ directory so it is inherited by all files in the site.

I am running multiple sites, and I had to use the site-relative
absolute
path instead of the absolute path relative to the VFS.

Finally, I think the configuration_common file in _configuration
allows
you to set the left navigation to follow the current page, as you
want.

Hope this helps.

-jeremy

> Sorry if this has been covered somewhere, I couldn't find it. The
> Alkacon documentation refers to filenames that do not exist (e.g. "a
> folder named "_configuration"").
> What is the recommended means of changing the behaviour of the
> navigation items (side and top)?
> More specifically, I'd like the side navigation level to follow the
> context of the current page, so that the top of the nav tree is the
> directory the file is currently in. Similar things have been asked
about
> and I haven't seen responses, but I'm sure it's something other
folks
> would want to do...
>
> Thanks,
> -e.l.
>
>
>
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please
visit
> http://mail.opencms.org/mailman/listinfo/opencms-dev 
>




More information about the opencms-dev mailing list