Friday, May 1, 2009

Cool Sounding Diseases

Template Variables and links


The templates variables, or TVs, it's super useful to add bits of stuff in your pages. Through templates.

Consider an example of a template that displays text. Too loud. I also want there to be an image. I could load it in the WYSIWYG editor, but for reasons of convenience I want my users without difficulties, for example if I want it to load a large image to put on the ticket and a small image to set homepage. It's called a vignette)

I just create a new TV and apply the model of my choice. For example, here I choose the template image. Then nothing easier than applying a div in the template any beast with a call to my variable as [* name-of-the-variable *]. With good links I failed, it always makes me the base URL of the site. I'll have to work.

0 comments:

Post a Comment