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

Reply via email to