> 
> > > > I want to share one image within two hosts , not topics.
> Share in what way?
> Can you get the attachment id somehow? 

somehow? how? I should ask that question :(
Just imagine:
I got one topic and plenty of articles. Each article has at least 
one attachment so how can You get it , when only this topic' articles 
was edited with nadmin?
List topics attachments?
for what? 
what do You get that way?
all attachments, but You can not define which one is THAT ONE.
Am I right?
All I think by now is to force users to remember that , THIS article attachment 
HAS TO be named exactly as article name. 
good idea? I do  not think so.

> Give me some code so I can see a bit where you are stuck or what you want to do.

here You are:
<?
$useradmin = mgd_auth_midgard("admin!host1","pass",0);  
$newmidgard = mgd_get_midgard();  
// to get another SG rigths
$article = mgd_list_topic_articles($id);  ?> 
   <? if ($article) for ($i = 0; $i < 1 && $article->fetch(); $i++) { 
// to get the last one article
?> 
   <a href="/&(article.name);">&(article.abstract:p);</a> <?

<? unset ($useradmin); ?>

article abstract field contains only one image. What code looks like 
You could see adding any image to Your nadmin site .

Piotras



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

Reply via email to