Hi.
I would like to change the navigation bar this way:
if there is a new post the "New Posts" will be highlighted,
and if there is no new one the link should be changed into "Nothing new" or something like that.
so
i´ll have to search for this template part:
to:
but to change this the way i want, i´ll have to know the conition for new threads and how this works.
Is there a condition that works this way ?
thanks anyway
I would like to change the navigation bar this way:
if there is a new post the "New Posts" will be highlighted,
and if there is no new one the link should be changed into "Nothing new" or something like that.
so
i´ll have to search for this template part:
HTML Code:
<vb:if condition="$show['member']"> <li><a href="search.php?{vb:raw session.sessionurl}do=getnew&contenttype=vBForum_Post">{vb:rawphrase new_posts_nav}</a></li> <vb:else /> <li> <a href="search.php?{vb:raw session.sessionurl}do=getdaily&contenttype=vBForum_Post">{vb:rawphrase todays_posts}</a></li> </vb:if>
HTML Code:
<vb:if condition="$?????"> <vb:if condition="$show['member']"> <li><a href="search.php?{vb:raw session.sessionurl}do=getnew&contenttype=vBForum_Post">{vb:rawphrase new_posts_nav}</a></li> <vb:else /> <li> <a href="search.php?{vb:raw session.sessionurl}do=getdaily&contenttype=vBForum_Post">{vb:rawphrase todays_posts}</a></li> </vb:if> <vb:else /> nothing new </vb:if>
Is there a condition that works this way ?
thanks anyway
Comment