![]() |
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> |
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:
|
All times are GMT. The time now is 03:37 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:
|