The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#7
|
||||
|
||||
![]()
thanks jumpd, i actually acheived what i want through the use of inserting an if...else statement to change the controls for the <if> statements within the template.
Problem I am having now however is that the first instance of the $artisttype var (which occurrs in the first group of artisttypes) is not outputting the correct value for those artisttypes. Here's my php now... PHP Code:
HTML Code:
<if condition="$isnewtype"> </tr> </table> </td> </tr> </table> <br> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <tr> <td class="tcat">$artisttype $vbphrase[artists]</td> </tr> <tr> <td class="alt1" align="left" width="100%"><a name="$artisttype"></a> <table> <tr valign="top"> </if> <td class="ercshowartists" align="center"> <a href="artist.php?do=artist&artistid=$artist[artistid]"> <img src="forum/modules/erc_thumbnailimage.php?artistimageid=$artist[artistimageid]&width=220" alt="$artist[artisttitle]" border="0"> </a><br><br> $artist[artisttitle] $choicecounter </td> <if condition="$newrow == 1"> </tr><tr valign="top"> <td><img height="4" src="$vboptions[bburl]/clear.gif"></td> </tr><tr valign="top"> <else /> <td><img width="4" src="$vboptions[bburl]/clear.gif"></td> </if> HTML Code:
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <tr> <td class="tcat">$artisttype $vbphrase[artists]</td> </tr> <tr> <td class="alt1" align="left" width="100%"><a name="$artisttype"></a> <table> <tr valign="top"> $artists </tr> </table> </td> </tr> </table> ![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|