Greetings!

On Fri, 2003-03-07 at 23:53, vivaveggie wrote:
> In topics I added my own 'Author' component(field) to my 'Press 
> Release' category.  This in addition to the already predefined 
> Abstract and Content components.
> 
> I know how to reference the title, abstract and content fields;
> $news = mgd_list_topic_articles(topic->id);
>   $news->title;
>   $news->abstract;
>   $news->content;
> 
> but how do I reference my own 'Author' field (component 03).

Aegir CMS stores these as parameters. The first user-defined
component is available as:
$author = $news->parameter('field',0);
the second as field, 1, etc.

You can view them in the parameters tab of the Aegir CMS
user interface.

> Joost

/Bergie

-- 
Henri Bergius                           [EMAIL PROTECTED]
Consultant Partner                      Tel: +358-20-198 6032
Nemein Oy                               http://www.nemein.com/

Nemein.Net -- Project tracking solution for consulting companies
http://www.nemein.com/Nemein.Net/


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

Reply via email to