Hello, my end goal is to be able to edit a block using the "blocks admin" page and be able to put something like _THEME and in the final processing have _THEME represent the current theme the user has.
For use in stuff like <img src="themes/_THEME/images/header.gif">
So far I have tried all sorts of wierd things, including a "Define()" function into the header.php
Could someone point me to the correct (or a good) method for allowing custom texts' (such as _COOLVARIABLE) to be processed as another variable globably?
Ug, I hope you understood that. Let me know if it needs further clarifying.
Thanks in advance!
-Who
Evaders99 Site Admin
Joined: Aug 17, 2003
Posts: 12403
Posted:
Mon Jan 30, 2006 5:35 pm
Sorry, it won't work that way. Constant definitions can only be used in files
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum