Hello,
Is there a preset variable for the current theme's image dir path, or dir path to the current theme selected that can be used in the content pages/custom scriptlets?
I'm sure there is and probably am just glazing over it.
Thanks !
Variable for Current Theme Path?
- Logan Rhodehamel
- Developer
- Posts: 4116
- Joined: Wed Dec 10, 2003 5:26 pm
I have logged a bug #5978 to request an enhancement for our scriptlet variables. Ideally, you should have access to the "page" variable. I would not count on this being added before our final release. Right now, this is the best I can suggest:
/App_Themes/${Store.Settings.StoreTheme}/images
You'll have to update the path to provide any installation specific prefix that might come before App_Themes. Also, this is only good for getting the store default theme. If you are using page / category / product specific themes it will not be what you want.
/App_Themes/${Store.Settings.StoreTheme}/images
You'll have to update the path to provide any installation specific prefix that might come before App_Themes. Also, this is only good for getting the store default theme. If you are using page / category / product specific themes it will not be what you want.
Cheers,
Logan
.com
If I do not respond to an unsolicited private message, it's not because I'm ignoring you. It's because the answer to your question is valuable to others. Try the new topic button.
Logan
.com
If I do not respond to an unsolicited private message, it's not because I'm ignoring you. It's because the answer to your question is valuable to others. Try the new topic button.