typo3 - Typolink content in menu? -


i trying make menu displays page's first content element header , image , have them links. typolink part doesn't seem work me:

lib.menu = hmenu lib.menu {   1 = tmenu   1.no {     donotlinkit = 1     wrapitemandsub = <div>|</div>     stdwrap.cobject = content     stdwrap.cobject {       table = tt_content       select {         pidinlist.field = uid       }       renderobj = coa       renderobj {          10 = text         10.field = header         10.typolink.parameter.field = uid       }     }   } } 

just add give full working example. using section.field = uid can link content element itself.

lib.menu = hmenu lib.menu {     1 = tmenu     1.no {         donotlinkit = 1         wrapitemandsub = <div>|</div>         stdwrap.cobject = content         stdwrap.cobject {             table = tt_content             select {                 pidinlist.field = uid             }             renderobj = coa             renderobj {                  10 = text                 10.field = header                 10.typolink {                     parameter.field = pid                     section.field = uid                 }             }         }     } } 

Comments

Popular posts from this blog

mysql - Dreamhost PyCharm Django Python 3 Launching a Site -

java - Sending SMS with SMSLib and Web Services -

python 3.5 - Pyqtgraph string in x tick -