If you're not using SNS, you can create a layout that has the "text/javascript" or "application/javascript" content-type, put '<r:content />' in the content box, and then apply the layout to a page that contains your Javascript.

Sean

Jim Gay wrote:

On Feb 3, 2009, at 11:40 AM, Carl Youngblood wrote:

I'm setting up a new Radiant site and trying to maintain all my assets in the web interface rather than uploading stuff like javascript and images to the server separately and just referring to them. I'm using the paperclipped
extension.
Anyway, what is the right way to create a javascript file? I've created one
as a page, but the interface seems to be wrapping long lines, which is
causing problems for a minified javascript that I'm trying to use.

Thoughts?

Thanks,
Carl

Try
http://ext.radiantcms.org/extensions/53-sns
http://ext.radiantcms.org/extensions/54-sns-minifier


_______________________________________________
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


_______________________________________________
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to