Forum: Radiant CMS Rendering parts from different pages.

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Ae69a35a268082691bb320d3cfb366c3?d=identicon&s=25 Grant Blakeman (gblakeman)
on 2007-06-14 03:30
(Received via mailing list)
Is it possible to call up and render a part that exists on one page
inside
another page?

--
-Grant Blakeman
grant.blakeman@gmail.com
http://grantblakeman.com
8802b1fa1b53e2197beea9454244f847?d=identicon&s=25 Sean Cribbs (Guest)
on 2007-06-14 04:07
(Received via mailing list)
Grant Blakeman wrote:
> Is it possible to call up and render a part that exists on one page inside
> another page?
>
>
Grant,

Yes, if you know the URL of the other page.

<r:find url="/the/other/page">
  <r:content part="the_part"/>
</r:find>

Sean
6ec6f77ea603dd75b3a7a7775b059e79?d=identicon&s=25 John W. Long (Guest)
on 2007-06-14 04:07
(Received via mailing list)
Grant Blakeman wrote:
> Is it possible to call up and render a part that exists on one page inside
> another page?

It sure is. Just use the <r:find /> tag:

   <r:find url="/path/to/another/page/">
     <r:content part="extended" />
   </r:find>

--
John Long
http://wiseheartdesign.com
8f93a872e399bc1353cc8d4e791d5401?d=identicon&s=25 Mislav MarohniÄ? (mislav)
on 2007-06-14 04:19
(Received via mailing list)
Haha... Sean and John are in perfect sync!
6ec6f77ea603dd75b3a7a7775b059e79?d=identicon&s=25 John W. Long (Guest)
on 2007-06-14 04:25
(Received via mailing list)
Mislav Marohnic' wrote:
> Haha... Sean and John are in perfect sync!

What can I say? He reads my mind.

--
John Long
http://wiseheartdesign.com
Ae69a35a268082691bb320d3cfb366c3?d=identicon&s=25 Grant Blakeman (gblakeman)
on 2007-06-14 04:46
(Received via mailing list)
thanks guys!

On 6/13/07, John W. Long <ng@johnwlong.com> wrote:
> Radiant mailing list
> Post:   Radiant@lists.radiantcms.org
> Search: http://radiantcms.org/mailing-list/search/
> Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
>



--
-Grant Blakeman
grant.blakeman@gmail.com
http://grantblakeman.com
8802b1fa1b53e2197beea9454244f847?d=identicon&s=25 Sean Cribbs (Guest)
on 2007-06-14 17:52
(Received via mailing list)
If only that were true!

Sean
75ceef25624b3e44943a3b7319ba9612?d=identicon&s=25 Chris Schumann (torgo)
on 2007-06-14 18:21
(Received via mailing list)
Be very careful what you wish for, Sean.

On Thu, 14 Jun 2007, Sean Cribbs wrote:

> If only that were true!
This topic is locked and can not be replied to.