Thanks, Wayne - you've (inadvertently) solved MY problem, anyway! :-) I'd failed to "transfer element content of following pages" on the list placeholder. I guess I always forget that because it seems like the standard case - when wouldn't you want to do that? Anyway, problem solved - thanks very much.
- Bobby On Mar 31, 5:03 am, Wayne Bouwmeester <[email protected]> wrote: > I don't get the same results as Gavin. > > Class A Code: > Class A Page ID:<%inf_PageID%> > > <!IoRangeList> > <a href="<%lst_ClassBPages%>">Class B ID:<%inf_PageID%></a> > <!/IoRangeList> > > Class B Code: > <%inf_PageID%> > > Created one instance of Class A - which came out as page ID 528 > Created two instance of Class B - which came out as Page IDs 529 and > 530 > > Page A preview displays: > > Class A Page ID:528 > Class B ID:530 > Class B ID:529 > > I'm on version 9, but I've sure I've done this in version 5.5 as well. > Just make sure to check "transfer element content of following pages" > and you should be fine. > Not sure why it wouldn't be working for you. > Wayne. > > On Mar 30, 7:17 pm, "Stephane Ritchot \(SR Web Media\)" > > <[email protected]> wrote: > > Hi Gavin, > > > Quick question, can another info placeholder be used in the page? > > > ie: inf_ChildPageID is use within the block marks and inf_MasterPageID use > > outside the block marks. > > > Thanks > > > Stephane > > > SR Web Media Inc. > > > Stéphane Ritchot > > Conseiller Web > > <mailto:[email protected]> [email protected] > > > _____ > > > From: [email protected] > > [mailto:[email protected]] On Behalf Of Gavin Cope > > Sent: March-30-09 3:56 PM > > To: [email protected] > > Subject: Re: Data transfer from page in a list to its containing page > > > Also, make sure the info placeholder is not used anywhere outside the list > > block marks on the parent page. If it is, it will only report the parent > > page's ID rather than the child page's ID even though the placeholder is > > inside the list block marks. > > > Cheers, > > > Gavin > > > 2009/3/31 Bobby Jack <[email protected]> > > > 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? > > > No virus found in this incoming message. > > Checked by AVG -www.avg.com > > Version: 8.0.238 / Virus Database: 270.11.33/2031 - Release Date: 03/30/09 > > 17:56:00 --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
