Contribute fix yet?

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
bellea-buk
Beginner
Beginner
Posts: 5
Joined: Thu Oct 16, 2003 7:08 pm

Contribute fix yet?

Post by bellea-buk »

Hi all,
I'm developing a new site and have a license for the milonic menu. Problem is, I'm setting up Macromedia Contribute for staff to update their pages. I did a search but didn't find a fix mentioned in the forums.

Basically when you click the edit button in contribute, nothing happens, but only on the pages that use the menu. I've been trouble shooting this for more than a week, and really need to sort it out.

http://alumni.ucsd.edu/alumni_beta/

So I contacted Macromedia and got this response:
------------------------------------------------
Milonic menus....

That menu script's way of writing iframe tags is confusing contribute and
causing the error.

there's a fix or workaround- a hand edit of the external .js file.

from a previous posting-


We are working on a Technote for this. In the meantime, if you can't
wait, you can solve the problem by doing the following:

in mmenu.js on line 412 replace code segment

"mt="<IFRAME frameborder=0 id=if"+mnu+" src=\""+ifBlnk+"\" scroll=none
style=\"FILTER:progid:DXImageTransform.Microsoft.Alpha(style=0,opacity=0);vi
sibility:hidden;height:20;position:absolute;width:"+(menu[3]+ns6w)+"px;left:
"+dmleft+"px;top:"+menu[1]+"px;z-index:5\"></iframe>"

with this one:
mt="<SPAN id=if"+mnu+" src=\""+ifBlnk+"\" scroll=none
style=\"FILTER:progid:DXImageTransform.Microsoft.Alpha(style=0,opacity=0);vi
sibility:hidden;height:20;position:absolute;width:"+(menu[3]+ns6w)+"px;left:
"+dmleft+"px;top:"+menu[1]+"px;z-index:5\"></SPAN>"

and that should work.

Hope this helps.
-------------------------------------------

Sounds good, but my milonic file names do not include one called mmenu.js

The file names are:
menu_data.js
milonic_src.js
mmenudom.js
mmenuns4.js

I did a search in those files to find the first line of code mentioned, but found nothing. Is there anything I can do to correct this problem? It seems the iframes need to become spans.

Please help! I don't want to have to abandon the milonic menu :(

Thanks,
Isabelle
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

Looks like Macromedia has been working with the old v3 menu series (mmenu.js was from there). They need to get updated.

Please forward me the entire message you got back from them, including the e-mail of the sender and case/ID number. Use the link below.

Thanks.
Last edited by John on Thu Oct 16, 2003 7:48 pm, edited 1 time in total.
John
User avatar
Maz
Milonic God
Milonic God
Posts: 1717
Joined: Fri Jun 06, 2003 11:39 pm
Location: San Francisco
Contact:

Post by Maz »

Hope Andy sees this,

I need a list of id's to avoid, I now have "if" "menu" & "milonic".

Regards
maz
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

Posted to the Macromedia Contribute Team. We'll see what happens.
John
User avatar
Hergio
Milonic God
Milonic God
Posts: 1123
Joined: Wed Jun 12, 2002 7:46 pm
Location: Rochester, NY

Post by Hergio »

If you got contribute and use it, then let Andy know. He has been looking for people to use as guinee pigs so he can get the menu to place nice with Contribute. SO if you use contribute, please contact Andy, you will be helping to better the menu! Or better yet, if you could loan Andy a copy of it for test purposes, that'd be the way to go.

Hey, Andy, have you ever tried contacting Macromedia and asking for an extended evaluation copy or even for them to just send you a complimentary copy. Maybe if you explain you'll be using it to make Contribute compatible with your menu, they might obligue.
Dave Hergert
Software Engineer
"Helping to make the menu better, one :?: at a time."
bellea-buk
Beginner
Beginner
Posts: 5
Joined: Thu Oct 16, 2003 7:08 pm

Post by bellea-buk »

I'm happy to help if I can, as I'm on a pretty tight deadline to get the site up and don't want to scrap the menu.

What about using a trial version?
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

Don't know about extended, but you can get a free trial for 30 days - http://macromedia.com/cfusion/tdrc/inde ... contribute.
John
User avatar
Hergio
Milonic God
Milonic God
Posts: 1123
Joined: Wed Jun 12, 2002 7:46 pm
Location: Rochester, NY

Post by Hergio »

Yeah Andy, do that, download the evaluation. That'll give you 30 days to work on it. Plus if it runs out, I am sure you have more than one computer at your shop, download it again and test it for another 30 on a different computer. And if you want any of us to download it and test things for you, just say the word.
Dave Hergert
Software Engineer
"Helping to make the menu better, one :?: at a time."
bellea-buk
Beginner
Beginner
Posts: 5
Joined: Thu Oct 16, 2003 7:08 pm

Please help

Post by bellea-buk »

Any new ideas on how to fix the contribute / milonic incompatibility? Can anyone there at milonic suggest a way to update this code fix (below) for the new version of milonic?

----------------------------------------------------

in mmenu.js on line 412 replace code segment

"mt="<IFRAME frameborder=0 id=if"+mnu+" src=\""+ifBlnk+"\" scroll=none
style=\"FILTER:progid:DXImageTransform.Microsoft.Alpha(style=0,opacity=0);vi
sibility:hidden;height:20;position:absolute;width:"+(menu[3]+ns6w)+"px;left:
"+dmleft+"px;top:"+menu[1]+"px;z-index:5\"></iframe>"

with this one:
mt="<SPAN id=if"+mnu+" src=\""+ifBlnk+"\" scroll=none
style=\"FILTER:progid:DXImageTransform.Microsoft.Alpha(style=0,opacity=0);vi
sibility:hidden;height:20;position:absolute;width:"+(menu[3]+ns6w)+"px;left:
"+dmleft+"px;top:"+menu[1]+"px;z-index:5\"></SPAN>"

------------------------------------------------

I have to launch this site soon http://alumni.ucsd.edu/alumni_beta/ and need to get the menu working 8O
You can see it in action here: http://alumni.ucsd.edu/alumni_beta/chap ... /index.asp

Thanks for your help!!
Belle.
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

Didn't forget about you, Belle, but I haven't seen a response from Macromedia yet.

I have passed this on to Andy to see if he has an idea.
John
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Post by Andy »

I've now grabbed a copy of Contribute 2 and got to grips with it.

First impressions were good, thought it was real easy to use until I tried to add JavaScript and. . . . . . . after about 30 minutes of searching, It can't be done. Contribute will not let you add JavaScript.

From this page: http://www.macromedia.com/support/contr ... _layer.htm I found this:
To allow the editing of layers within Contribute they should be hidden using JavaScript instead of the inline style method. This will need to be done by editing the page in an HTML editor such as Dreamweaver before attempting to edit the page in Contribute.
Oh, great, that's useful. So I edited the page with UltraEdit and the menu appeared fine. Not sure what the problem is but I'm pretty sure it's not the menu or Contribute but something else.

Although Contribute has potential, unless you can add JavaScript, Java Aplets and tweak the source it's useless.
So I contacted Macromedia and got this response:
------------------------------------------------
Milonic menus....

That menu script's way of writing iframe tags is confusing contribute and
causing the error.

there's a fix or workaround- a hand edit of the external .js file.

from a previous posting-


We are working on a Technote for this. In the meantime, if you can't
wait, you can solve the problem by doing the following:

in mmenu.js on line 412 replace code segment

"mt="<IFRAME frameborder=0 id=if"+mnu+" src=\""+ifBlnk+"\" scroll=none
style=\"FILTER:progid:DXImageTransform.Microsoft.Alpha(style=0,opacity=0);vi
sibility:hidden;height:20;position:absolute;width:"+(menu[3]+ns6w)+"px;left:
"+dmleft+"px;top:"+menu[1]+"px;z-index:5\"></iframe>"

with this one:
mt="<SPAN id=if"+mnu+" src=\""+ifBlnk+"\" scroll=none
style=\"FILTER:progid:DXImageTransform.Microsoft.Alpha(style=0,opacity=0);vi
sibility:hidden;height:20;position:absolute;width:"+(menu[3]+ns6w)+"px;left:
"+dmleft+"px;top:"+menu[1]+"px;z-index:5\"></SPAN>"

and that should work.
Can't believe somebody at Macromedia said that, IFRAME is standard HTML, what's the problem with it? So what they are saying is that if you want to use IFRAMES your going to have to find an alternative tag? To be honest, until they can fix these problems, I'd find an alternative HTML editor.

As I say, it does have potential but at the moment it's quite poor but of course this is just my personal opinion.

Cheers
Andy
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

Thanks for the quick response, Andy.
John
buckdono
Beginner
Beginner
Posts: 8
Joined: Wed Aug 27, 2003 8:24 pm
Location: arizona
Contact:

alternative to Macromedia Contribute?

Post by buckdono »

Anybody have an alternative to Macromedia Contribute for non-web-tech savvy staff who need to update web pages? I was excited about Contribute, but am not willing to drop the Milonic menus from my site.

P.S. I will post something similar on the Macromedia forum.

Kim, http://www.desertmuseum.org
User avatar
Hergio
Milonic God
Milonic God
Posts: 1123
Joined: Wed Jun 12, 2002 7:46 pm
Location: Rochester, NY

Post by Hergio »

Hey thanks for sticking with the menu considering your adverse circumstances. I agree, you won't find a better menu system out there, but I am sure there are more website collaboration packages out there. I did a search on Google for website collaboration software and website collaboration packages and up came a couple different options. I don't know what you're looking for but hopefully one of them will fit your fancy will work with the Milonic DHTML Menu!
Dave Hergert
Software Engineer
"Helping to make the menu better, one :?: at a time."
bellea-buk
Beginner
Beginner
Posts: 5
Joined: Thu Oct 16, 2003 7:08 pm

Post by bellea-buk »

Unfortunately my situation is the other way around - I need to find a menu system that will work with contribute, and would really like to keep my milonic menu... but if I can't figure this one out, I'll have to find an alternative menu.

On the macromedia thread a solution for upgrading milonic code was suggested (see below). Could the milonic team check it out and see if its possible?

- - - - - - - - - - - - - - - - -
The new version of the menu has two <iframe> tags in the mmenudom.js file.
When i get some time, I'll rewrite them so the word iframe is split up in
the javascript document.write something like
"<ifra" + "me>"
I'm guessing that will keep Contribute from tripping over the tag and
thinking there's real iframes on the page. And not alter the functioning of
the script. No idea why it's using iframes, but it does

after some testing i'll give the exact steps and pass it the info on to the
milonic people.

However- editing that mmenudom.js file is not fun- It's 28k of javascript
on one line with no linefeeds...

_d.write("<iframe FRAMEBORDER=0 id="+_mnuV+"

- - - - - - - - - - - - - - - - - - - - - - -- - - - - -
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Post by Andy »

RC21 - built a few minutes ago does what you require.

If you can let us know either way, that would be great.

Cheers
Andy
bellea-buk
Beginner
Beginner
Posts: 5
Joined: Thu Oct 16, 2003 7:08 pm

Post by bellea-buk »

I'm not sure what you mean - could you explain?
-fiscus-
Advanced
Advanced
Posts: 11
Joined: Tue Nov 11, 2003 4:40 am

Post by -fiscus- »

I just tried ver 21 and still no luck with contribute!! :cry:

I am in the same boat here.....there is no other program that is as easy for clients to use as Contribute, but it would be great if it would/could work with the menu.


Hope there is a fix soon.
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Post by Andy »

I'm totally confused now.

I've had the menu working fine in Contribute so I've run out of ideas.

Can you give us run-down of what you are doing and exactly what is happening.

-- Andy
-fiscus-
Advanced
Advanced
Posts: 11
Joined: Tue Nov 11, 2003 4:40 am

Post by -fiscus- »

I just installed 5 (and used a converted milonic menu_array file for the mneu) the menu itself works fine. But whenever you try to save or edit a page with the menu on it Contribute just does nothing.

Well if you try to do it through File - New Page and save the current page it doesn't allow it cause it says it has frames. And if you just browse to the page and then click on Edit Page at the top nothing happens. No errors or anything just nothing happens.


On the same site a test page without the menu works fine with either of the methods above.

I will try it with the default files (not my converted menu_array file) and see if that makes a difference.

Otherwise I will try and play around with things to see if I can find anything else out.

BTW are these forums running real slow or is it just me?

Hopefully we can get this ironed out.

Stay tuned.

**UPDATE - nope just tried with vanilla ver 5 build 21 files and still same problem. I assume you are using Contribute 2.0 (the trial that was linked to above).

The menu displays fine with vanilla files but contribute says it still has frame if i go to copy the page or if i click on edit nothing happens. On a page on the same site without the menu (or the same page with the menu JS included removed) contribute works fine.

What did you do? How did you get your contribute to work?
Post Reply