|
|||||||
| Registrieren | Hilfe | Benutzerliste | Kalender | Suchen | Heutige Beiträge | Alle Foren als gelesen markieren |
|
#1
|
|||
|
|||
|
Hi,
I am having dificulty to setup a horozontal menu. First i made 4 standart pages then i used templavoila to map divs. I have the folwing structure: <div id="invertedtabs"> <ul> <li ><a href="#"><span>HOME</span></a></li> <li><a href="#"><span>ABOUT</span></a></li> <li><a href="#" title="Revised"><span>CONTACTS</span></a></li> <li><a href="#"><span>INFO</span></a></li> <li><a href="#"><span>Portofolio</span></a></li> </ul> </div> with templavoila i mappd div id invertedtabs to typosctopt path object, then i setup typoscript like this : # Default PAGE object: page = PAGE page.10 = TEXT page.10 = USER page.10.userFunc = tx_templavoila_pi1->main_page page.includeCSS{ file1 = fileadmin/templates/css/layout.css file1 { title = MainStyle media = all } } lib.headerData.30 = COA #Main Menu lib.MainMenu = HMENU lib.MainMenu.special = directory lib.MainMenu.special.value = 1 lib.MainMenu = HMENU lib.MainMenu { expAll = 0 NO.ATagTitle.field = title wrap = <ul id=invertedtabs ul>|</ul> NO.wrapItemAndSub = <li>|</li> ACT = 1 ACT.wrapItemAndSub = <li>|</li> ACT.ATagTitle.field = title } Only is not working, it shows the layout, its empty, it those not shows a horozontal menu . Can any one tel me what i doing worng here? thanks in advance, Alix _______________________________________________ TYPO3-project-templavoila mailing list TYPO3-project-templavoila (AT) lists...netfielders.de http://lists.netfielders.de/cgi-bin/...ct-templavoila |
|
#2
|
|||
|
|||
|
Hi!
Alix Justus wrote: > with templavoila i mappd div id invertedtabs to typosctopt path object, > then i setup typoscript like this : Check again in TemplaVoila what name of the TS object is. Sometimes people (me too) forget to press "Update" and name stays as "lib.myObject". > page.includeCSS{ Don't to this. Use header mapping! Using includeCSS is discouraged with TemoplaVoila. Not forbidden but discouraged. -- Dmitry Dulepov TYPO3 core team Web: http://typo3bloke.net/ Skype: callto:liels_bugs "Nothing is impossible. There are only limits to our knowledge" _______________________________________________ TYPO3-project-templavoila mailing list TYPO3-project-templavoila (AT) lists...netfielders.de http://lists.netfielders.de/cgi-bin/...ct-templavoila |
|
#3
|
|||
|
|||
|
No its not lib.myObject, to be shore i started from scratch again, and namde
to lib.MainMenu and updateit too, and its n ot working. is there somethink wrong with typoscript? 2008/4/7 Dmitry Dulepov [typo3] <dmitry (AT) typo3 (DOT) org>: > Hi! > > Alix Justus wrote: > > with templavoila i mappd div id invertedtabs to typosctopt path object, > > then i setup typoscript like this : > > Check again in TemplaVoila what name of the TS object is. Sometimes people > (me too) forget to press "Update" and name stays as "lib.myObject". > > > page.includeCSS{ > > Don't to this. Use header mapping! Using includeCSS is discouraged with > TemoplaVoila. Not forbidden but discouraged. > > -- > Dmitry Dulepov > TYPO3 core team > Web: http://typo3bloke.net/ > Skype: callto:liels_bugs > "Nothing is impossible. There are only limits to our knowledge" > _______________________________________________ > TYPO3-project-templavoila mailing list > TYPO3-project-templavoila (AT) lists...netfielders.de > > http://lists.netfielders.de/cgi-bin/...ct-templavoila > _______________________________________________ TYPO3-project-templavoila mailing list TYPO3-project-templavoila (AT) lists...netfielders.de http://lists.netfielders.de/cgi-bin/...ct-templavoila |
|
#4
|
|||
|
|||
|
Alix Justus schreef:
> No its not lib.myObject, to be shore i started from scratch again, and namde > to lib.MainMenu and updateit too, and its n ot working. > is there somethink wrong with typoscript? Yes it is. #Main Menu lib.MainMenu = HMENU lib.MainMenu.special = directory lib.MainMenu.special.value = 1 lib.MainMenu = HMENU lib.MainMenu { expAll = 0 NO.ATagTitle.field = title wrap = <ul id=invertedtabs ul>|</ul> NO.wrapItemAndSub = <li>|</li> ACT = 1 ACT.wrapItemAndSub = <li>|</li> ACT.ATagTitle.field = title } should be lib.MainMenu = HMENU lib.MainMenu { // I think those 2 special statements are not necessary. special = directory special.value = 1 1 = TMENU 1 { expAll = 0 wrap = <ul id=invertedtabs ul>|</ul> NO = 1 NO.ATagTitle.field = title NO.wrapItemAndSub = <li>|</li> ACT < .NO } 2 < .1 3 < .2 } Success. Kind regards, Daniel Doesburg _______________________________________________ TYPO3-project-templavoila mailing list TYPO3-project-templavoila (AT) lists...netfielders.de http://lists.netfielders.de/cgi-bin/...ct-templavoila |
|
#5
|
|||
|
|||
|
Hi Alix,
> lib.MainMenu = HMENU > lib.MainMenu.special = directory > lib.MainMenu.special.value = 1 > lib.MainMenu = HMENU ^^^^^^ What You want is a TMENU here. Try this: lib.MainMenu = HMENU lib.MainMenu.special = directory lib.MainMenu.special.value = 1 lib.MainMenu { 1 = TMENU 1.expAll = 1 1 { ... } } Greetings, Markus _______________________________________________ TYPO3-project-templavoila mailing list TYPO3-project-templavoila (AT) lists...netfielders.de http://lists.netfielders.de/cgi-bin/...ct-templavoila |
|
#6
|
|||
|
|||
|
Hi Daniel,
> // I think those 2 special statements are not necessary. > special = directory > special.value = 1 Doesn't that depend on his page tree / site structure? I think such a generell statement isn't possible, is it? Best Regards, Markus _______________________________________________ TYPO3-project-templavoila mailing list TYPO3-project-templavoila (AT) lists...netfielders.de http://lists.netfielders.de/cgi-bin/...ct-templavoila |
|
#7
|
|||
|
|||
|
wel , that did not helpd at all, it shows only te style, empty.
1) i mapp div with templavoila, 2) I save them to storage folder 3) i go to the first page, i asign there a template wich i made with templavoial 4) then i go to List module, i edit the template , i add there the typoscript wich you all post 5) and it stil not working, i also clear FE catch and typo3conf, but that did not helpd. do i forget somethink to , or is just i am doing everythink wrong.? :s 2008/4/7 Markus Kobligk <markus (AT) kobligk (DOT) de>: > Hi Daniel, > > > // I think those 2 special statements are not necessary. > > special = directory > > special.value = 1 > > Doesn't that depend on his page tree / site structure? > I think such a generell statement isn't possible, is it? > > Best Regards, > Markus > > _______________________________________________ > TYPO3-project-templavoila mailing list > TYPO3-project-templavoila (AT) lists...netfielders.de > > http://lists.netfielders.de/cgi-bin/...ct-templavoila > _______________________________________________ TYPO3-project-templavoila mailing list TYPO3-project-templavoila (AT) lists...netfielders.de http://lists.netfielders.de/cgi-bin/...ct-templavoila |
| Lesezeichen |
| Themen-Optionen | |
| Ansicht | Thema bewerten |
|
|
|
||||
| Thema | Autor | Forum | Antworten | Letzter Beitrag |
| [TYPO3-german] TemplaVoila - Typoscript in der Datastructure | Adler, Jesse | typo3-german@lists.netfielders.de | 1 | 02.02.2008 21:51 |
| [TYPO3-templavoila] How to determine the currently used templatevia TypoScript | Peter Kraume | typo3-project-templavoila@lists.netfielders.de | 4 | 17.08.2007 17:42 |
| [TYPO3-templavoila] TypoScript with TV not working | Benjamin Mack | typo3-project-templavoila@lists.netfielders.de | 3 | 20.03.2007 14:44 |
| [TYPO3-german] Templavoila mit TypoScript | Michael Türk | typo3-german@lists.netfielders.de | 3 | 27.02.2007 10:01 |
| Re: [TYPO3-templavoila] TemplaVoila v/s Traditional Templating(Template AutoParser, TypoScript etc.) | Dennis Riedel | typo3-project-templavoila@lists.netfielders.de | 5 | 02.12.2006 22:27 |