Zen TYPO3 Forum

Our TYPO3 forum is available for freelancers, professionals and clients new to TYPO3 to discuss Basic TYPO3 templating, Typoscript, extension installation, administration and help with subscription templates. Please register for an account to post.

All Categories > Zen Wireframe > Templates and TypoScript > Printing page title
Total Posts: 3 - Pages (1): [1]
Author: tonyl09
Posted: Nov 16 2007 - 04:25 PM
Subject: re: Printing page title
Thank you, Greg. That did the trick.

Cheers -- Tony
Author: mediatech
Posted: Nov 16 2007 - 03:08 PM
Subject: re: Printing page title
Hi Tony,

TYPO3 seems to prefer when markers are wrapped, instead of on a single line.

<h1><!-- ###TEMP_PAGE_TITLE### START -->
<!-- ###TEMP_PAGE_TITLE### END --></h1>


Also use data not field and see how that works.

# page title
#######################################
page.1{
subparts.TEMP_PAGE_TITLE = TEXT
subparts.TEMP_PAGE_TITLE.wrap = |
subparts.TEMP_PAGE_TITLE.data = page:subtitle // page:title
}


Greg
----
Mediatech Consulting, Inc.
Phone : +1 (760) 525-1770 . Fax: +1 (760) 542-1990 . Skype: gremington
Author: tonyl09
Posted: Nov 16 2007 - 10:22 AM
Subject: Printing page title
I am trying to have the page title display in the masthead of the Microsite templates. I inserted into the page template:
<h1><!-- ###TEMP_PAGE_TITLE### START --><!-- ###TEMP_PAGE_TITLE### END --></h1>
and added to the template TS markers setup:
# page title
#######################################
page.1{
subparts.TEMP_PAGE_TITLE = TEXT
subparts.TEMP_PAGE_TITLE.wrap = |
subparts.TEMP_PAGE_TITLE.field = page:subtitle // page:title
}

I am getting no output. Caches have been cleared. Does anyone have a suggestion?

Thanks -- Tony
Total Posts: 3 - Pages (1): [1]
You must login to post a message to this conference.

 

CHC Forum provided by Cast Iron Coding

TYPO3 Support