Patrick:
Simply use the tag in the page that contains the text you want to
escape. e.g.
$('foo').update(r:escape_jsondiv id=barHello,
world!/div/r:escape_json);
Sean
Patrick Scheips wrote:
Hi Sean,
Thanks, that worked great for me.
What to do next in order to use the tag
:
def activate
Page.class_eval do
tag 'escape_json' do |tag|
tag.expand.to_jso
end
end
end
4) Save the file, restart your server.
Sean
Patrick Scheips wrote:
Well, I'm not sure if I really understand that.
Where do I have to enter this and how
Patrick Scheips wrote:
Thanks, Sean!
Unfortunately that doesn't work for me...
Patrick
-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:radiant-
[EMAIL PROTECTED] Im Auftrag von Sean Cribbs
Gesendet: Freitag, 5. Dezember 2008 16:40
An: radiant@radiantcms.org
Hi all,
I would like to display buttons to switch between some pictures. The button bar
should not be displayed, if there is only one picture.
It is possible to figure out how many children there are and only to perform an
action if there is just one child?
Thanks,
Patrick
Hi all,
is there a possibility to escape the HTML tags of a Radiant Page in order to
pass them (and the rest of the page, of course) to a JavaScript function (as a
parameter)?
The problem is that I cannot pass content containing closing HTML tags (/b,
/p and so on) to a JavaScript function -
)
2. Re: [ANN] Styles 'n Scripts v0.7 (Andrew Neil)
3. RSS Reader Extension and Wordpress Blogs (Patrick Scheips)
4. Re: RSS Reader Extension and Wordpress Blogs (Manuel Meurer)
5. Re: [ANN] Styles 'n Scripts v0.7 (Anton J Aylward)
6. Re: [ANN] Styles 'n Scripts v0.7 (Anton J Aylward
] Permanent Redirect to Admin Panel
Is your homepage in draft status? That would cause the situation you're
experiencing.
Sean
Patrick Scheips wrote:
Hey there,
just another problem with Radiant:
When I open the Radiant based Web Page (http://www.xyz.com:3000/) I always
get redirected
PROTECTED] Im Auftrag von Sean Cribbs
Gesendet: Mittwoch, 26. November 2008 15:38
An: radiant@radiantcms.org
Betreff: Re: AW: [Radiant] Permanent Redirect to Admin Panel
What extensions do you have installed?
Sean
Patrick Scheips wrote:
Hi Sean,
thanks for your quick reply - nope, the homepage