Loading...
 
Skip to main content

Architecture / Installation


Menu toggles not working

Howdy,

I know that I've seen something about this and made a post somewhere...don't know where...

The menu toggles (+'s and -'s on left) stopped working when I upgraded to 1.9.2. I've no clue what to do. Any help greatly appreciated.

Thanks
Tim
http://www.tumbleweedpacific.com/wiki1/tiki-index.phpQuestion

It occurs to me that maybe peolpe might need a little more info:

TikiWiki 1.9.2 @ http://www.tumbleweedpacific.com/wiki1/tiki-index.phpQuestion
Operating system Linux
Kernel version 2.4.21-37.ELsmp
Machine Type i686
Apache version 1.3.34 (Unix)
PERL version 5.8.7
PHP version 4.4.1
MySQL version 4.0.25-standard
cPanel Build 10.8.1-RELEASE 113

> Howdy,
>
> I know that I've seen something about this and made a post somewhere...don't know where...
>
> The menu toggles (+'s and -'s on left) stopped working when I upgraded to 1.9.2. I've no clue what to do. Any help greatly appreciated.
>
> Thanks
> Tim
> http://www.tumbleweedpacific.com/wiki1/tiki-index.phpQuestion


OK, so the issue is that the header.tpl file had all the js code stripped when it upgraded (I was using the wrong search terms to begin with.) Now I know I didn't edit it in any way, just upgraded and found the toggles not working. A bug? or an incomptability?

Anyway, now I'm off in search of the proper file to replace it with.

Tim Bush
who is confused by the whole thing...
Tallyho

> Howdy,
>
> I know that I've seen something about this and made a post somewhere...don't know where...
>
> The menu toggles (+'s and -'s on left) stopped working when I upgraded to 1.9.2. I've no clue what to do. Any help greatly appreciated.
>
> Thanks
> Tim
> http://www.tumbleweedpacific.com/wiki1/tiki-index.phpQuestion


Check if both file lib/tiki-js.js and tempaltes/header.tpl are correct

Thanks Sylvie,

I don't really know if the two files are correct, but I did back them up and replace them with (I think) fresh copies. Still not working. I used Fantastico to set it up, if that makes any difference, I know some people hate it, but it's what's provided and, like I say, I really don't know this stuff 😎

Maybe a better source for those files?

Thanks again,
Tim Bush
who is still confused by it all


> Howdy,
>
> I know that I've seen something about this and made a post somewhere...don't know where...
>
> The menu toggles (+'s and -'s on left) stopped working when I upgraded to 1.9.2. I've no clue what to do. Any help greatly appreciated.
>
> Thanks
> Tim
> http://www.tumbleweedpacific.com/wiki1/tiki-index.phpQuestion



Well, I loaded fresh copies of header.tpl and tiki-js.js, no change. On a whim I changed permissions on both to 777, no change (i've since cgange permissions back to 755)

Is there something I need to do with another file? Permissions, compiling, sacrifice to obscure java god?

Thnks again,
Tim



> Howdy,
>
> I know that I've seen something about this and made a post somewhere...don't know where...
>
> The menu toggles (+'s and -'s on left) stopped working when I upgraded to 1.9.2. I've no clue what to do. Any help greatly appreciated.
>
> Thanks
> Tim
> http://www.tumbleweedpacific.com/wiki1/tiki-index.phpQuestion


> Howdy,
>
> I know that I've seen something about this and made a post somewhere...don't know where...
>
> The menu toggles (+'s and -'s on left) stopped working when I upgraded to 1.9.2. I've no clue what to do. Any help greatly appreciated.
>
> Thanks
> Tim
> http://www.tumbleweedpacific.com/wiki1/tiki-index.phpQuestion

The reason why the menu toggles are not working is because it's giving a javascript error. And this because the function 'toggle' isn't defined.
This toggle is defined in the 'tiki-js.js' file.
I can see that you are using the 'elegant' style, but what I noticed is that my 'elegant' style is different then yours...

B