[Typo3] Reproduce "sitetitle: pagetitle" in typoscript

Rickard Andersson rickard.andersson+typo3 at gmail.com
Thu Feb 17 11:55:52 CET 2005


Forgive my ignorance, but I can't really see how that would help me.
Essentially, what I want to do is to concatenate sitetitle and title so that
I can replace the mark ###PAGE_TITLE### with the result of that
concatenation. Currently, my typoscript looks like this:

marks.PAGE_TITLE = TEXT
marks.PAGE_TITLE.field = title

but as you can see, it only includes the page title. I want to prepend it
with the site title as well. I've tried numerous things, but I guess my
TypoScript knowledge is just too limited. My last attempts was something
like this:

marks.PAGE_TITLE.value = {sitetitle} - {title}

Which of course doesn't work :)

/Rickard


"Peter Niederlag" <niederlag at ikd01.de> skrev i meddelandet
news:mailman.1.1108635954.1421.typo3-english at lists.netfielders.de...
> Just like you would access any other dynamic-data as well, just make
> sure it goes to the right place.
>
> for example:
>
> page.10 = [BEGINOFPAGE]
> page.20 = TEXT
> page.20.wrap =<whatevertag attribute="|" />
> page.20.data.field=title
> page.30 = [RESTOFPAGE]
>
> to assign the title-field to an attribute "attribute" of a tag
> "whatevertag".
>
> Have fun,
> Peter
> -- 
> Peter Niederlag
> http://www.niekom.de * TYPO3 & EDV Dienstleistungen *
> http://www.typo3partner.net * professional services network *





More information about the TYPO3-english mailing list