Hi all,

Todd Woodward wrote:
> 1.) In the WMUC example site it uses a "macro" page element
> of the Root page for "vmuc", which when used as <[vmuc]>
> prints "The Virtual Midgard Using Company, Corp." Is this
> inhereted by subpages of root and also inherited by content?
> Doesn't seem to work for me when references from content..
> Is it possible to create a global or at least host wide
> "glossary" for just this sort of thing? (Maybe in a later
> version?) If you've ever used UserLand's Frontier, the
> Glossary was one of the most appreciated features.

I'm not exactly sure I understand what you mean. Style elements can be
defined to contain any html content to be included in the generated
page. The style elements apply to the entire site. You can also create
page elements that are used just like style elements but apply only to a
single page or a page subtree. Defaults set by style elements can be
overridden with page elements.

So you can create a set of style elements that contain phrases or other
content that is repeatedly used on the site. You cannot however use the
elements in article content without special care. Elements can normally
only be used in other elements and in page content.

> 2.) I noticed that using ":h" doesn't add the <P> container
> when it encounters carriage returns in the text. Can this be
> added? (If not now, then in a future version?)

You could use :f for that. It's quite handy!

The most common formatting specifiers are:

:p      Midgard/PHP content, executed
:h      html content, iso-latin-1 entities escaped
:t      text content, possibility to quote html material
:T      text content, everything is escaped
:f      formatted text, :t with <p> and <ul> tags
:F      formatted text, :t with <p>, <ul> and <h2> tags
:u      url-encoded

The default formatting specifier is :T. I have a more verbose
explanation (including examples!) on my laptop. I'll commit it in the
function reference as soon as I get home.

Jukka

--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org

To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]

Reply via email to