Re: [Radiant] Re: Re: [Radiant-Dev] [ANN] Styles 'n Scripts Extension

2008-05-28 Thread nurilized
good work, i appreciate your effort.

i dont know pitfalls.. but it would be better if we could throw csses and
javascripts between head tags no matter where they are called from..

secondly, looks like there is almost no difference between inline and other
way.. in inline mode it adds html comment tags other way just include the
way i write it if i dont add script / tags it just dumps everything to the
page.

it must wrap codes if there is no header tag

On 5/28/08, Steven Southard [EMAIL PROTECTED] wrote:

 I must admit that assets that don't happen to include images  is a bit
 long.  I kind of like text assets.  That kind of opens it up to include
 other types of files that people may want to put there like .xml or maybe
 even a .as file.  One thing that would be nice about putting them together
 is that you could then make use of a file type combo box.  That would fill
 out the page a bit and give a person a little more to do.  Also those lovely
 icons would have a chance to help you sort out your file types.

 -Steven

 On May 27, 2008, at 8:50 PM, Chris Parrish wrote:

  Thanks for the feedback Steven.  I'm really interested in making this a
 usable extension for all.

 I always used pages for my js and css files too and, like you, never had
 more than a handful of each -- it wasn't much of a bother to do.  So, when
 John first mentioned the idea to me I really only saw one or two valid
 reasons for such an extension (for instance, I found it difficult to explain
 to users why they had to create a blank layout for a stylesheet just to set
 the content-type).

 Now that I've been working on it, I see *many* good reasons to go this
 route (my current favorite is the server and browser caching benefits -- I
 *love* the idea of not having to expire and reserve all stylesheets and
 javascripts every 5 minutes).

 As to the multiple tabs, yeah, I'm with you.  Originally I think John
 envisioned something like an Assets tab where CSS, JS and image files
 could all reside but Radiant hasn't settled on an image asset approach just
 yet.  And without images, what do you call the tab -- Text Assets?  CSS 
 JS?  Assets-That-Don't-Happen-To-Include-Images?  Actually, my original
 mock-up for this extension had one tab (called Files) but I still kind of
 choked on that vague name.

 Anyway, for now, John just suggested keeping two tabs and waiting to see
 how things progressed.  In the interest of minimizing tab space, I did
 choose to name them CSS and JS instead of Stylesheets and Javascripts.
  Plus, your standard-level users never see the tabs anyway so it looks clean
 to them.

 I certainly welcome any ideas/suggestions here. Its a fairly
 straightforward design but nothing's set in stone.

 -Chris


 Steven Southard wrote:

 I just tried out your extension.  Nice idea.  I've always liked how the
 css file was exposed under pages but I really hadn't thought of it having
 it's own section either.  Also, I've always wondered where to put my js
 files.  I usually just tucked them in the javascript folder and referenced
 them. This gives them a proper place.   I mostly only use one stylesheet per
 website so it seems a bit overkill.  Not to be stingy with my tabs, but I
 think I'd like it better if the css and js pages were both under one tab.
 I'm looking forward to seeing what becomes of this extension.

 Thanks,

 Steven



 On May 27, 2008, at 1:28 PM, Chris Parrish wrote:

  nurilized wrote:

 is there any way to call js/css files from anywhere of the page/layout?
 suppose, i use one template and many subpages?
 but i use different/extra css/js files on subpages (and also common),
 for
 example i will use accordion script on a subpage and putting this on
 template or on header snippet is nonsense
 so i am looking for a way to call these files from inside page/layout

  I just released version 0.3 of this extension and you will now find
 tags to do just this. For instance:

 r:stylesheet name=my_stylesheet /

 produces:

 your stylesheet content

 Or, if you want to be more fancy, try:

 r:stylesheet name=my_stylesheet as=inline /

 and get:

 style type=text/css
 !--
 your stylesheet content
 --
 /style

 The same works with the r:javascript tag.

 -Chris
 ___
 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


 ___
 Radiant mailing list
 Post:   Radiant@radiantcms.org
 

Re: [Radiant] Re: Re: [Radiant-Dev] [ANN] Styles 'n Scripts Extension

2008-05-28 Thread nurilized
 Not sure I follow you. What do you mean by no matter where they are
called from?

i called r:javascript name=xyz.js / from the content form
and it dumped everything in the place where i called it (inside body tag)
but i say it would be better if it is placed  between head tags (but there
could be some pitfalls to do this tho)


 also why not add a feature that will give just the src link for js/css
files
am i missing something?
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Re: Re: [Radiant-Dev] [ANN] Styles 'n Scripts Extension

2008-05-28 Thread nurilized
thank you

that was helpful.
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Re: Re: [Radiant-Dev] [ANN] Styles 'n Scripts Extension

2008-05-28 Thread nurilized
why dont you git?

On 5/28/08, Chris Parrish [EMAIL PROTECTED]
wrote:

 I've just checked in a version (trunk -- not tagged) that adds
 r:javascript name=xyz.js as=link / (same for stylesheet) which renders
 a link to the external javascript or stylesheet.  Stick a bunch of those in
 your page parts and reference the part from your layout.

 I'll roll the whole thing into a 0.3.1 release some time tomorrow.

 -Chris

 nurilized wrote:

 thank you

 that was helpful.
 ___
 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] Re: Re: [Radiant-Dev] [ANN] Styles 'n Scripts Extension

2008-05-28 Thread Chris Parrish
I've just checked in a version (trunk -- not tagged) that adds 
r:javascript name=xyz.js as=link / (same for stylesheet) which 
renders a link to the external javascript or stylesheet.  Stick a bunch 
of those in your page parts and reference the part from your layout.


I'll roll the whole thing into a 0.3.1 release some time tomorrow.

-Chris

nurilized wrote:

thank you

that was helpful.
___
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] Radiant 0.6.7, Multi-site, Dreamhost and Passenger

2008-05-28 Thread Bjørn Michelsen
On Sun, May 25, 2008 at 10:33 AM, Casper Fabricius [EMAIL PROTECTED]
wrote:

Hello,

I can update the wiki entry on running Radiant on Dreamhost, if you don't
 mind it being without the use of the gem (never seen the point of using the
 gem), and with a Capistrano recipe added.


If you find the time to update the wiki, that would nice as your post is a
good how-to.

Just to clarify, I'm starting to take a special interest in the wiki
content, but I have no authority there.

-- 
Sincerely,
Bjorn Michelsen
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Re: Re: [Radiant-Dev] [ANN] Styles 'n Scripts Extension

2008-05-28 Thread John W. Long

On May 28, 2008, at 1:15 PM, Chris Parrish wrote:

nurilized wrote:

why dont you git?


You guys are killing me.  John's pushing me there today too ;-)

For the record, I use Windows and Eclipse (Aptana's RadRails) to do  
my development.  I'm used to, and like both very much.  Right now, I  
can do all my source code control right in my IDE wonderfully --  
visually see which files have changed, apply properties, commit,  
update, etc.


Unfortunately git support is weak for Windows and weaker still for  
Eclipse.  So I'm going to have to figure out a new workflow to use  
my IDE and git as an external tool in order to make the switch.


It'll probably happen eventually but I've got enough irons in the  
fire already for now.


The killer thing about git in my mind is Github. It makes it super  
easy to push changes back and forth on projects. I'd highly recommend  
sitting through the Peep Code screencast if you haven't already.


--
John Long
http://wiseheartdesign.com
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


[Radiant] [ANN] Styles 'n Scripts v0.3.1

2008-05-28 Thread Chris Parrish

Minor release with a few improvements and a new feature:

   * Moved templates to Haml (niiicccee markup) so you'll need Radiant
 0.6.7
   * Added as=link option to the r:stylesheet and r:javascript
 tags to render an external link via link or script tags,
 respectively.
   * Fixed the as=inline option to wrap the stylesheet or javascript
 content in CDATA (previously I had just used commenting) so now
 we're sure to be (X)HTML compliant and your users don't have to
 know about any of that stuff.

Get it while it's hot...
https://secure.svnrepository.com/s_swanki/open/radiant/extensions/styles_n_scripts/tags/v0.3.1

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


Re: [Radiant] RailsConf plans

2008-05-28 Thread Sean Cribbs

RailsConf attendees who want to talk to me:

I caved and am finally on Twitter.  Please follow seancribbs to learn 
where to find me.


Sean

Victor Cosby wrote:
I'm trying to find a room share for Thursday thru Sunday. Anyone have 
a spare bed that would like to split the cost?


Thanks,
Victor

Sent from my iPhone


Victor Cosby
Independent Software Consultant and Web Developer
Cosby Ventures LLC
t. 206.399.0971
e. [EMAIL PROTECTED]
http://www.cosbyventures.com

On May 27, 2008, at 5:19 AM, Sean Cribbs [EMAIL PROTECTED] wrote:

I posted on the Radiant blog various things that are happening at 
RailsConf this week in Portland for Radiant people.  I look forward 
to meeting some more of you there.  I had a great time last year and 
this year promises to be just as fun.  If you want to meetup, come to 
the code drive, BoF or ping me via IRC or IM.  Here's some contact info:


Skype/GoogleTalk: seancribbs
IRC: seancribbs in #radiantcms on Freenode

Of course, you can always email me at this address.

Sean

___
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