[TYPO3-templavoila] body:OUTER as ROOT

Jens Hoffmann werbung at baiz.org
Tue Sep 5 14:15:37 CEST 2006


Yes I already got it :)

Here is my TSDS for this ...

------------------------------------------------------------------

<field_main_bg type="array">
		<type>attr</type>
		<tx_templavoila type="array">
			<title>Main Background</title>
			<description>Select a Picture for the Main Background of the 
Content</description>
			<sample_data type="array">
				<numIndex index="0">img.jpg</numIndex>
			</sample_data>
			<eType>link</eType>
			<tags>td:attr:background</tags>
			<TypoScript>
       	10 = TEXT
       	10.typolink.parameter.current = 1
       	10.typolink.returnLast = url
			</TypoScript>
			<proc type="array">
				<HSC type="integer">1</HSC>
			</proc>
		</tx_templavoila>
		<TCEforms type="array">
			<config type="array">
				<type>input</type>
				<size>15</size>
				<max>256</max>
				<checkbox></checkbox>
				<eval>trim</eval>
				<wizards type="array">
					<_PADDING type="integer">2</_PADDING>
					<link type="array">
						<type>popup</type>
						<title>Link</title>
						<icon>link_popup.gif</icon>
						<script>browse_links.php?mode=wizard</script>
					 
<JSopenParams>height=300,width=500,status=0,menubar=0,scrollbars=1</JSopenParams>
					</link>
				</wizards>
			</config>
			<label>Main Background</label>
		</TCEforms>
</field_main_bg>

------------------------------------------------------------------

So the Editor could select a Path to a Picture of his choice.
(Or you could provide some Path/GFX via a ComboBox for it - Stronger CD)

Greez Jens

Alexander Kyrkos schrieb:
>>> Why you don't only change the attr of body to give a bg to it?
> 
>>> Greez Jens
> 
> 
> Hi Jens,
> 
> The backgroung image is variable and has to be edited by the editors of the
> website. It has to be an IMG_RESOURCE in my Typo3 script, in order to be
> able to use the import functionality.
> 
> Gr. Alexander
> 
> 



More information about the TYPO3-project-templavoila mailing list