The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Difficulty Getting Statusicons To Display in Widget
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:
Code:
<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="" /> HTML Code:
<img src="images/statusicon/forum_-48.png" class="forumicon" id="forum_statusicon_248" alt="" />
Obviously I'm missing something, can someone help please? I've recieved no response whatsoever from vB.com. TY |
#2
|
|||
|
|||
A respectful bump...
|
#3
|
||||
|
||||
And did you do anything to the query to make sure this information is even available to output the statusicon?
|
#4
|
|||
|
|||
Hi Lynne....thanks so much for your reply.
No, I did not, all I did was what I posted above. I assumed (sorry, I know that's a bad thing to do) that since it's all meshed in with vB that the variables would be available for the CMS files, and I also assumed that since the CMS outputs the forum info fine, that it *should* output the statusicon data also. So, I guess my next question would be if the variable isn't available for the widget, can you tell me how to make it so? |
#5
|
|||
|
|||
Just wanted to add to my question that I have searched to try and find the answer to my question and have not found anything. I would really appreciate an answer, or at least a bump in the right direction....
|
#6
|
||||
|
||||
Probably go look at packages/vbcms/widget and find the widget you are using and check the query there.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|