[Radiant] rendering converting characters ... Bad Results.

2009-01-02 Thread Bartee Lamar
I am writing an extension to output images. I have an array of hashes. Each has has a comment and image keys. Example of 3rd entry in array {comments=Great pictures for a little Cannon A540 6 megapixel camera.,

[Radiant] render json data into HTML Header

2009-01-02 Thread Bartee Lamar
I am writing an extension. I have a couple of approaches. I would like to like json data, into the HTML head section. Is there any what do that from an extension ? -- Posted via http://www.ruby-forum.com/. ___ Radiant mailing list Post:

Re: [Radiant] rendering converting characters ... Bad Results.

2009-01-02 Thread Sean Cribbs
Bartee, It's likely you're filtering something with Textile, which will try to convert _some text_ to emsome text/em. If you can't turn off the filter, wrap the tag in notextile/notextile. Sean Bartee Lamar wrote: I am writing an extension to output images. I have an array of hashes.

Re: [Radiant] render json data into HTML Header

2009-01-02 Thread Sean Cribbs
In the head of the admin UI or in a page (front-end)? For the admin UI, use a block like so: - content_for :page_scripts do :plain = my_json_data For a page, you'll need to write a Radius tag that outputs the JSON you want. Sean Bartee Lamar wrote: I am writing an extension. I