No subject
Wed Feb 7 16:55:05 CET 2007
"Also, if the "pidInList" feature is used, any page in the pid-list that is
not visible for the user of the website IS REMOVED from the pidlist. Thereby
no records from hidden, timed or access-protected pages are selected! Nor
records from recyclers."
BTW: Then you might want to get rid of this line:
renderObj.stdWrap.crop = 16 | ...
As all it's gonna do, if f*uck up yor results. (You are cropping a list of
comma seperated IDs, and adding "..." at the end ?!?)
--
Peter Klein / Umloud Untd.
"Andreas Balzer" <typo3 at andreas-balzer.de> wrote in message
news:mailman.1.1175795898.26347.typo3-english at lists.netfielders.de...
> Hi!
> I'm using the following code to show a list with recently changed pages.
> The problem: The code ignores the setting "Do not show in menu". What do I
> have to modifiy, in order to not show pages with this setting activated?
>
>
> temp.new = COA
> temp.new {
> 10 = LOAD_REGISTER
> 10{
> lvl1uids.cObject = CONTENT
> lvl1uids.cObject {
> table=pages
> select.pidInList.data = leveluid:0
> renderObj = TEXT
> renderObj.field = uid
> renderObj.wrap = |,
> renderObj.stdWrap.crop = 16 | ...
> }
> lvl2uids < .lvl1uids
> lvl2uids.cObject.select.pidInList.data= register:lvl1uids
> lvl3uids < .lvl1uids
> lvl3uids.cObject.select.pidInList.data= register:lvl2uids
> lvl4uids < .lvl1uids
> lvl4uids.cObject.select.pidInList.data= register:lvl3uids
> lvl5uids < .lvl1uids
> lvl5uids.cObject.select.pidInList.data= register:lvl4uids
> alluids.cObject = COA
> alluids.cObject {
> 10=TEXT
> 10.data = register:lvl1uids
> 20=TEXT
> 20.data = register:lvl2uids
> 30=TEXT
> 30.data = register:lvl3uids
> 40=TEXT
> 40.data = register:lvl4uids
> 50=TEXT
> 50.data = register:lvl5uids
> 60=TEXT
> 60.data = leveluid:0 }
>
> }
> 20 = CONTENT
> 20 {
> table = pages
> select {
> pidInList.data = register:alluids
> orderBy = tstamp DESC
> max = 5
> }
> renderObj = COA
> renderObj {
> 10 = TEXT
> 10.field = title
> 10.typolink.parameter.field=uid
> 10.wrap = <li>|</li>
> 10.crop = 16 | ...
> }
> }
> wrap=<div class="SpalteBorderKastenBox"><div
> class="SpalteBorderKastenHeadline"> Was gibt´s
> Neues?</div><div class="SpalteBorderKastenContent"><ul
> class="lastchangesmenu">|</ul></div></div>
> }
More information about the TYPO3-english
mailing list