Re: [Moonworks] Auto-Detect Folder names
Hi there.
This part will probably end up depending on how you have this all setup. Are all the elements of each them images? Like, the blue border around that whole white section. Is that just a couple different images?
If that's the case, if you make sure you have the same images with the same names for each theme, you could actually refer to them like this:
<img src="/<?php echo $record['theme']; ?>/headerImage.jpg">
<img src="/<?php echo $record['theme']; ?>/footerImage.jpg">
And this way you would actually only need one template page. Not a different template page for each theme.
Does that make sense? Let me know :).
-----------------------------------------------------------
Cheers,
Ross Fairbairn - Consulting
consulting@interactivetools.com
Hire me! Save time by getting our experts to help with your project.
Template changes, advanced features, full integration, whatever you
need. Whether you need one hour or fifty, get it done fast with
Priority Consulting: http://www.interactivetools.com/consulting/