![]() |
How do I add custom stylevars?
I was wondering if anyone knows a link to more information on how to setup your own custom stylevars, for example to define a image base path.
|
use the plugin system ...
try "global_start" or "parse_templates" // custom image folders $stylevar['imgdir_custom'] = 'http://images.domain.com/custom'; |
I've found it.
You have to add the fields in hook stylevar_edit_misc PHP Code:
This is for v3.8.x. |
The stylevars are located in the template table.
|
All times are GMT. The time now is 07:00 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:
|