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
_______________________________________________
TYPO3-english mailing list
TYPO3-english@lists.netfielders.de
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english

Reply via email to