[TYPO3-50-general] Title header tag for the t3con site missing some part

Visay Keo typo3 at visay.info
Tue Apr 24 16:46:56 CEST 2012


Hi Bastian,

Thanks for your answers. Yes, it works perfectly now.
Below is what I have added:

Title Tag:
=========
<f:if condition="{items}">
   <f:for each="{items}" as="item" reverse="true" iteration="iteration">
     {item.label}{f:if(condition: iteration.isLast, else: ' -')}
   </f:for> - T3CON12 Asia
</f:if>

Breadcrumb:
==========
<f:if condition="{items}">
   <ul class="breadcrumbs">
     <li><typo3:link.node 
node="/sites/t3con12asiatypo3org/overview">T3CON12 
Asia</typo3:link.node></li>
     <f:for each="{items}" as="item">
       <li><typo3:link.node 
node="{item.node}">{item.label}</typo3:link.node></li>
     </f:for>
   </ul>
</f:if>

Best,
Visay

On 04/23/2012 11:35 PM, Bastian Waidelich wrote:
> Visay Keo wrote:
>
> Hi Visay,
>
>> I have installed a t3con-asia website and everything is working so far
>> in our server [...]
>
> That sounds great, I know how hard it was for you ;)
>
>> It is the title tag in the header, i got only
>>
>> <title>Location - </title>
>
> If I look at the source code of your distribution it seems you render
> the title tag via TypoScript:
> http://git.typo3.org/FLOW3/Packages/T3con12Asia.git?a=blob;f=Resources/Private/TypoScripts/Root.ts2;h=e5befe1559b2e1f9527c1f986d614f76b68f163a;hb=HEAD#l12
>
>
> The corresponding TypoScript Template renders all labels as breadcrumb:
> http://git.typo3.org/FLOW3/Packages/T3con12Asia.git?a=blob;f=Resources/Private/Templates/TypoScriptObjects/TitleMenu.html;h=695a864551fa53e425221ebffff320dc70a1ff8f;hb=HEAD
>
>
> That explains your output: The current page is called "Location" and it
> has no parent pages.
>
> BTW: If you want to get rid of the trailing dash, you could adjust the
> template like this:
>
> <f:if condition="{items}">
> <f:for each="{items}" as="item" reverse="true" iteration="iteration">
> {item.label}{f:if(condition: iteration.isLast, else: ' -')}
> </f:for>
> </f:if>
>
> And if you want to add "T3CON12 Asia" you could simply insert it there,
> too.
>
> Best,
>

-- 
Visay Keo
Certified TYPO3 Integrator

TYPO3 .... inspiring people to share!
Get involved: http://typo3.org


More information about the TYPO3-project-5_0-general mailing list