The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Textarea in admincp to dropdown in template
I have an option in the admin panel that uses a textarea to display a list of teams. I am trying to insert it into a drop down menu. Here is what I have. If I just put {vb:raw vboptions.cisteamlogo} into the template it list everything separated by a comma.
<select name="team_logo" class="primary" title="team_logo" tabindex="1" />{vb:raw vboptions.cisteamlogo}</select> |
#2
|
||||
|
||||
first you're gonna need to explode the setting and register it to the template you're trying to use
PHP Code:
then in you're template you can do something like: PHP Code:
|
Благодарность от: | ||
AndrewSimm |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|