[TYPO3-mvc] set Browser title from extBase extension.

Nathan Lenz typo3 at k9tfk.com
Fri Jan 22 20:18:24 CET 2010


Franz Koch wrote:
> Hi,
> 
>> This would insert the contents into the page title with a " - " in
>> between if there is an existing value.
>>
>> <f:page.title mode="insert" glue=" - ">{blog.name}<f:/page.title>
>> <f:page.title mode="append" glue=" | ">{post.name}<f:/page.title>
> 
> nice idea, but where is the difference between those two? If "insert"
> should mean that it should be inserted at the beginning of the pageTitle
> than I'd use "prepend" for that - so "prepend", "append" and "replace"
> maybe.
> 
> But besides of that - nice idea.
>

That makes sense, "insert" & "append" was a nod towards vi. However,
prepend probably makes more sense.

I also like "replace" better.


What about page.title?  Is that appropriate name or should we not push
it into it's own folder?



I'll submit a patch sometime soon.

--Nathan



More information about the TYPO3-project-typo3v4mvc mailing list