PDA

View Full Version : Another dumb question... imgdir


testbot
02-17-2011, 06:58 PM
How would I get the default image directory from misc. I thought it was in stylevars in 3.x but it doesn't seem to be the same in 4.1.x.

This is for a plugin, not a template. Thanks! :D

Lynne
02-17-2011, 08:44 PM
It is a stylevar called imgdir_misc As a variable, you would call:
vB_Template_Runtime::fetchStyleVar('imgdir_misc')