Vidar Berg wrote:

> First I create an active /img page, that serves the attachement by using
> arg and id. Then I create an article with an attachment. So far so good.
> 
> But, when I want to serve the attachment in the article, shit starts. It
> seems like $article->listattachments() wont find anything. 
> 
> Here is my code-init to the active page where the article is shown.
> 
> <? if ($argc == 1) $name = $argv[0];
> if ($name) $topicid = 21;
> if ($name) $article = mgd_get_article_by_name($topicid, $name);
> if ($article) $att = $article->listattachments(); ?>
> 
> The last line doesnt give me anything. Anyone got a clue?

http://www.midgard-project.org/req/midgard-1.4/mgd-method-listattachments.htm

Emile


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to