> A really basic question. I've seen references to current article
> or topic on several places in the midgard code:
It is basic but it is "power basic" midgard functionality ;)
> if ($article)
> {
> ?>&(article.title)<?php
> } ?>
>
> But I can't seem to find a similar referens to the current
> page. How do I get that without knowing the id. I'm trying to use
> it in my styles so I don't want to reference a specific id like
> the mgd_get_page(id) function.
>
> How can I find out what variables and objects that are declared in
> different situations? Ie, are there more than $article and $topic
> that are automagically created by midgard?
This article or topic was not created automagically.
You can not use &(object.name); syntax without getting this object.
If You want to use it with page You HAVE TO call mgd_get_page.
Piotras
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]