The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#5
|
||||
|
||||
![]()
So, my page fournisseurs.php is now finished and it works well, thanks to you
![]() Now I need, when a user is in the wanted forum, to display a select box to choose the type of product he needs. I added it to the newthread template : Code:
<vb:if condition="$foruminfo['forumid']=='7'"> <label for="subject" class="full">Produit concern? :</label> <select name="produit"> <option value="" selected="selected">Faites votre choix</option> {vb:raw template_liste} <option value="7" style="font-weight:bold; background:#EBEBE6">7</option> <option value="8" style="font-weight:italic;">8</option> </select> <br /> <font size=1> <i>Un produit "gris?" est une cat?gorie rassemblant la liste de tous SES produits, soit tous les produits en dessous de celle ci, jusqu'? la prochaine cat?gorie</i> </font> <br /><br /> </vb:if> Code:
$liste=" <option value=\"3\">3</option> <option value=\"4\">4</option>"; $templater=vB_Template::create('liste_produits'); $templater->register('liste ', $liste); $liste_produits .= $templater->render(); Code:
<option value="1">1</option> <option value="2">2</option> {vb:raw liste} ![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|