Forums

This topic is locked

Tagging Template Variables

Posted 08 Jan 2007 15:22:30
1
has voted
08 Jan 2007 15:22:30 sammy snake posted:
Hi there not sure if this is possible in Dreawmweaver but I might as well ask..

I am using Phpbb template class for my own project not related to phpbb for handling templates and variables. Basically on the templates where you want to place a variable you just put it between squiggly bracks {}, for example {MYVAR}. Then in the php code you will associate a value to the variable MYVAR and when it parses the template it will replace values. Anyways when I am designing my templates in Dreamweaver the fact that it doesn't colsolidate the variable text into the way it does with PHP code or an Anchor tag where it just replaces all the text with a small icon.

So to sum up, I am looking for a way to change the text {MYVAR} into a small icon <img src="int64.syndsys.net/php.gif" border=0> so it doesn't mess up my design view.

Here is an example of how it's messing it up:
int64.syndsys.net/dreamweaver.gif

It would be awesome if I could it to just replace that variable text with icons.

Is this possible?

DW8 | PHP | MYSQL

Edited by - syndsys on 08 Jan 2007 15:23:13

Reply to this topic