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

De Contardi Riccardo Riccardo.DeContardi at bhuman.it
Fri Apr 8 16:36:48 CEST 2011


I'll answer myself: 

...select.pidInList.stdWrap.data = field:uid

Thanks anyway!

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

-----Messaggio originale-----
Da: typo3-english-bounces at lists.typo3.org [mailto:typo3-english-bounces at lists.typo3.org] Per conto di De Contardi Riccardo
Inviato: venerdì 8 aprile 2011 16:13
A: TYPO3 English
Oggetto: [TYPO3-english] append uid of CE to every menu item of TMENU

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.


_______________________________________________
TYPO3-english mailing list
TYPO3-english at lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


More information about the TYPO3-english mailing list