![]() |
PHP variables in the replacements
To anyone who knows:
Do you know if it would be possible to have dovars() actually parse the replacements so that variables within them could be resolved? As in: { imagesfolder } => /images/$styleid I imagine it would entail moving some statements around or something, but I don't want to mess with it without soliciting the experience of someone who might know. Matt |
Try replacing this in functions.php:
Code:
return $newtext; Code:
global $styleid; |
Thanks, Double-F.
:) |
All times are GMT. The time now is 06:16 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:
|