On Thu, 13 Apr 2000, Sean D. Ackley wrote:

> I have style elements that define the title of the page, description, keywords, etc. 
> Just like the demo site.
> 
> I am putting in the same code into the style, like:
> 
> <title><? 
> if ($article) { 
> ?>&(article.extra1);<? }
>  elseif ($topic) { 
> ?>
> &(topic.name);<? 
> } else { 
> ?><(title)><? } 
> ?></title>
> 
> But, when I display the article (I use the get_article_by_name) routine,
> the title only displays the 3rd <(title)>, not the articles title (or in
> my case the extra1).
> 
> 1. What code should I use, or how can I make sure the style is pulling
> the right information from the actual article?

What code do you have in code-global or code-init to fetch the article?

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