Quote:
Originally Posted by Katman
So for the others trying to make this work the following is what was wrong with the original code, this > condition="in_array($forum['parentid'] should really be this > condition="in_array($forum['forumid']
HTML Code:
Wrong:
<if condition="in_array($forum['parentid'], array(XX,XX,XX))"><img src="$stylevars[imgdir_misc]/$forum[forumid].gif" alt="$forum[title]" border="0" vspace="2px" hspace="2px" align="left"/></if>
Right:
<if condition="in_array($forum['forumid'], array(XX,XX,XX))"><img src="$stylevars[imgdir_misc]/$forum[forumid].gif" alt="$forum[title]" border="0" vspace="2px" hspace="2px" align="left"/></if>
|
wow how disrespectful are you, you carry on liek this and you'll make me swear.
Quote:
Originally Posted by Original Release Post
if you want it to appear for all forums, remove the conditional, you can also just change the conditional to suit your needs better, the XX's in the conditional are to be replaced by the parentid's of your desire. the parentid is just the forumid of the catergory.
|
if anyone doesn't know the difference between forumid's and categoryid's then the problem is on their end in the understanding department and that's what this thread is here to help them with, if you want forumid's you change the conditional to relfect that yourself, i'm a man can't be arsed with specific forums when i want a whole category to have images and thus i released according to
my needs.