[TYPO3] too much duplicated TS Code

Dmitry Dulepov typo3 at fm-world.ru
Mon Jan 16 11:00:51 CET 2006


Hi!

Mario Sargac wrote:
> There's a problem I have with duplicated code all over the pages.
> I have 5 pages on the same level and I'd like to use different
> background image for the GMENU on each of those pages.

TS setup on the first page:
	2 = IMAGE
	2 {
	    file = fileadmin/templates/res/{$pageDir}/menu_bg.gif
	    width = 500
	}

TS constants on each page:
	pageDir = xxx
where X is the directory with image.

Does this work?

Dmitry.



More information about the TYPO3-english mailing list