paulmason411
Posts: 127
|
| Posted: 04/12/2010, 1:25 AM |
|
Just wondering if there is anyway to display a word inside curly brakets without codecharge rendering it.
eg. i write {render_me} and nothing is displayed.
I would have thought this would work \{render_me} but it doesn't. At the moment I have to make a label to output a word with {}'s.
Any ideas would be appreciated, Thanks.
_________________
http://paulmason.name - Web Development Blog
|
 |
 |
damian
Posts: 838
|
| Posted: 04/12/2010, 3:14 AM |
|
{ { ampersand hash 123;
} } ampersand hash 125;
_________________
if you found this post useful take the time to help someone else.... :)
|
 |
 |
paulmason411
Posts: 127
|
| Posted: 04/12/2010, 5:26 AM |
|
I've tried that and it works immediately after I publish it. However if I say change a label name the html template is formatted and the { will go back to a {
_________________
http://paulmason.name - Web Development Blog
|
 |
 |
Oper
Posts: 1195
|
| Posted: 04/12/2010, 9:21 AM |
|
use a label
and change content on before show event.
_________________
____________________________
http://www.7bz.com (Free CMS,CRM Developed in CCS)
http://www.PremiumWebTemplate.com
Affiliation Web Site Templates
Please do backup first |
 |
 |
paulmason411
Posts: 127
|
| Posted: 04/12/2010, 6:15 PM |
|
Thanks Oper. I was aware of this method, just thought there might be a more elegant solution. I've actually decided to use attributes, that way I can use the same {word} multiple times quite easily.
_________________
http://paulmason.name - Web Development Blog
|
 |
 |
Oper
Posts: 1195
|
| Posted: 04/13/2010, 4:56 PM |
|
Quote paulmason411:
Thanks Oper. I was aware of this method, just thought there might be a more elegant solution. I've actually decided to use attributes, that way I can use the same {word} multiple times quite easily.
That work too :)
_________________
____________________________
http://www.7bz.com (Free CMS,CRM Developed in CCS)
http://www.PremiumWebTemplate.com
Affiliation Web Site Templates
Please do backup first |
 |
 |