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 ?
on 2009-01-02 18:29
on 2009-01-02 18:55
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