Video Icon in Article Title?
ReviewStud 135
From: -
From: -
Notice
This topic is archived. New comments cannot be posted and votes cannot be cast.Responses to this topic
1 Re: Video Icon in Article Title?
ReviewStud
OP
135
From: -
From: -
Just what the Doctor ordered. It's a nice addition.
1 Re: Video Icon in Article Title?
Philipp Esselbach
From: -
Editor
0From: -
1) Add an extra field:
News => Manage Extra Fields => Form field => Enter "Video Icon,No,Yes" in the form and select "drop down option"
2) Edit the template news => news_story and add the following PHP part to the template:
Replace images/video.gif with the location of your video image
Finally, add {$video_icon} to the HTML part, where the image should appear.
News => Manage Extra Fields => Form field => Enter "Video Icon,No,Yes" in the form and select "drop down option"
2) Edit the template news => news_story and add the following PHP part to the template:
$video_icon = ($insert['newsstory_extra1'] == "Yes") ? "<img src=\"images/video.gif\" alt=\"\">" : "" ;
Replace images/video.gif with the location of your video image
Finally, add {$video_icon} to the HTML part, where the image should appear.
Is there a way to add an icon at the end of the article title or next to the "Comments" to signal that there is video attached to the article. This could be an option you click when adding an article.