# Symlink-like page type

**URL:** <https://www.ruby-forum.com/t/symlink-like-page-type/106271>\
**Category:** Radiant CMS\
**Created:** [June 7, 2007, 11:52pm UTC](https://www.ruby-forum.com/t/symlink-like-page-type/106271 "2007-06-07T23:52:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Andrew\_OSBrien](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/d6d6ee/32.png) [@Andrew\_OSBrien](https://www.ruby-forum.com/u/Andrew_OSBrien)\
**Post date:** [June 7, 2007, 11:52pm UTC](https://www.ruby-forum.com/t/symlink-like-page-type/106271/1 "2007-06-07T23:52:46Z")

</div>

Hi everyone,

I was wondering: what would be the feasibility of a PageType that  
could act like a symbolic link? Really what I’m looking for is a page  
whose context in the page tree structure would remain the same, but  
its contents would come from another page (and thus always be up to  
date).

Implementation-wise, I was thinking of redefining the :parts  
association proxy with some behavior that not only grabs the parts of  
the page, but also the ones from the page the link points to.

Anyone see any problems right off the bat with this or know of any  
prior work on this topic?

Thanks,  
Andrew

---

<div class="post-metadata">

**Author:** ![Andrew\_OSBrien](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/d6d6ee/32.png) [@Andrew\_OSBrien](https://www.ruby-forum.com/u/Andrew_OSBrien)\
**Post date:** [June 8, 2007, 2:55am UTC](https://www.ruby-forum.com/t/symlink-like-page-type/106271/2 "2007-06-08T02:55:03Z")

</div>

On Jun 7, 2007, at 5:51 PM, Andrew O’Brien wrote:

> I was wondering: what would be the feasibility of a PageType that  
> could act like a symbolic link?

It works very well.

[http://silverinsanity.com/~benji/radiant/alias\_page-0.2.tar.gz](http://silverinsanity.com/~benji/radiant/alias_page-0.2.tar.gz)

If you have any questions or bugs, e-mail me. 🙂

~~ Brian

---

<div class="post-metadata">

**Author:** ![Andrew\_OSBrien](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/d6d6ee/32.png) [@Andrew\_OSBrien](https://www.ruby-forum.com/u/Andrew_OSBrien)\
**Post date:** [June 8, 2007, 5:04pm UTC](https://www.ruby-forum.com/t/symlink-like-page-type/106271/3 "2007-06-08T17:04:41Z")

</div>

Oh, excellent – this looks like what I want (and how I was planning  
on doing it).

Ouot of curiousity, was there any reason why there wasn’t a link on  
Third Party Extensions page on the Radiant dev site?

Also, what’s the license? Same as Radiant (MIT)?

–Andrew

---

<div class="post-metadata">

**Author:** ![Andrew\_OSBrien](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/d6d6ee/32.png) [@Andrew\_OSBrien](https://www.ruby-forum.com/u/Andrew_OSBrien)\
**Post date:** [June 8, 2007, 11:13pm UTC](https://www.ruby-forum.com/t/symlink-like-page-type/106271/4 "2007-06-08T23:13:25Z")

</div>

On Jun 8, 2007, at 11:02 AM, Andrew O’Brien wrote:

> Ouot of curiousity, was there any reason why there wasn’t a link on  
> Third Party Extensions page on the Radiant dev site?

Because I forgot? I sent out a message to the list when I worked on  
it but then didn’t think much of it past that.

> Also, what’s the license? Same as Radiant (MIT)?

Hadn’t thought about it. _shrugs_ We’ll call it public domain. I  
should add a note to that effect.

~~ Brian
