[TYPO3-UG Dutch] generen menu met <a> element op andere plaats
Thijs Hakkenberg
thijs at hakkenberg.com
Wed Jun 2 21:00:04 CEST 2010
Ik krijg nog steeds geen menu te zien. Ik heb nu:
# Menu 1 cObject
temp.menu_1 = HMENU
# First level menu-object, textual
temp.menu_1.1 = TMENU
temp.menu_1.1.wrap = <ul> | </ul>
temp.menu_1.1 {
NO
{
allWrap =<li>|</li>
}
ACT=1
ACT
{
allWrap =<li>|</li>
ATagBeforeWrap = 1
linkWrap= <span>|</span>
ATagParams = class="active"
}
}
Volgens mij is er niets mis met de syntax...
On 2-6-2010 19:08, Eef Wesselink wrote:
> Idd, had ik overheen gelezen, in de veronderstelling dat het nu werkte!
> Overigens ziin volgens mij de regels
>
> ATagBeforeWrap = 1
> linkWrap=<span>|</span>
>
> nu overbodig geworden...
> (Tenzij natuurlijk in een later stadium de bedoeling zou zijn aan deze span
> een class mee te geven, maar dat lijkt me gezien de rest van je menu vrij
> overbodig)
>
> met vriendelijke groet,
>
> Eef Wesselink
>
>
> Gerrit Vijlbrief - Typohosting wrote:
>
>
>> Hallo Thijs,
>> Bij:
>> ACT=1
>> {
>> allWrap =<li>|</li>
>> ATagBeforeWrap = 1
>> linkWrap=<span>|</span>
>> ATagParams = class="active"
>> }
>> Mis je nog een keer ACT:
>> ACT=1
>> ACT
>> {
>> allWrap =<li>|</li>
>> ATagBeforeWrap = 1
>> linkWrap=<span>|</span>
>> ATagParams = class="active"
>> }
>> En dan nog een afsluitende
>> }
>> Gerrit Vijlbrief
>> -----Oorspronkelijk bericht-----
>> Van: typo3-ug-dutch-bounces at lists.typo3.org
>> [mailto:typo3-ug-dutch-bounces at lists.typo3.org] Namens Thijs Hakkenberg
>> Verzonden: woensdag 2 juni 2010 18:35
>> Aan: TYPO3 Usergroup Dutch
>> Onderwerp: Re: [TYPO3-UG Dutch] generen menu met<a> element op andere
>> plaats
>>
>> Ja, meestal gebruik ik ook UTF8, dit staat nog uit historisch
>> perspectief aan.
>> Maar de relevante code doet helaas niets momenteel:
>>
>> # Menu 1 cObject
>> temp.menu_1 = HMENU
>> # First level menu-object, textual
>> temp.menu_1.1 = TMENU
>> temp.menu_1.1.wrap =<ul> |</ul>
>> temp.menu_1.1 {
>>
>> NO
>> {
>> allWrap =<li>|</li>
>> ATagBeforeWrap = 1
>> linkWrap=<span>|</span>
>> }
>> ACT = 1
>> {
>> allWrap =<li>|</li>
>> ATagBeforeWrap = 1
>> linkWrap=<span>|</span>
>> ATagParams = class="active"
>> }
>>
>> On 2-6-2010 17:21, Eef Wesselink wrote:
>>
>>> Hallo Thijs,
>>>
>>> ik zie dat je bij config.locale_all aangeeft ISO8859.
>>> Persoonlijk werk ik liever met UTF-8, als je namelijk een stukje tekst
>>>
>> hebt
>>
>>> met vreemde tekens is dat handiger (wel moet je uiteraard de database
>>>
>> ook
>>
>>> inrichten voor UTF-8).
>>>
>>> Met vriendelijke groet,
>>>
>>> Eef Wesselink
>>> mictoss
>>>
>>> Thijs Hakkenberg wrote:
>>>
>>>
>>>
>>>> Ach ja, natuurlijk!
>>>>
>>>> Ik heb nu dit:
>>>>
>>>> config.spamProtectEmailAddresses = 2
>>>> config.spamProtectEmailAddresses_atSubst = (at)
>>>>
>>>> config.language = nl
>>>> config.sys_language_uid = 0
>>>> config.locale_all = nl_NL
>>>> config.locale_all = nl_NL.ISO8859-1
>>>> config.locale_all = nl_NL.ISO8859-15
>>>>
>>>> config.doctype = xhtml_trans
>>>> config.xhtml_cleaning = all
>>>>
>>>> # Configuring the Auto-Parser for main template:
>>>> plugin.tx_automaketemplate_pi1 {
>>>> # Read the template file:
>>>> content = FILE
>>>> content.file = fileadmin/template/2010/index.html
>>>>
>>>> # Here we define which elements in the HTML that
>>>> # should be wrapped in subpart-comments:
>>>> elements {
>>>> BODY.all = 1
>>>> BODY.all.subpartMarker = DOCUMENT_BODY
>>>>
>>>> HEAD.all = 1
>>>> HEAD.all.subpartMarker = DOCUMENT_HEADER
>>>> HEAD.rmTagSections = title
>>>>
>>>> TD.all = 1
>>>> DIV.all = 1
>>>> }
>>>>
>>>> # Prefix all relative paths with this value:
>>>> relPathPrefix = fileadmin/template/2010/
>>>> }
>>>>
>>>> # Menu 1 cObject
>>>> temp.menu_1 = HMENU
>>>> # First level menu-object, textual
>>>> temp.menu_1.1 = TMENU
>>>> temp.menu_1.1.wrap =<ul> |</ul>
>>>> temp.menu_1.1 {
>>>>
>>>> NO
>>>> {
>>>> allWrap =<li>|</li>
>>>> ATagBeforeWrap = 1
>>>> linkWrap=<span>|</span>
>>>> }
>>>> ACT = 1
>>>> {
>>>> allWrap =<li>|</li>
>>>> ATagBeforeWrap = 1
>>>> linkWrap=<span>|</span>
>>>> ATagParams = class="active"
>>>> }
>>>>
>>>>
>>>> On 2-6-2010 16:30, Eef Wesselink wrote:
>>>>
>>>>
>>>>> Hallo Thijs,
>>>>>
>>>>> met ATagParams kun je bijvoorbeeld aangeven:
>>>>>
>>>>> ATagParams = class="mijnclass"
>>>>>
>>>>> Met vriendelijke groet,
>>>>>
>>>>> Eef Wesselink
>>>>> mictoss
>>>>>
>>>>> Thijs Hakkenberg wrote:
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>> Maar dan is het toch niet mogelijk om in het<a> element een class
>>>>>>
>> te
>>
>>>>>> laten generen? Alleen daarbinnen?
>>>>>> Ik heb nu deze code:
>>>>>>
>>>>>> # Menu 1 cObject
>>>>>> temp.menu_1 = HMENU
>>>>>> # First level menu-object, textual
>>>>>> temp.menu_1.1 = TMENU
>>>>>> temp.menu_1.1.wrap =<ul> |</ul>
>>>>>> temp.menu_1.1 {
>>>>>>
>>>>>> NO
>>>>>> {
>>>>>> allWrap =<li>|</li>
>>>>>> ATagBeforeWrap = 1
>>>>>> linkWrap=<span>|</span>
>>>>>> }
>>>>>> ACT = 1
>>>>>> {
>>>>>> allWrap =<li>|</li>
>>>>>> ATagBeforeWrap = 1
>>>>>> linkWrap=<span>|</span>
>>>>>> }
>>>>>>
>>>>>> }
>>>>>>
>>>>>> maar dit lijkt niet te werken...
>>>>>>
>>>>>>
>>>>>> On 2-6-2010 8:17, Daniel Doesburg | Doesburg.biz wrote:
>>>>>>
>>>>>>
>>>>>>
>>>>>>> Op 1-6-2010 23:39, Drs. ing. W.S.M. Perquin schreef:
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>>
>>>>>>>>
>>>
>> http://lists.typo3.org/pipermail/typo3-ug-dutch/2010-January/013053.html
>>
>>>
>>>
>>>>>>>> Daniel geeft je antwoord.
>>>>>>>> Met uitleg en een stuk typoscript.
>>>>>>>>
>>>>>>>> Willem
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>> Waarbij ATagBeforeWrap = 1 de essentie is. Die zorgt er voor dat
>>>>>>>
>> de
>>
>>>>>>> wrap "binnen" de link komt.
>>>>>>>
>>>>>>> Met vriendelijke groeten,
>>>>>>>
>>>>>>> Daniel Doesburg
>>>>>>> _______________________________________________
>>>>>>> TYPO3-UG-Dutch mailing list
>>>>>>> TYPO3-UG-Dutch at lists.typo3.org
>>>>>>> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-ug-dutch
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>> _______________________________________________
>>>>> TYPO3-UG-Dutch mailing list
>>>>> TYPO3-UG-Dutch at lists.typo3.org
>>>>> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-ug-dutch
>>>>>
>>>>>
>>>>>
>>>>>
>>> _______________________________________________
>>> TYPO3-UG-Dutch mailing list
>>> TYPO3-UG-Dutch at lists.typo3.org
>>> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-ug-dutch
>>>
>>>
>>>
>> _______________________________________________
>> TYPO3-UG-Dutch mailing list
>> TYPO3-UG-Dutch at lists.typo3.org
>> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-ug-dutch
>>
> _______________________________________________
> TYPO3-UG-Dutch mailing list
> TYPO3-UG-Dutch at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-ug-dutch
>
>
More information about the TYPO3-UG-Dutch
mailing list