Phil Spitler wrote:
> I'm trying to find a good CMS and have come accross Midgrad. I'm wondering
> if anyone can give me an example of a page element and a style element and
> maybe how they are used. I've been looking at the documentation and to be
> honest, it's quite confusing.
Yeah, it is. It's being worked on but it's been (wrongfully) neglected
while we focused on features.
Page elements and style elements are essentially the same, only
differing in where they'll play a role in the actual page construction
process.
Style elements apply to every page that uses (or inherits) the style,
page elements only apply to the page they're defined on, and lower pages
if the page element is set to inherited.
If in the style you have:
ROOT:
<html><head><title><[generatetitle]></title></head><body><[content]></body></html>
generatetitle: <? /* do something default */?><[title]>
and on a page you have:
generatetitle: <? /* generate title in fancy way for your own page */ ?><[title]>
You'll have a default title, but will be able to regenerate them for
specific pages, for example to include the article name. You'll use
the code-init page element to concert this a lot.
The <[title]> and <[content]> tags are element calls which are
predefined and delivere the page title and page content. The page
content can be anything -- html, php, whatever. It will just be
included (and thus possibly executed if it contains PHP) where the tag
is.
> Here on staff we have 2 programmers, 1 designer w/ HTML knowledge, and 2
> content enterers. Could someone explain what the roles of these people
> would be in the Midgrad scheme.
The content enterers could operate separately. While you could separate
the programmers and the designers, in practice there will be areas of
overlap where they'll need to work together to get the desired effect.
Emile
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]