[TYPO3-english] Page in multiple menus - ACT and CUR state
Ulrich Witschass
uw at geektech.de
Tue Aug 7 11:12:21 CEST 2012
The Menu has to be customizable by the customer.
And while adding shortcuts is no problem to them, I don't want them to start messing around with the Typoscript.
best regards
tuo
Am 07.08.2012 um 11:08 schrieb Bernd Wilke:
> 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
> _______________________________________________
> 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