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 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 ?
_______________________________________________
Radiant mailing list
Post: [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site: http://lists.radiantcms.org/mailman/listinfo/radiant