There are lots of discussions here detailing how to put multiple different menus on a page and on a site for Tigra 1.0, and in one detailed procedure
there is a notation that the procedure is different for 2.0, but I am not finding any detailed directions.
This is frustrating to find in such a great product, and frankly I am amazed that the builder does not ask how many menus there are already on the site, as it could easily change the scripts generated and give different file names. Having to do it all manually is a curious throwback.
Anyway, I have Tigra 2.0 Gold, and am installing it on a site with a large number of static pages. I want TWO Tigra menus on each page. One will be the same on ALL pages, the other will be unique to the page it is on. So far, given the confusing array of different instructions on here, I have NO idea how to get even the second menu configured on the FIRST page. I've been renaming files and adding script lines, but I have NO clue if I am doing it right.
Isn't there a single detailed step by step explanation SOMEWHERE for how to put multiple menus on a site/page???
Mainly all I find in the docs is "yes, you can do it!". That's NO help without an explanation of HOW.
Okay, I have my two independent menus working on my first page. However, it took a lot of hacking through the files and trial and error to figure out
how to make the changes, especially in the CSS file.
I still think there ought to be a more semi-automatic way to do that incorporated into the Builder.
Jim, did you ever find any documentation for this? I'm about to start hacking away, would love some guidance.
It has been some time since I went through this, but you are welcome to look at the page I was working on last year:
If you "view source" on the first page, you'll see that what I basically did was to create a separate "items" and "template" file for each menu on any given page. In theory, you could have as many menus as you want by giving those files different distinct names.
Best of luck!
Thanks Jim, that's good to hear because that's what I've just done. But I've gone wrong somewhere. My second menu doesn't display and I get a JS error saying "this.link.style.pixelLeft is null or not an object". I found this code in menu.js but I'm no programmer, not sure what to do about it. Any ideas? Much appreciate your help. Jen
I would start by assuming that whatever you have is fundamentally correct, but you most probably have a single malformed line in there with either a capitalization error or a punctuation problem.
Eeeuuuwww, yuk, OK I'll get the magnifying glass out ...
Jim, I just noticed one thing:
I have created new configuration files and pointed the page at both sets of files - then I get the error. But if I point at either one or the other set, the menus work perfectly (but of course I can only get one at a time to display. Is this a clue?
It indicates to me that, individually, both sets of files are correctly coded and correctly linked to. But something goes wrong when I try to display both at once.
src="menu_p.js"></script> the second menu has appeared, and no error message. Hallelujah!
It's not reading its own stylesheet, but that's another story ...
Excellent, thanks! The thing I had forgotten was to change .m0 to .m1 in the second stylesheet.