Forums / Setup & design / Don't get the publish date and the modifier.

Don't get the publish date and the modifier.

Author Message

Thomas Schamm

Monday 06 October 2003 5:16:38 pm

Hi,
again me ;-) and I have another question:

I want to publish news with the standard ezp class 'article'. I want to show in my usertemplate who has created this article and when it was published.

I thought that this should be possible over the class attributes of article, but i can only access 5 (title, into, body, thumbnail, enable_comments). Is it possible over some fetch('content','object',...)? I don't get it, i searched the function_definition.php, but even there i didn't find a hint. I think this is not a big step, but sometimes only thinking doesn't help much ;-)

Perhaps someone could help me :-)
Thanks, Thomas

Thomas Schamm

Tuesday 07 October 2003 1:45:28 pm

I think i've got it. I viewed the details using
{content_view_gui view=text_linked content_object=$content_object.owner}
and
{$content_object.published|l10n( datetime )}

Thx to everyone, who used time thinking about an answer here.
Greetz, Thomas