[TYPO3-templavoila] TV and Artiseer

Ron Hall ronslists at busynoggin.com
Wed Jul 15 18:37:07 CEST 2009


Hi Oliver,

I do not have the time to day to write specifically for your menu but  
this is code I use. You will not need exactly the same code but you  
should be able to adapt it with the help of TSref.

Write it in your main TS template and the bring it into your DS by its  
object name (globalMenu).

globalMenu = HMENU
globalMenu.entryLevel = 0
globalMenu.wrap = <ul id="globalMenu">|</ul><!-- end #globalMenu  -->
globalMenu.1 = TMENU
globalMenu.1 {
	expAll=1
	noBlur = 1
	NO.subst_elementUid = 1
	NO.allWrap= <li id="gmItem-{elementUid}" class="level-1">|
	NO.wrapItemAndSub = |</li>
	NO.ATagParams = class="linkLevel-1"
	NO.stdWrap.case = upper
	}
globalMenu.2 = TMENU
globalMenu.2 {
	noBlur = 1
	wrap = <ul>|</ul>
	NO.wrapItemAndSub = <li class="level-2">|</li>
	NO.ATagParams = class="linkLevel-2"
	NO.stdWrap.case = upper
	}

Ron Hall
Busy Noggin, Inc.


On Jul 15, 2009, at 1:25 AM, Oliver wrote:

> Yes, it is to build the Menu. This is the wrong List. Sorry for that.
>
> Oliver
>
> Ron Hall schrieb:
>> Are you asking how to get the TMENU code into the datastructure or  
>> how
>> the write the menu?
>>
>> Ron
>>
>> On Jul 14, 2009, at 5:43 AM, Oliver wrote:
>>
>>> Hello Ron,
>>>
>>> you´re right. I´m an id.. But how i put this template. Please help  
>>> me
>>>
>>>  1 = TMENU
>>>  1 {
>>>    noBlur = 1
>>>    expAll=0
>>>    wrap = <ul> | </ul>
>>>
>>>    NO {
>>>      linkWrap = <span> | </span>
>>>      wrapItemAndSub = <li> | </li>
>>>      stdWrap.htmlSpecialChars = 1
>>>    }
>>>    ACT = 1
>>>    ACT {
>>>      linkWrap = <span> | </span>
>>>      wrapItemAndSub = <li> | </li>
>>>      stdWrap.htmlSpecialChars = 1
>>>    }
>>>  }
>>>
>>> And this is in the html
>>>
>>>                <div class="art-nav">
>>>                    <div class="l"></div>
>>>                    <div class="r"></div>
>>>                    <ul class="art-menu">
>>>                        <li><a href="#" class=" active"><span
>>> class="l"></span><span class="r"></span><span
>>> class="t">Home</span></a></li>
>>>                        <li><a href="#"><span class="l"></span><span
>>> class="r"></span><span class="t">About</span></a>
>>>                        </li>
>>>                        <li><a href="#"><span class="l"></span><span
>>> class="r"></span><span class="t">Services</span></a></li>
>>>                        <li><a href="#"><span class="l"></span><span
>>> class="r"></span><span class="t">Solutions</span></a>
>>>                        </li>
>>>                        <li><a href="#"><span class="l"></span><span
>>> class="r"></span><span class="t">Contact</span></a></li>
>>>                    </ul>
>>>                </div>
>>>
>>> Regrads Oliver
>>>
>>>
>>> Ron Hall schrieb:
>>>> Hello Oliver,
>>>>
>>>> If all you are needing is to create the menu, then simply write a  
>>>> TMENU
>>>> in TypoScript in the TS template of your site. You then bring it  
>>>> in the
>>>> datastructure as a TypoScript object.
>>>>
>>>> See this page in the Futuristic Template Building tutorial.
>>>>
>>>> http://typo3.org/documentation/document-library/tutorials/doc_tut_ftb1/1.0.1/view/1/2/#id3958817
>>>>
>>>>
>>>>
>>>> Ron Hall
>>>> Busy Noggin, Inc.
>>>>
>>>>
>>>> On Jul 14, 2009, at 1:24 AM, Oliver wrote:
>>>>
>>>>> Hello List,
>>>>>
>>>>> I want to use Artiseer. I think this is a great program for  
>>>>> building
>>>>> Templates and with TV make it possible for Typo3.
>>>>>
>>>>> I think 80% i have. Everything is mapped and works.
>>>>>
>>>>> This is the template
>>>>> http://www.ferienwohnungteneriffa.de/fileadmin/templates/page.html
>>>>> Stylesheet
>>>>> http://www.ferienwohnungteneriffa.de/fileadmin/templates/style.css
>>>>>
>>>>> My problem is to set the menustructure right in the XML. Can  
>>>>> someboby
>>>>> help me?
>>>>>
>>>>> Best Regards Oliver
>>>>> _______________________________________________
>>>>> TYPO3-project-templavoila mailing list
>>>>> TYPO3-project-templavoila at lists.netfielders.de
>>>>> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-project-templavoila
>>>>>
>>>>>
>>>>>
>>>>
>>> _______________________________________________
>>> TYPO3-project-templavoila mailing list
>>> TYPO3-project-templavoila at lists.netfielders.de
>>> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-project-templavoila
>>>
>>>
>>
> _______________________________________________
> TYPO3-project-templavoila mailing list
> TYPO3-project-templavoila at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-project-templavoila
>



More information about the TYPO3-project-templavoila mailing list