Re: Template per section
Nate Aune <nate-cNZgzcB+5vhWk0Htik3J/[email protected]> Wed, 14 Apr 2004 19:36:38 +0200
| Newsgroups | gmane.comp.web.zope.plone.design |
|---|---|
| Message-ID | <[email protected]> |
Hi Jock, > Tom, and others, thanks for your excellent advice. What if I doreally > want a completely 'different' look to the three column type layout? As others have mentioned in this thread, you can do much of this using CSS. Then you could simply have a different ploneCustom.css for each skin that you want to use, and as you navigate the site and click on the various folders (music, poetry, information, etc.), the skin would change and the new stylesheet would be loaded. > When I started with PostNuke, I downloaded lots of skins to give me > something to compare with and to see what happens if I change this or > that. I'm a little bit lost without that in Plone. Yes, I am a Postnuke-refuge as well, and it has taken a bit getting used to how things are done in Plone. But I like the fact that the entire site can be changed with very small modifications to the ploneCustom.css file. That makes maintenance much easier in the long run. I hope that there is soon a "skin repository" where people can upload skins that they've made and where non-CSS gurus like us can download them to try out various "looks" and learn from each others' CSS tricks. > Still waiting for that 'Eureka' moment...:-) Well, I don't know if it's a Eureka moment, but I had great success with Alan Runyan's example from the Emerging website as described in this presentation: http://plone.org/Members/runyaga/presentations/OSCOM/workshop/ Look at the section called "Binding skin on traversal". This will give you the various skins/layouts for each folder as you describe below. If you get stuck, let me know and I can make it into a more complete howto. I think there is also a recipe on Zopelabs that is very similar to this example. Nate Jock Coats wrote: > Hi, > > My name is Jock Coats and i am working on Zope Plone for an artists > community (see Plone4Artists story on the Plone website). Like the recent > poster on CSS per page, I am very new to Zope and Plone and this is > probably a pretty basic question as well, but I hope it is doable! > > I'd like to have different 'sections' if you like on my site - we'll be > hosting musicians, poets, dramatists and so on, and would like to have a > different layout per 'section'. We can probably make sure each section > has a common url identifier perhaps thus: > > http://dev.catweazleclub.org/music > http://dev.catweazleclub.org/poetry > http://dev.catweazleclub.org/information > > and so on. > > And would like to load a completely different template for each. > > Is such a thing possible? I'm guessing that it has something to do with > 'acquisition' in the skinning system, but cannot seem to see how or where > I would do it. > > Any ideas? > > Jock Coats > OXFORD, UK. > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click