Corbin Harris wrote:
> 
> This is a newbie question, I didn't info on Midgard's site.  How do I create
> links from one page to another within the content?  Do I have to create a
> HREF or is there a way to dynamically assign the URL path to another page
> within the site, e.i. a drop-down menue that lists the pages within the
> site.  Can javascript or PHP do this so I can underline text that I want as
> a link then assign the linked page.

You can use any text (including HTML) you like in the articles. How that
text will be displayed depends on the modifiers you use for the
inclusion
code.

Usually, you see content displayed with &(varname); and I believe this
defaults
to HTML. The tag can take these modifiers:

&(varname:p);
  execute the code in varname (assume it's php code, may include html)
&(varname:u);
  mark up varname as URL. If $varname =
"http://www.midgard-project.org/" then &(varname:u);
  would expand to <a
href="http://www.midgard-project.org/">http://www.midgard-project.org/</a>
&(varname:f);
  mark up formatted text. Empty lines will be replaced with <P> will
automatically, and you
  can include HTML markup in [<...>] delimiters (anything between those
will be passed unchanged
  with the [< and >] removed. It does a great lot more but for the life
of me I can't find
  the markup parser.
&(varname:h); text is included as HTML

Emile

--
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