Re: [Radiant] Sitewide Assets

2008-07-16 Thread Jim Gay
I've been thinking I'd try to tackle it, but I'm swamped and I'd love  
to see it started.


On Jul 16, 2008, at 1:47 PM, Chris Parrish wrote:

Ok, that's twice in one week (Jim Gay just asked for the same  
thing).  I don't think this tag belongs in SnS since it depends on  
Page Attachments too but a new extension for it might be nice.


Anyone willing to whip up a mini-extension that simply adds the  
necessary image tags to the Stylesheet object?  I don't imagine  
there'd be much there to do -- I'm just not familiar enough with  
Page Attachments to know its tags?


Otherwise I'll look into it in a couple of days.

-Chris

Josh Schairbaum wrote:

Sean,

That seems easy enough, I assume then that you are not using the  
Scripts N Styles extension then?  Maybe that's the extension that  
needs to be written, making page_attachments work with scripts/n/ 
styles.  I know SNS has a more 'pluggable' interface now.


Josh

On Jul 16, 2008, at 1:26 PM, Sean Cribbs wrote:


Josh,

Since things like background images are generally applied with  
CSS, I like to store my CSS in a Radiant page and then attach the  
images to that CSS page.


Sean

Josh Schairbaum wrote:
How do people handle site-wide assets like background images?   
I'd like to keep everything about the site able to be uploaded/ 
changed.  I've got the page_attachments extension, but that seems  
like it's only applicable to individual pages.


I've looked at something like the paperclipped, but that seems to  
overwrite some of the page attachments functionality.


http://github.com/kbingman/paperclipped/tree/master

I'd like to use page_attachments, so what work-arounds are  
possible for sitewide stuff, outside of having to deploy them in  
public/images/*?


Regards,
Josh

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


Re: [Radiant] Sitewide Assets

2008-07-16 Thread J Aaron Farr

Josh Schairbaum [EMAIL PROTECTED] writes:

 How do people handle site-wide assets like background images?  I'd
 like to keep everything about the site able to be uploaded/changed.
 I've got the page_attachments extension, but that seems like it's only
 applicable to individual pages.

I started created a generic Assets extension for this purpose but
ended up just using the Gallery extension.  I'd still prefer a simple
Assets extension though.

-- 
  J Aaron Farr jadetower.com[US] +1 724-964-4515
馮傑仁 cubiclemuses.com [HK] +852 8123-7905
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Sitewide Assets

2008-07-16 Thread Keith Bingman
Paperclipped is intended to replace page_attachments, I wouldn't use  
both at the same time. I wanted to use something other than  
attachment_fu, so I wrote with different functionality than either  
gallery or page_attachments. I hope that it offers something that  
these do extensions do not. I actually use all three.


There are several ways you could use page_attachments with site wide  
images. Sean's suggestion would be the easiest. Paperclipped uses the  
same file structure as paperclipped (as I had started using  
attachment_fu), so it is easy to switch if you wish.


You could also add a tab to page_attachments, gaining acces to all the  
uploaded images images...


Regards,
Keith


On Jul 16, 2008, at 7:14 PM, Josh Schairbaum wrote:

How do people handle site-wide assets like background images?  I'd  
like to keep everything about the site able to be uploaded/changed.   
I've got the page_attachments extension, but that seems like it's  
only applicable to individual pages.


I've looked at something like the paperclipped, but that seems to  
overwrite some of the page attachments functionality.


http://github.com/kbingman/paperclipped/tree/master

I'd like to use page_attachments, so what work-arounds are possible  
for sitewide stuff, outside of having to deploy them in public/ 
images/*?


Regards,
Josh
___
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