MikQuattro
10-04-2010, 08:21 PM
I created a new General Search Widget which I configured to essentially display a forum list on my home page, and that works fine. I added the following code with the intention of adding the forum statusicons to that list:
<img src="{vb:stylevar imgdir_statusicon}/{vb:raw forum.imageprefix}forum_{vb:raw forum.statusicon}-48.png" class="forumicon" id="forum_statusicon_{vb:raw forum.forumid}" alt="" />
When the little red X's appeared, I viewed the source and got this:
<img src="images/statusicon/forum_-48.png" class="forumicon" id="forum_statusicon_248" alt="" />
It's not catching the (vb:raw forum.statusicon) bit in the code, which spits out "new" or "old" in order to pick the appropriate statusicon.
Obviously I'm missing something, can someone help please? I've recieved no response whatsoever from vB.com. TY
<img src="{vb:stylevar imgdir_statusicon}/{vb:raw forum.imageprefix}forum_{vb:raw forum.statusicon}-48.png" class="forumicon" id="forum_statusicon_{vb:raw forum.forumid}" alt="" />
When the little red X's appeared, I viewed the source and got this:
<img src="images/statusicon/forum_-48.png" class="forumicon" id="forum_statusicon_248" alt="" />
It's not catching the (vb:raw forum.statusicon) bit in the code, which spits out "new" or "old" in order to pick the appropriate statusicon.
Obviously I'm missing something, can someone help please? I've recieved no response whatsoever from vB.com. TY