![]() |
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 |
A respectful bump...:)
|
And did you do anything to the query to make sure this information is even available to output the statusicon?
|
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? :) |
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....
|
Probably go look at packages/vbcms/widget and find the widget you are using and check the query there.
|
All times are GMT. The time now is 12:56 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|