I want to make a rolling header. Which rolles from right to left.
And there I would like to have the following:
The newest threads in order, including Title, Link and small description.
How would this be possible?
(2011-11-04, 01:59 PM)david42 Wrote: [ -> ]Anything is possible when you do a search
http://mods.mybb.com/view/a-clear-news-bar
Search for "news in marquee"
I saw this.
But it doesn't show the newest threads as I wanted.
This only show news which the ROOT admin will have to change manually.
And how often does that normally happens.
Old news is bad news. If you understand.
Well, is there then any way that I can show the latest threads there?
You could go to header templates and use this code
<table border="0" cellspacing="1" cellpadding="4" class="tborder">
<tr><td class="thead"><strong>5 Latest Threads</strong></td></tr>
<tr><td class="trow1">{$latest_threads}</td></tr>
</table>
<br />
(2011-11-05, 12:48 PM)Xchange Wrote: [ -> ]You could go to header templates and use this code
<table border="0" cellspacing="1" cellpadding="4" class="tborder">
<tr><td class="thead"><strong>5 Latest Threads</strong></td></tr>
<tr><td class="trow1">{$latest_threads}</td></tr>
</table>
<br />
Thanks Xchange.
But can I use this code in the PHP file?
Or any related codes?
{$latest_threads}
It works in the templates, but what about in the PHP file?
how to use this code in which file or theme, template, post here step by step