[Typo3] Other colpos value than '0' using TemplaVoila
tapio
tapio.markula at dnainternet.net
Mon Jun 20 14:37:34 CEST 2005
Hi
Is there any way to get Typo3 to set differnet colpos value than '0'
using TemplaVoila.
I would need in the shared content page content areas defined so, that
that individual content elements ared stored using different colpos value.
For example in the pid 384 left content to colpos=1, in order to get it
to other pages using in a separate TS Template
lib.leftcontentshared = CONTENT
lib.leftcontentshared {
select {
#pidInList = 384
where = colpos=2
andWhere = deleted=0
andWhere = hidden=0
}
table = tt_content
}
+
in DS-files
<field_leftcontentshared type="array">
<tx_templavoila type="array">
<title>Sivun yhteinen sisältö (Shared contents)
</title>
<description>Sivun yhteinen sisältö (Shared
contents).</description>
<sample_data type="array">
<numIndex index="0">Lorem ipsum dolor sit amet,
consectetuer adipiscing elit. Pellentesque porta erat vitae nisl. In hac
habitasse platea dictumst. Aliquam ac urna. Morbi magna mauris, semper
ut, varius in, convallis vitae, nulla. Proin massa lorem, mollis eget,
rutrum vitae, commodo id, risus. Curabitur scelerisque risus eget odio.
Proin laoreet blandit elit. Aenean varius, sapien laoreet dapibus
volutpat, risus lorem ornare wisi, lobortis venenatis nisl augue sed
purus. Nam suscipit viverra justo. Suspendisse tincidunt. Nullam vel
quam.</numIndex>
</sample_data>
<eType>TypoScriptObject</eType>
<tags>table:outer,td:inner,div:inner,p,h1,h2,h3,h4,h5</tags>
<TypoScriptObjPath>lib.leftcontentshared</TypoScriptObjPath>
</tx_templavoila>
</field_leftcontentshared>
Only one special page/site would need special DS, which save
content elements using several colpos values.
I have tried to find instruction but failed.
More information about the TYPO3-english
mailing list