Re: [Radiant] How to create a javascript page

2009-02-03 Thread Carl Youngblood
Thanks Sean. I actually am doing this, but the edit form is causing my
minified javascript to contain carriage returns, which is causing syntax
errors. Is there any way to avoid this without using SNS?

On Tue, Feb 3, 2009 at 10:08 AM, Sean Cribbs  wrote:

> If you're not using SNS, you can create a layout that has the
> "text/javascript" or "application/javascript" content-type, put ' />' 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
>
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] How to create a javascript page

2009-02-03 Thread Sean Cribbs
If you're not using SNS, you can create a layout that has the 
"text/javascript" or "application/javascript" content-type, put 
'' 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


Re: [Radiant] How to create a javascript page

2009-02-03 Thread Jim Gay


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