[Radiant] page_attachments experience
Mohit Sindhwani
tech at onghu.com
Sat Jan 12 13:23:44 CST 2008
J Aaron Farr wrote:
> "Peter Berkenbosch" <peter.berkenbosch at gmail.com> writes:
>
>
>>> Sorry, but not very easy to use for the lay person client who may have no
>>> idea
>>> about radius tags.
>>>
>>> saji
>>>
>>> True, that's why I will try to patch it with some easy copy/paste URL
>>>
>> thingy. (like photobucket and the like)
>>
>
> One way I use the page_attachements extension is to create a single
> page under Root called Assets and then attach "global" files to this
> page. I can then reference them directly by URL, but it would be nice
> to have a tag that allowed for referencing of attachments of other
> pages.
>
Umm..
[1] I can't try it out right now, but I remember reading that
page_attachments searches up the tree (of parents) to find if something
matches the name.
[2] I can't try it right now, but Radiant/ Radius allow you to do a
find_by_url for a page and that switches the Radius context to the page
that you just found. After that, using page_attachments tags should
mean that they search local to the page you just found. That would
allow you to reference the attachment of the other page.
Like I said, I can't try these out right now, so I'm not sure if they
work. Sean, of course, could confirm :D
Cheers,
Mohit.
1/13/2008 | 3:23 AM.
More information about the Radiant
mailing list