Hello maaboo, (try to use an real name here) you could try it with this, but dont know if it will work:
-- lib.header = COA lib.header.10 = IMAGE lib.header.10.file = dat/img/sys/ban.jpg # header image lib.header.20 = TEXT lib.header.20{ value = site name typolink.parameter = 14 # generates link to pid 14 wrap = <h1>|</h1> # h1 wrap } lib.header.if{ value = 14 # value to check equal.data = TSFE:page:uid # if page uid == value negate = 1 # negate the result # if(uid==14) dont show whole COA } -- Check the TSRef for more information. kind regards, Stefan maaboo schrieb: > Hi! > > I want to make "Home" link on every page. This link must be on site head > (except main page!): > > lib.head = COA > lib.head.10 = TEXT > lib.head.10{ > value ( > <img src="dat/img/sys/ban.jpg"/> > <h1><a name="pagetop" id="pagetop"><span>Site name.</span></a></h1> > ) > insertData = 1 > } > > but there must be no link on main page (id=14). I think it can be done with > conditions like: > > lib.head = COA > lib.head.10 = TEXT > lib.head.10{ > value ( > [PIDinRootline = 14] > <img src="dat/img/sys/ban.jpg"/> > <h1><a name="pagetop" id="pagetop"><span>Site name.</span></a></h1> > [else] > # > [end] > ) > insertData = 1 > } > > but how made them work inside {( ...)}? And what must i use for link > generartion? Smth like baseURL? > -- Stefan Reichelt Richard - Lehmann Str. 54 04275 Leipzig Germany 0341/3014654 _______________________________________________ TYPO3-english mailing list TYPO3-english@lists.netfielders.de http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english