curly bracket problem in form footer text

mahmoodee

Member
Hello,
I am using this code in form footer text
Code:
{edit: {fabrik view=list id=27 class___name=[class___name_raw] showfilters=0}}
It work fine in 'edit' mode , but it show '}' in 'new' mode.
It must not show anything in 'new' mode.
How I can remove '}' from form footer in 'new' mode?
thank you
 
Have you tried replacing those inner {} with []? The problem is probably that you have nested {}, which causes issues with the regular expressions we use to parse that stuff.

Code:
{edit: [fabrik view=list id=27 class___name=[class___name_raw] showfilters=0]}

We replace all [] with {} inside the outer {}.

-- hugh
 
Have you tried replacing those inner {} with []? The problem is probably that you have nested {}, which causes issues with the regular expressions we use to parse that stuff.

Code:
{edit: [fabrik view=list id=27 class___name=[class___name_raw] showfilters=0]}

We replace all [] with {} inside the outer {}.

-- hugh
yes I tried but it didn't worked in edit mode , it show this text instead of the list :

[fabrik view=list id=27 class___name=44 showfilters=0]
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top