[TYPO3-dev] Hook into pagesRepository

Philipp philippwrann at gmx.at
Tue Sep 3 09:29:22 CEST 2013


But how can i do something like that:
wrapItemAndSub = <li class="navitem layout-{HERE_COMES_THE_TRANSLATED_LAYOUT}">|</li>
i will never become a typoscript-expert....

If i hook into the page selection (seems there is one hook \TYPO3\CMS\Frontend\Page\PageRepositoryGetPageHookInterface) i could just exchange the layout key with my string and do it like <li class="navitem layout-{field:layout}">|</li>



More information about the TYPO3-dev mailing list