forrest-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Crossley <cross...@apache.org>
Subject Re: newbie - how to include javascript
Date Wed, 17 Aug 2005 00:16:46 GMT
Ross Gardler wrote:
> Damiano Venturin wrote:
> >
> >I would like to have that menu at the top of any page built by forrest.
> >I have built my custom theme starting from forrest-site theme.
> >
> >Please may you help me?
> 
> You need to create a new skin. I'm not sure if that is what you mean by 
> "theme" or not. forrest-site is not a skin it is a sample site that you 
> can edit in order to create your own site.

One minor correction. There is an old skin called
"forrest-site":
http://forrest.apache.org/docs/skins.html

Damiano, please note that that skin is deprecated.
The use of embedded tables to do layout is frowned upon.

You would be better to base your enhanced skin on "pelt".

-David

> What you want to do is change the way the site is rendered by adding 
> your own menu code. This requires that your site has a custom skin.
> 
> I'd suggest doing something simple first, you can come to the JS stuff 
> later. See http://forrest.apache.org/docs_0_70/your-project.html#skins 
> for some starter documentation for creating your own skin. I'd suggest 
> starting off by making your skin display "MY Navigation Goes here" or 
> something like that so that you know you have it working. Then come back 
> here for help with the next steps if you need it.
> 
> You may also like to know that the sknning system is going to change in 
> 0.8, we have a new and powerful system that will enable this kind of 
> enhancment to be done much more easily. However, this is alpha code and 
> would require you to dive in and work with SVN head. If you want to work 
> with this new system instead then join us on the dev list. Otherwise 
> we'll help you here on the user list.
> 
> Ross

Mime
View raw message