Log in

View Full Version : where is the value template_templates used?!


Dionysis
04-19-2005, 11:26 PM
in includes/adminfunctions_template.php

in the function print_style

there is the dropdown option list with name=\"styleEdit_$printstyleid\"
and value=\"template_templates\">" . $vbphrase['edit_templates']. which shows all the templates if you click on it.

my question is where the hell is the code that grabs the name/value pair and returns the command to show all the templates?

I'm trying to seperate the templates into 2 or more groups (probably an array) and i want to change the value=template_templates to something w/ a variable and have it only return that group of templates at a time.

any one have experience w/ the template manager? help please?

Dionysis
04-22-2005, 07:26 PM
c'mon,someone has to have some experience w/ the option menu's inside Vbulletin????

ok i tracked down the problem to this peice of code:

onchange=\"Sdo(this.options[this.selectedIndex].value, $styleid);\"

problem is, i can't find what "Sdo" does anywhere on google.

Dionysis
04-24-2005, 08:49 AM
nm. i looked through the javascript's and found it.

cool setup for the code, i think. but a pain to try to figure out.