[TYPO3] Very basic template question...

Ben benspamin at yahoo.com
Mon Aug 27 19:54:59 CEST 2007


>>> You can also find out where it is defined by
mousing over one of the lines you pasted in--a tooltip
will pop up showing the line number where the property
is defined. You can then use the TS Template Analyzer
to find exactly WHICH TS template contains that
line.>>>

okay i did that - it says it's defined in "USARPS
League, 4717 - i assumed that meant the template
called "USARPS League"- (which is the main template
file) but line 4717? that seems too high -  according
to the template analyzer:

EXT:tt_news/static/css/
EXT:tt_news/static/ts_old/
EXT:css_styled_content/static/
EXT:static_info_tables/static/...
EXT:ext_fe_users/pi1/static/
EXT:tt_news/static/ts_new/
EXT:sr_feuser_register/static/...
newloginbox
tt_address
extendedshop
chc_forum
macina_banners
ve_guestbook
-> USARPS League X X X 1(0)

clicking on the USARPS League template from that list
brings up the Constants and Setup screens - searching
through there for menuHeader brings me back to this:

lib.menuHeader >
lib.menuHeader = HMENU
lib.menuHeader.entryLevel = 0
lib.menuHeader.1 = TMENU
lib.menuHeader.1 {

expAll = 1
wrap =<ul class="nav">|</ul>

NO.ATagTitle.field = title
NO.stdWrap.wrap =<img
src="/fileadmin/templates/graphics/nav/|.gif" />
NO.wrapItemAndSub =<li>|</li>

ACT = 1
ACT.ATagTitle.field = title
ACT.stdWrap.wrap =<img
src="/fileadmin/templates/graphics/nav/|_h.gif"
class="active"/>
ACT.wrapItemAndSub =<li>|</li>

}

again, just seeing alot of |'s

the concrete example is http://www.usarps.com - there
is a menu that runs across the top - it's simple
graphic links with roll overs - i can see from the TS
code above that it can define the active current page
by adding "class="active"" to the link - however -
where on earth is it getting all the links from? ie:

<a href="about-rps/history/" title="About RPS"
onfocus="blurLink(this);"><img
src="/fileadmin/templates/graphics/nav/About RPS.gif"
alt="" /></a>

that line has to be set somewhere - it takes that and
inserts it between <li></li> and then between
<ul></ul> to create the menu - i understand the
principle of what is happening - i just can find that
stupid line of code - it has to exist somewhere - i
just need to remove one of the menu items - i've even
download all 800 million files from the server and
used dreamweaver to query every single one of them for
anything remotely like that (granted some didn't make
it cause file names where too long, and knowing my
luck it'll be one of those) - i've also used the
search tool in TYPO3 to search for anything resembling
that HTML - it does find one reference, the SHOP which
has it's own Menu definded quite clearly in the SETUP
section of it's template (not sure why he made a
seperate template, but he did), so i could remove the
menu item in question quite easily from that page

so i don't know what else to say - everything i find
in reference to menuHeader is using | as the content -
it seems very cirular - 

i'm just so frustrated right now 

i appreciate the help you are giving...

ben


      ____________________________________________________________________________________
Shape Yahoo! in your own image.  Join our Network Research Panel today!   http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7 




More information about the TYPO3-english mailing list