[Typo3-dev] Shared contents & TemplaVoila - how to get working?
tapio
tapio.markula at dnainternet.net
Mon Jun 20 09:32:22 CEST 2005
Hi
I have used shared content columns using MTB (Modern Template Building).
In MTB the solution base on modified CSS Styled Content.
I have made modifications on the base of HTMLCSS Styling plug-ins.
When I put in a page content elements into one page, they can be seen in
every page. Every content area "column" has both id for page-related
content and shared content
<div id="colLeft">Left content</div>
<div id="leftcontentshared">Shared left content</div>
This is possible by defined shared pid.
That is easy. I have tried to do corresponding using TV (TemplaVoila)
but I have a problem.
http://typo3.org/documentation/document-library/doc_core_tsref/select/
lib.normalcontentshared = CONTENT
lib.normalcontentshared {
select {
pidInList = 41
where = colpos=0
andWhere = deleted=0
andWhere = hidden=0
}
...
- does work with
<TypoScriptObjPath>lib.normalcontentshared</TypoScriptObjPath>
Using shared content has a problem using TV.
In MTB you can put contents to several columns,
but TV puts them always to colpos=0.
In MTB you can get shared contents for many columns from the same page
just using different colpos value.
If the normal page module has been disabled,
I must do MANY pages for shared contents in order get shared contents to
certain content are - or it there a possibility that using TV content
elements could be put into different colpos, when some area would use
colpos=1, another colpos=0 etc.
Tapio Markula
More information about the TYPO3-dev
mailing list