[TYPO3-templavoila] use pagecontent:header in TypoScript Object Path

Styrmir Magnússon styrmirm at hive.is
Thu Jan 3 03:07:46 CET 2008

Hi Dmitry

And Thanks for helping, I hope I am a little bit closer, but still I am 
not able to show the header from the content element

Here is my DS

<field_content type="array">
				<tx_templavoila type="array">
					<title>Main Content Area</title>
					<description>Pick the HTML element in the template where you want 
to place the main content of the site.</description>
					<sample_data type="array">
						<numIndex index="0">Lorem ipsum dolor sit amet, consectetuer 
adipiscing elit. Pellentesque porta erat vitae nisl. </numIndex>
					<oldStyleColumnNumber type="integer">0</oldStyleColumnNumber>
	10.tables = tt_content
	10.wrap = <!--TYPO3SEARCH_begin--> | <!--TYPO3SEARCH_end-->
	20 = TEXT
	20.data = register:tx_templavoila_pi1.parentRec.header
	20.wrap = Header result |
				<TCEforms type="array">
					<config type="array">
						<type>group</type>						<internal_type>db</internal_type>					 
						<multiple>1</multiple>						<show_thumbs>1</show_thumbs>
					<label>Main Content Area</label>

And thene there is the header

			<field_header type="array">
				<tx_templavoila type="array">
					<title>Header of content</title>
					<description>Pick the HTML container element where you want the 
automatically made header to be placed.</description>
					<sample_data type="array">
						<numIndex index="0">[Header goes here]</numIndex>

I have also tried to the typoscript inside field_header and skipping it 
from field_content

	10 = TEXT
	10.data = register:tx_templavoila_pi1.parentRec.header
	10.wrap = Header result |

Best Regards
Styrmir Magnússon

Dmitry Dulepov [typo3] wrote:
> Hi!
> Styrmir Magnússon wrote:
>> I have a "Content Area" and there I create new element, "Regular Text 
>> Element" in this Element there is "Header" and then there is "Text". I 
>> chose to have the header hidden.
>> What I want to do is to show the header of this element I created 
>> before in a "Title Area" which is another area I created with TemplaVoila
> So you want to show a header of content element inside FCE? Manual has 
> an example of something similar. There is a register that you should use 
> inside FCE's TypoScript.

More information about the TYPO3-project-templavoila mailing list