Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Template tag for images?
#3
The "template tags" are special tags that perform functions: http://get-simple.info/wiki/themes:template_tags

My question was about a template tag for returning code for an image that is selectable by a user in the backend. For example, let's say I create a theme that has a banner image that I would like users to have the option of changing via the CMS admin. I don't want to hardcode the image into the template, but rather use a template tag that dynamically inserts the code for an image that the user has selected (probably using some sort of file picker) in the backend.

I haven't had the opportunity to test it yet, but it looks like the Custom Fields plugin might let me do this.
http://get-simple.info/extend/plugin/i18...ields/100/
Reply


Messages In This Thread
Template tag for images? - by Cerulean - 2011-05-12, 08:59:09
Template tag for images? - by Connie - 2011-05-12, 15:54:47
Template tag for images? - by Cerulean - 2011-05-12, 16:27:50
Template tag for images? - by sal - 2011-05-12, 17:15:38



Users browsing this thread: 1 Guest(s)