Wayne Bouwmeester wrote:
> Yes, make it an info element in each page.
> That way if you use pages from class A on some other list, it will
> work there as well.
> Make sure the Page ID field is within the list block markers on class
> B
>
> On Mar 30, 12:09 pm, Bobby Jack <[email protected]> wrote:
>   
>> Wayne Bouwmeester wrote:
>>     
>>> Create an info element of type page id on class B
>>> name it info_PageID
>>> create the same element on class A (same name)
>>> use the element within your list block markers and it will display the
>>> page ID of the current page in the list loop.
>>> Use it outside the block markers, it will display the ID of the
>>> current page you're viewing.
>>> Wayne.
>>>       
>>> On Mar 30, 8:51 am, bobbykjack <[email protected]> wrote:
>>>       
>>>> For some reason, every time I try to do this, I struggle. So, can
>>>> someone please give a definitive answer; I'll keep a record of it this
>>>> time, I promise!
>>>>         
>>>> So, I have a page (A) containing a list (lst_items). That list
>>>> contains a number of pages, let's say one of them is B. I need to get
>>>> B's page ID and display it in A.
>>>>         
>>>> I definitely need:
>>>>         
>>>> <!IoRangeList>
>>>> <!-- <%lst_items%> -->
>>>> ... some content ...
>>>> </!IoRangeList>
>>>>         
>>>> and I'll need some kind of transfer element or same-named element
>>>> somewhere. Any ideas?
>>>>         
>>>> - Bobby
>>>>         
>> Thanks, Wayne. That's what I have, but it's only displaying the parent
>> ID's page in the list loop. Should the elements be of exactly the same
>> type (e.g. Info, PAGE ID) or should one be a transfer?
>>     
> >
>
>   
Hmmm ... that's what I have: still doesn't work. Does the element need 
to be copied+pasted somehow? The marker should be an 'IORangeList', right?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/RedDot-CMS-Users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to