AW: AW: AW: AW: [Radiant] Escaping HTML Tags

2008-12-10 Thread Patrick Scheips
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

AW: AW: AW: [Radiant] Escaping HTML Tags

2008-12-09 Thread Patrick Scheips
: 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

AW: AW: [Radiant] Escaping HTML Tags

2008-12-08 Thread Patrick Scheips
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

[Radiant] Check how many children and only perform action if there is one child

2008-12-05 Thread Patrick Scheips
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

[Radiant] Escaping HTML Tags

2008-12-05 Thread Patrick Scheips
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 -

[Radiant] RE: RSS Extension with Wordpress Blogs - Bug

2008-11-26 Thread Patrick Scheips
) 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

AW: [Radiant] Permanent Redirect to Admin Panel

2008-11-26 Thread Patrick Scheips
] 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

AW: AW: [Radiant] Permanent Redirect to Admin Panel

2008-11-26 Thread Patrick Scheips
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