[TYPO3-english] centralize content records for some part of the webpage

bernd wilke xoonsji02 at sneakemail.com
Sun Oct 12 14:51:47 CEST 2008


on Sat, 11 Oct 2008 18:28:31 +0100, Jonas Kaiser wrote:

> Hi,
> 
> I am looking for a solution to the following setup of a typo3 4.2.1
> webpage: My layout features an area where content records from the
> border column are meant to be displayed.
> Now the content of that border should remain relatively static across
> several pages of the site. I have created a systemfolder to contain all
> the records that should be displayed in the border.
> 
> Is there a way to either create content records that are actually links
> to other content records (like pages can be set up to be links to other
> pages) or is their a possibility to tell the system that, if the list of
> content records defined for a specific page in its border column is
> empty, it should load all (or even better load always some according to
> specific rules) of the records from a specified system folder.
> 
> The aim is to centralize the management of the border on the page (such
> that a record only needs to be edited in one place) for the vast
> majority of pages in the project, while maintaining the flexibility to
> obtain a slightly different border for some specific pages.
> 
> If any of the options above exists I would welcome your help (I think
> that this kind of functionality is rather common and might be available
> by the system).

what about 'sliding'?
'sliding' uses the content on the actual page. If there is no content in 
the actual page, the page above is searched for content. if there is no 
content the page above this is searched, ...
this handling is done inside one content-column

So you can define content in your root-page which is shown on every page 
of your tree. If you want to have another content for a whole subtree you 
just have to add it at the root of that subtree



e.g. if your column is the column 'right' and your marker to replace has 
the name 'RIGHT':

page.10.marks {
	RIGHT < styles.content.getRight
	RIGHT.slide = -1
}

else you have to adapt it.

 
> By the way I am not using TV and I would like to find a solution without
> it ;-)

with TV it would be more complicated
 
bernd
-- 
http://www.pi-phi.de/t3v4/cheatsheet.html


More information about the TYPO3-english mailing list