PDA

View Full Version : {vb:stylevar body_color} in PHP


Valter
02-20-2010, 09:28 AM
Is there a way to get this value in php?

{vb:stylevar body_color}

$stylevar[body_color] does not work.

ForumsMods
02-20-2010, 09:36 AM
Use this:
vB_Template_Runtime::fetchStyleVar('body_color')

Valter
02-20-2010, 09:50 AM
Great, Thanks!