[TYPO3-english] TS and menu
M.Couperus
marcocouperus at gmail.com
Fri Feb 6 22:35:34 CET 2009
Hmm.. I changed TS but still not a satisfying result. I think somethings
are missing in my TS. I did some more mailing list archive research and
found that everyone is playing around with entrylevels. What I didn't quite
got is why they first set up an HMENU and in that HMENU setup a TMENU (
http://lists.netfielders.de/pipermail/typo3-english/2007-February/036268.html)
My TS
now looks like this:
page = PAGE
page.typeNum = 0
page.10 = USER
page.10.userFunc = tx_templavoila_pi1->main_page
# Main Menu cObject
mainmenu = HMENU
# Main menu location menu items
mainmenu = {
special = directory
special.value = 12
}
I found In TSref something abort your problem:
"NOTE: Don't set .entryLevel for a HMENU when using this option! Also be
aware that this selects pages for the first level in the menu. Submenus by
menuPbjects 2+ will be created as usual."
Maybe this will help
Best regards,
Dawid Pacholczyk
-----Original Message-----
From: typo3-english-bounces at lists.netfielders.de
[mailto:typo3-english-bounces at lists.netfielders.de] On Behalf Of Marco
Couperus
Sent: Friday, February 06, 2009 9:43 PM
To: typo3-english at lists.netfielders.de
Subject: [TYPO3-english] TS and menu
Hello all, I'm trying to set up a HMENU reading menu item from special
directory. (sysfolder) But for some reason It's not listing the contents of
the sysfolder. I'm using latest typo3 and latest templavoila. I verified the
templavoila DS XML config which is OK.
I believe there is something wrong with my TypoScript but I can?t quite
figure out what?s going on (newbie to Typo3).
Here is my template record TS:
page = PAGE
page.typeNum = 0
page.10 = USER
page.10.userFunc = tx_templavoila_pi1->main_page
mainmenu = HMENU
mainmenu.entrylevel = 1
mainmenu.1 = TMENU
mainmenu.1 = {
special = directory
special.value = 12
ACT = 1
}
Can anyone tell me what I?m doing wrong with TS?
Thanks in advance.
Regards,
Marco
_______________________________________________
TYPO3-english mailing list
TYPO3-english at lists.netfielders.de
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
------------------------------
_______________________________________________
TYPO3-english mailing list
TYPO3-english at lists.netfielders.de
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
On Fri, Feb 6, 2009 at 9:43 PM, Marco Couperus <marcocouperus at gmail.com>wrote:
> Hello all, I'm trying to set up a HMENU reading menu item from special
> directory. (sysfolder) But for some reason It's not listing the contents of
> the sysfolder. I'm using latest typo3 and latest templavoila. I verified the
> templavoila DS XML config which is OK.
>
> I believe there is something wrong with my TypoScript but I can't quite
> figure out what's going on (newbie to Typo3).
>
> Here is my template record TS:
>
> page = PAGE
> page.typeNum = 0
> page.10 = USER
> page.10.userFunc = tx_templavoila_pi1->main_page
>
> mainmenu = HMENU
> mainmenu.entrylevel = 1
> mainmenu.1 = TMENU
> mainmenu.1 = {
> special = directory
> special.value = 12
> ACT = 1
> }
>
> Can anyone tell me what I'm doing wrong with TS?
>
> Thanks in advance.
>
> Regards,
>
> Marco
>
--
With kind regards,
Marco Couperus
Tel. nr.: +31 (0)6 537 656 97
E-mail: marcocouperus at gmail.com
More information about the TYPO3-english
mailing list