Forum OpenACS Development: Re: Master explanation

Collapse
2: Re: Master explanation (response to 1)
Posted by Avni Khatri on
Hi Malte -
  • default-master --> outputs the header (who's online, login, logout, pvt/home links) and footer html along with the context bar. This is usually the template I modify and the one I use as the value for the DefaultMaster parameter for my subsites
  • site-master --> outputs js necessary for xinha and other rtes
  • blank-master --> outputs the html head and body tags, content within <head></head>, links to css and other script files, meta tags, body tag attributes
Also, is there a reason why we have 3 master templates? It seems like an unnecessary complexity though I guess it does make things a bit cleaner.
Collapse
3: Re: Master explanation (response to 2)
Posted by Jim Lynch on
Ok, good, so that's what they do, that's half of the answer... but (historically, big-picture, thinking about the graphic designer), what are they for?
Collapse
4: Re: Master explanation (response to 3)
Posted by Janine Ohmer on
This was something Lars did. He explains his reasoning here:

https://openacs.org/forums/message-view?message_id=154693

I've never cared much for having so many files to keep track of, but it has been this way for a long time now.

Collapse
5: Re: Master explanation (response to 4)
Posted by Jim Lynch on
Thanks Janine :)

This is what I've been looking for for a fairly long time...

Mentioned therein are "skin packages"... are there any? are
they what you might call "complete" and "fully functional"?

Collapse
6: Re: Master explanation (response to 5)
Posted by Janine Ohmer on
There is a package called skin in CVS, but I don't know anything about it. It looks like it predates Lars' work on this, so probably not relevant. Other than that I don't know of any, sorry.