[SOLVED] Escape { Topic is solved

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
JeremyBASS

[SOLVED] Escape {

Post by JeremyBASS »

how dose one escape { or }

tryed \{ +{ ... looked it up on google... any ideas...
here is the line is it matters

Code: Select all

<input type="hidden" value="{B011D741-32A3-42C9-B124-749B67AFE050}" name="group_id_1"/>
thanks
Last edited by JeremyBASS on Tue Apr 01, 2008 9:48 pm, edited 1 time in total.
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: Escape {

Post by Nullig »

Enclose it in {literal} {/literal} tags.

Nullig
JeremyBASS

Re: Escape {

Post by JeremyBASS »

thats a big duh... i so was not thinking... thanks for the v8
henglein
New Member
New Member
Posts: 3
Joined: Wed Apr 16, 2008 10:21 am

Re: Escape {

Post by henglein »

Nullig wrote: Enclose it in {literal} {/literal} tags.
Writing "{ldelim}" to escape "{" seems to work, too.
JeremyBASS

Re: [SOLVED] Escape {

Post by JeremyBASS »

{ldelim} ??? so how would that work?

Code: Select all

<input type="hidden" value="{ldelim}{B011D741-32A3-42C9-B124-749B67AFE050}{/ldelim}" name="group_id_1"/>
???

or

Code: Select all

{ldelim}<input type="hidden" value="{B011D741-32A3-42C9-B124-749B67AFE050}" name="group_id_1"/>
???

Any ideas are great...
Pierre M.

Re: [SOLVED] Escape {

Post by Pierre M. »

I bet l is for left so you need ldelim and rdelim. Pure extrapolation :-)

Pierre M.
alby

Re: [SOLVED] Escape {

Post by alby »

JeremyBASS wrote: {ldelim} ??? so how would that work?

Code: Select all

<input type="hidden" value="{ldelim}{B011D741-32A3-42C9-B124-749B67AFE050}{/ldelim}" name="group_id_1"/>
???

or

Code: Select all

{ldelim}<input type="hidden" value="{B011D741-32A3-42C9-B124-749B67AFE050}" name="group_id_1"/>
???

Any ideas are great...
{ldelim} and {rdelim} are used for escaping single template delimiters
Use {literal}{/literal} to escape blocks of text eg Javascript or CSS.

Alby
Post Reply

Return to “CMSMS Core”