[TYPO3-english] Page in multiple menus - ACT and CUR state
Bernd Wilke
t3ng at pi-phi.tk
Tue Aug 7 11:08:59 CEST 2012
On 08/07/2012 08:38 AM, Daniel Huf wrote:
> I cheated a bit, but it works for me...
>
> As I have shortcuts to pages, I use the destination as a page.
>
> temp.mainMenu.pages = CONTENT
> temp.mainMenu.pages {
> table = pages
> select {
> pidInList = {$PID.menu.main}
> andWhere = hidden = 0 AND deleted = 0
> }
> renderObj = COA
> renderObj {
> 10 = TEXT
> 10.field = shortcut
> 10.wrap = |,
> }
> }
>
> And then I use the list of pages as page list for the menu like that:
>
> 20.special = list
> 20.special.value.cObject < temp.mainMenu.pages
>
> Hope that helps...
> Good luck, if you find a better way I'd be glad to hear about.
why do you use shortcut pages at all?
why not include just a list of pages for your quicklinks-menu in typoscript?
bernd
--
http://www.pi-phi.de/cheatsheet.html
More information about the TYPO3-english
mailing list