Stefan, Thanks a lot for such a detailed reply. I always thought that I could use multiple lists in the same page but for whatever reason, it wasn't working for me. I'll check my code again to see what was I doing wrong.
Speaking of questions, I have one more :) (sorry, I'm just getting started with this stuff) - Is it possible to have duplicate items in the list ? For example, I created a list of links that point to different pages of the website. Some of these links point to the same page (their title/headline is different) so when I do "connect to existing page" it only allows me to connect to that page once. After that if I repeat the process, it does not create the link. Is there a work around for this ? Thanks ________________________________ From: Stefan Buchali <[email protected]> To: RedDot CMS Users <[email protected]> Sent: Wednesday, July 29, 2009 3:15:02 AM Subject: Re: Multiple list in same page many questions ... :-) there are two ways to use a list: a) to simply create a link list b) to transfer content from the linked pages to the page containing the list ... well, a third way would be to combine them, but imo your task can be solved with b. So to give you some quick answers: 1) A content class can contain as many lists as you want. Just make sure that every list is wrapped correctly by its own list block marks. Using more than one list element within one list block mark will cause an error, as the list block marks indicate that part of the code that will be repeated for each page connected to the list. So there must be a 1:1 relation. But you can use THE SAME list element between its list block marks as often as you need. 2) You can use the same list element as often as you need on your page, e.g. for first counting the entries via PreExecute (list block 1) and then for outputting them (list block 2). Just make sure that every single purpose to use the list has its own list block marks as explained above. 3) You can use other elements within a list block mark. This can result in these two behaviours: 3a) If the element exists only in the page of the list, it will be repeated just like the other code within the list block marks for every entry of the list. 3b) If the element exists both in the page of the list and in the page (s) connected to the list, and if the list is set to transfer elements, then the content of each linked page will be displayed. Hope that helps. But also think of using containers instead. It depends on usability and publishing issues which of these is where used best... Regards, Stefan --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
