PDA

View Full Version : replycount conditional in header


iglobal
09-01-2011, 07:38 AM
I am trying to make the following work in the header, and I just can?t:

<vb:if condition="$thread[replycount] == 0">

Please, if anyone, I would really appreciate

kh99
09-01-2011, 08:14 AM
The problem is that there's no $thread available in the header template. Also, the header is used on a lot of pages and not all of them have one thread associated with them. Is this something you only want on certain pages?

iglobal
09-01-2011, 08:36 AM
it should be appear on the header because it is intendeed to add a nofollow to those threats without answers