Contributed by..?

zDawg32 5
From: -
From: -
Notice
This topic is archived. New comments cannot be posted and votes cannot be cast.Responses to this topic
1 Re: Contributed by..?

Philipp Esselbach
From: -
Editor
0From: -
I assume you are using the old 2.0.x community edition after this is a standard feature in 2.1.x
Add the following PHP part to the news_story template:
and change the following in HTML part:
to:
You need to do the same modification in template news_story_extended as well
Add the following PHP part to the news_story template:
$posted_by = ($insert['newsstory_source']) ? "Contributed by: " . $insert['newsstory_source'] : "Posted by: " . $insert['newsstory_author'];
and change the following in HTML part:
Posted by: {$insert['newsstory_author']}
to:
{$posted_by}
You need to do the same modification in template news_story_extended as well
1 Re: Contributed by..?

zDawg32
OP
5
From: -
From: -
Not sure. An old .ZIP I had on my Hard Drive.
1 Re: Contributed by..?

Philipp Esselbach
From: -
Editor
0From: -
Which version are you using?
How can I add who contributed the news story in the news_story template?