![]() |
how to add drop down list in vb?
hey guys,
i apologize in advance if this question have been asked before. I'm trying to create a new page in my vb forum and add few options etc. I've gone through the tutorial on how to create a new page within vb forum and i've been successful so far. I just wondering how can i add textfields, drop down lists (combo box) and buttons etc. I know how to create a form in html and link it to javascript. But i was wondering if there's already built in code then how can i link my code to it? For example, i've seen that in forumjump template, it uses the form and then in one of the optiongroup it calls $forumjumpbits and in other templates i also noticed calls to $somethingbits. Another example is $quickchooserbits or $postbits etc. I was wondering what are these, different classes and how i can create one like this? thanking in advance |
You can put any HTML you want in your templates....Such as the form fields you want.
|
basically what it does is this. You have your php script and you would assign a variable as a template.
So you can do something like $header = header_template $content = Content_template then at the end you could out your entire page. print(entire_page_template) in your entire page template you can pass those variables down, so your entire page template may just be $header $content $footer etc.... So when you see those variables in the templates they are being passed from the server in a php script. Thats just a simple way of putting it. |
^thanks for this info, never mind the other questions i asked earlier. I've figured out myself, thanks though
|
All times are GMT. The time now is 06:56 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:
|