@BJ,

it works for me. The content tag is also described
here: http://radiantcms.org/blog/2006/05/11/tag-primer/

The example says:
---
<r:content part="sidebar" /> → Content from the sidebar part of the page.

The part attribute (shown above) allows you to specify which part of the 
page you would like to render. When used without a part attribute the 
content tag will render the “body” part.
---


Best regards,
Andreas Semt

BJ Clark schrieb:
> @Ruben,
> I'm just trying to display the content of certain pages in other pages.
> 
> @Andreas,
> Are you sure this works for you? It's not putting anything in my page.
> I don't get an error, but it doesn't do anything either.
> 
> 
> Thanks 2 everyone,
> BJ Clark
> 
> On 1/1/07, Andreas Semt <[EMAIL PROTECTED]> wrote:
>> @Ruben,
>>
>> perhaps it's necessary to code it this way:
>>
>> ---
>> <r:find url="about">
>>    <r:if_content part="special_part">
>>      <!-- should show the page part 'special_part' of page 'about': -->
>>      <r:content part="special_part" />
>>    </r:if_content>
>> </r:find>
>> ---
>>
>>
>> Best regards,
>> Andreas Semt
>>
>> Ruben D. Orduz schrieb:
>>> I suppose I misunderstood his question. I thought he wanted to know
>>> how to access the content of a child page, but in retrospect, I
>>> realize that he just wanted to show the actual content of a child page
>>> somewhere else. I think the <r:find> tag definitely helps, but I don't
>>> know if it is able to bring specific parts of a child page or of it
>>> will retrieve the content of the whole page. I guess he could play
>>> with the DB and then do a <r:find by="fieldName">???
>>>
>>> On 1/1/07, Andreas Semt <[EMAIL PROTECTED]> wrote:
>>>> @Clark,
>>>>
>>>> ---
>>>> <r:find url="about">
>>>>    <!-- content of the 'about' page: -->
>>>>    <r:content part="body" />
>>>> </r:find>
>>>> ---
>>>>
>>>> This includes the content of the page 'about' into your actual
>>>> page.
>>>> Alternative you could write '<r:content />', because per default
>>>> the body page part is shown (or you could include self defined
>>>> page parts).
>>>>
>>>>
>>>> Best regards,
>>>> Andreas Semt
>>>>
>>>> BJ Clark schrieb:
>>>>> Hello All,
>>>>> I'm trying to display the content of a specific child page.
>>>>> Is there anyway to do this via radius tags?
>>>>>
>>>>> I realize that I can do all children  (or whatever) via
>>>>> r:children:each or :first but I need to do :specificpage and I'm not
>>>>> sure how that is done.
>>>>>
>>>>> Is there a way to do that?
>>>>> Thanks,
>>>>> BJ Clark
_______________________________________________
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to