[TYPO3] make "Home" link
maaboo
maaboo at gmail.com
Wed Sep 17 20:09:59 CEST 2008
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?
--
with respect, MaaBoo
ICQ UIN: 22694713
More information about the TYPO3-english
mailing list