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:
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