Thanks Sean!

Perfect tip.. I think that will suffice for now.

Peter.

On 6/20/07, Keith Bingman <[EMAIL PROTECTED]> wrote:
>
> This is a great idea. I have been playing around with the
> attachment_fu database library (which isn't exactly finished). You
> have to build your own path conrollers and helpers and such, but it
> does work nicely. This combined with CSS images would make for a
> completely databased website.
>
> Incidently, I got the Radiant system to cache the images quite
> nicely. Would this be the preferred method to cache the images on the
> filesystem or should I stick to normal rails caching? My gut instinct
> tells me to go with the radiant system.
>
> Keith Bingman
> Tel: +49-7731-79838380
> [EMAIL PROTECTED]
> http://keithbingman.com
>
>
>
>
> On Jun 20, 2007, at 3:15 PM, Sean Cribbs wrote:
>
> > Peter Berkenbosch wrote:
> >> Hi Sean,
> >>
> >> I was wondering, how hard should it be to extend the scope of the
> >> page_attachment extension to also include layouts?
> >>
> >> I'm working on a layout atm, and it has some images (like a logo etc)
> >> and a flash file etc. I think it should be really helpfull if you can
> >> simply upload files in the layout context.
> >>
> >> Just a thought, perhaps it''s a nice excersice for me to try it
> >> myself.
> >>
> >>
> >> Peter Berkenbosch
> > Peter,
> >
> > It's very possible!  When I designed page_attachments I realized that
> > this might be a need.  Basically what happens is, if the attachment is
> > not found in the current page, it searches its parents recursively
> > until
> > the root page is reached. So you can use files attached to the root
> > page
> > in any page in the site.  If your images are essentially background
> > images, you could attach them directly to the relevant CSS page,
> > rather
> > than in root page.
> >
> > Sean
> > _______________________________________________
> > Radiant mailing list
> > Post:   [email protected]
> > Search: http://radiantcms.org/mailing-list/search/
> > Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
>
> _______________________________________________
> Radiant mailing list
> Post:   [email protected]
> Search: http://radiantcms.org/mailing-list/search/
> Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
>



-- 
met vriendelijke groet,

Peter Berkenbosch
_______________________________________________
Radiant mailing list
Post:   [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to