[TYPO3-english] append uid of CE to every menu item of TMENU

De Contardi Riccardo Riccardo.DeContardi at bhuman.it
Fri Apr 8 16:13:03 CEST 2011


Hello everybody;

 

My problem: in a menu built up with HMENU & TMENU, I'd want to obtain an
URL for every item like "mypage/mysubpage/mysubpage/index.html#id90"

Where "90" is the UID of the first CE of the page connected to that
item. So I've started writing:

 

lib.subMenu.3.NO.after.append = CONTENT

lib.subMenu.3.NO.after.append.table=tt_content

lib.subMenu.3.NO.after.append.select{

  max=1

  orderBy=sorting

  selectFields = uid

  languageField=sys_language_uid

where=??

}

 

lib.subMenu.3.NO.after.append.renderObj=TEXT

lib.subMenu.3.NO.after.append.renderObj.field=uid

 

But now I'm pretty stuck...

Could someone please help me? Thank you for your support and best
regards

 

--------------------------------------------
Riccardo De Contardi - Web Developer
B Human Srl - www.bhuman.it <http://www.bhuman.it> 
Via Canzio, 15 - 20131 Milano
TEL +39-02-20.23.271 - FAX +39-02-20.240.561
--------------------------------------------

 


**************************************************

Chi riceve il presente messaggio e' tenuto a verificare se lo stesso non gli sia pervenuto per errore. In tal caso e' pregato di avvisare immediatamente il mittente e, tenuto conto delle responsabilita connesse all'indebito utilizzo e/o divulgazione del messaggio e/o delle informazioni in esso contenute, voglia cancellare l'originale e distruggere le varie copie o stampe.

The receiver of this message is required to check if he/she has received it erroneously. If so, the receiver is requested to immediately inform the sender and - in consideration of the responsibilities arising from undue use and/or disclosure of the message and/or the information contained therein - destroy the original message and any copy or printout thereof.




More information about the TYPO3-english mailing list