[TYPO3-english] Page title in heading and submenu of a page

Tyler Kraft tyler.kraft at netefficiency.co.uk
Fri Jan 9 17:12:01 CET 2009


And even easier just use marks instead of subparts

  <div id="PATH">###PATH###</div>

temp.mainTemplate {
	workOnSubpart = DOCUMENT_BODY
	marks.PATH < lib.PATH
}



Tyler Kraft wrote:
> Hi
> 
> No it wont work because you're not replacing lib.PATH into anything?!?!
> 
> Not only that but you have the one line to replace the PATH marker in 
> your template commented out.
> 
>  > lib.PATH=TEXT
>  > lib.PATH.value= test
> 
> 
>  > <div id="PATH"><!-- ###PATH### -->Path...<!-- ###PATH### --></div>
> 
>  > temp.mainTemplate {
>  >     template =< plugin.tx_automaketemplate_pi1
>  >     workOnSubpart = DOCUMENT_BODY
>  >     subparts.content < styles.content.get
>  >     subparts.mainmenu < temp.mainmenu
>  >     subparts.sidebarMenu < temp.menu_1
> 
> ~~~~~~~~ Look here! ~~~~~~~~~~
>      subparts.PATH < lib.PATH
> 
> 
>  > }
> 
> 
> Hope that helps
> 
> Adrian Basalic wrote:
>> This may be the source of all my misery, i promise i won't bother again:
>>
>> If i write in my typoscript:
>>
>> lib.PATH=TEXT
>> lib.PATH.value= test
>>
>> and in my HTML i have:
>> <div id="PATH"><!-- ###PATH### -->Path...<!-- ###PATH### --></div>
>>
>> And if i open the Typoscript object browser, i see in lib the PATH object
>> with the value "test"
>>
>> http://add-at-work.com/jing/2009-01-09_1731.png
>> I clear all the cache, refresh the page and get in the site "Path...".
>> Shouldn't it work? I tried with marks. and temp. also. The only thing 
>> that i
>> got working are the menus through subparts. Method:
>>
>> temp.mainTemplate {
>>     template =< plugin.tx_automaketemplate_pi1
>>     workOnSubpart = DOCUMENT_BODY
>>     subparts.content < styles.content.get
>>     subparts.mainmenu < temp.mainmenu
>>     subparts.sidebarMenu < temp.menu_1
>>     #subparts.PATH < temp.mainmenu
>> }
>>
>>
>> I promise i read and tried everything i found. Am i missing something big
>> here?
>>  
>>
>>
>>
>> -----Original Message-----
>> From: typo3-english-bounces at lists.netfielders.de
>> [mailto:typo3-english-bounces at lists.netfielders.de] On Behalf Of Katja
>> Lampela
>> Sent: Thursday, January 08, 2009 7:17 PM
>> To: typo3-english at lists.netfielders.de
>> Subject: Re: [TYPO3-english] Page title in heading and submenu of a page
>>
>> Hi Adrian,
>>
>> Adrian Basalic kirjoitti:
>>> Thanks for being a little bit more specific. I went through those, 
>>> but the
>>> examples are abstract or nonexistent.
>>>
>>> It's not like i came and posted on the first issue i ran into, i've been
>>> reading tutorials and googleing  for days now, the information on 
>>> typo3 is
>>> far from being "beginner friendly". I admit, for those who work with 
>>> typo3
>>> on regular basis the mail lists are pure gold, but for those who use it
>> for
>>> the first time is the only way to ask a question (even is dumb or
>> obvious).
>>> I'm not lazy and i'm willing to search / try / work a solution. I don't
>> want
>>> code, but i need more than "RTFM".
>>>
>>> I'm aware you're busy people and this is a time nobody pays. Thank you.  
>> Hang in there :)
>> It's not easy to learn TYPO3 - and sure the googling helps. But it is 
>> often a question of right search words, which you can't really always 
>> figure out when you are learning this system.
>>
>> Try  for example "TYPO3 menu show parent item"
>> - Katja
>>
>>
>>
>>
>> _______________________________________________
>> TYPO3-english mailing list
>> TYPO3-english at lists.netfielders.de
>> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>>


More information about the TYPO3-english mailing list