![]() |
Variables in Templates
Ok, let's say I have this:
Code:
eval("dooutput(\"".gettemplate("site_templatename_v$v")."\");"); But that makes the templates very unorganized. Say I want it like this: Code:
eval("dooutput(\"".gettemplate("site_v$v_templatename)."\");"); How would I go about telling it to end it at $v and parse it correctly? |
Quick and dirty:
PHP Code:
|
Thanks filburt, forgot about trying that. Actually never thought of it. ;) Works perfectly :D
|
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:
|