[Typo3] JSmenu not working - gives "no properties" error

Christopher bedlamhotel at gmail.com
Sun Jun 12 20:47:43 CEST 2005

Hi Peter,

On 6/12/05, Peter Kindström <peter.kindstrom at abc.se> wrote:
> Hi list!
> I moved my old web pages from a 3.7.0 site to a 3.8.0 site by
> using "Export/import .t3d". And suddenly my JSmenu doesn´t work
> in the new 3.8.0 environment! I use TemplaVoila 0.4.0.
> The selector box (JSmenu) shows alright (see below), all the
> expected items are there and I can choose an item. But after I
> have choosen an item, nothing happens except the error message.
> The same appears both in Firefox 1.0.4 and IE 5.5.
> You can test it at:
>  http://www.infolagret.se/newtypo/index.php?id=53
> I have checked my template and TypoScript I can´t find any
> error. Am I missing something or is this a bug?
> Can anyone confirm that a JSmenu like this works/does not work
> in Typo3 3.8.0. with TemplaVoila 0.4.0?
> /Peter Kindström
> # ------------------------------------------------------
> #  JavaScript error message in Web Developer Toolbar
> # ------------------------------------------------------
> Error: document.getElementsByTagName("base")[0] has no properties
> Source file:  http://mydomain.xxx/t3lib/jsfunc.menu.js  Line: 111

No idea what the root cause is, but this error appears to be caused by
the fact that there is no <base> element in the <head> section of the
document. I'd have checked, but the url you posted results in a 404

A guess: for some reason your Templavoila template object no longer
has "Select HTML header parts" checked, and consequently the <base>
element present in your template is missing in the rendered pages.


More information about the TYPO3-english mailing list