[Radiant] page_attachments on non-<normal> page types
john muhl
lists at johnmuhl.com
Wed Jul 2 00:03:13 CDT 2008
On 2008/07/01, at 22:33, pixelnate at gmail.com wrote:
> On Tue, 2008-07-01 at 21:38 -0600, john muhl wrote:
>> Is there an easy way to get page_attachments working with other page
>> types, like the File Not Found or Archive types?
>
>
> Or even better, be able to attach images to the home page and have
> them
> available everywhere, or to the site itself. Like, have a page with
> all
> the attachments for sitewide consumption where you can manage them and
> be able to access them from everywhere. Maybe that's just wishful
> thinking. ;^)
What would you like to do that you can't do using the existing tags
like,
<r:find url="/assets">
<r:attachment name="some.png">...</r:attachment>
</r:find>
I'm using that setup pretty successfully on a new project. There're
just times when I need a custom page type and the client to be able to
manage attachments on that page. For example, a mailer page where the
client uploads their own headshot and vcard.
More information about the Radiant
mailing list