[TYPO3] Very basic template question...

Christopher Torgalson bedlamhotel at gmail.com
Mon Aug 27 19:30:33 CEST 2007


Hi,

On 8/27/07, Ben <benspamin at yahoo.com> wrote:
> > There are two tools that ship with all TYPO3
> > installs: the Typoscript
> > Object Browser and the Template Analyzer (both can
> > be found in the
> > Template  module).
>
> yes, i know about those- i have poured through them
> line by line by line trying to find where the menu is
> defined, ie one of the items is:
>
> <a href="about-rps/history/" title="About RPS"
> onfocus="blurLink(this);"><img
> src="/fileadmin/templates/graphics/nav/About RPS.gif"
> alt="" />
>
> however, i can find no reference to it


The entire POINT of TS is that you don't need to hardcode links and
other HTML directly. You will never find what you're looking for that
way, because it is NOT part of the Typoscript.


> this is the
> MenuHeader that i find in the main template object
> browser:
>
> [menuHeader]=HMENU
> [1]=TMENU
> [expAll]=1
> [wrap]=<ul class="nav">|</ul>
> [NO]
> [ATagTitle]
> [field]=title
> [stdWrap]
> [wrap]=<img
> src="/fileadmin/templates/graphics/nav/|.gif" />
> [wrapItemAndSub]=<li>|</li>
> [ACT]=1
> [ATagTitle]
> [field]=title
> [stdWrap]
> [wrap]=<img
> src="/fileadmin/templates/graphics/nav/|_h.gif"
> class="active"/>
> [wrapItemAndSub]=<li>|</li>
>
> you can see it just says basically the same thing:
> [wrap]=<ul class="nav">|</ul>
>
> i have gone through the template analyzer too and it
> also just has <ul class="nav">|</ul>
>
> i have NO IDEA where that | is being defined -


Honestly, I can only suggest more reading--maybe the TS By Example
manual--because the code above is EXACTLY what you're looking for. If
you like, it is the "|"--which just stands for "the content of some
object".

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.


> does the fact that the template was created with
> TemplaVoila make a difference (i also edited the
> original template htm file and remapped with TV but it
> made no difference (also, the code in the template htm
> does not match what is live on the site)


No, this is irrelevant.

Perhaps if you told us what you are trying to do, we could offer
concrete suggestions.


-- 
Christopher Torgalson
http://www.typo3apprentice.com/


More information about the TYPO3-english mailing list