Contribute fix yet?

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Post by Andy »

Try it now - I think i've cracked it.

It's definately a bug in Contribute but the workaround seems to be OK.
BTW are these forums running real slow or is it just me?
Could be - New server arrived today albeit with the wrong hard drives. Dual Zeon with SCSI raid, should be much faster in a week or so.

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

Post by -fiscus- »

I assume there is a new build??

I will try and grab it now to test - it will take about 10mins for the page to load though! This reply took about 5 mins to open the page. Server needs some serious tweking :-)

Anyway lets hope this fix works!!

I'll report back.
-fiscus-
Advanced
Advanced
Posts: 11
Joined: Tue Nov 11, 2003 4:40 am

Post by -fiscus- »

Unortunatley that didn't work for me. Same problem.
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Post by Andy »

Yes, it's a new build RC22.
Server needs some serious tweaking
I think the server is actually OK. I'm seeing things come up as normal so I can only guess that a router between you and London is playing up.

I'll keep my eye on it though.

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

Post by Andy »

So you are saying that RC22 still doesn't work?

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

Post by -fiscus- »

Yeah RC22 still doesn't work for me.

I have to run out now - i'll pick this thread up tommorow and see if any more progress has been made.

But yeah a vanilla RC22 still has the exact same problems.
-fiscus-
Advanced
Advanced
Posts: 11
Joined: Tue Nov 11, 2003 4:40 am

Post by -fiscus- »

Anyone else having luck with the latest build?

Don't want to waste Andy's time if it is a problem that just I am having.
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Post by Andy »

Hi,

The current release does now have a fix.

What you have to do is add the variable CFix=1; to your menu definitions.

Code: Select all

<SCRIPT language=JavaScript src="/milonic_src.js" type=text/javascript></SCRIPT>	
<script	language=JavaScript>

_CFix=1;

if(ns4)_d.write("<scr"+"ipt language=JavaScript src=/mmenuns4.js><\/scr"+"ipt>");		
  else _d.write("<scr"+"ipt language=JavaScript src=/mmenudom.js><\/scr"+"ipt>"); 
</script>
<SCRIPT language=JavaScript src="/menu_data.php" type=text/javascript></SCRIPT>
Can you let me know how you get on.

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

Post by -fiscus- »

I have been refreshing this thread all day :-)

Let me try this.


UPDATE: The above fix on the new RC23 works fine in Contribute 2.0.

So we can all file this one away!!! Issue fixed!!

Thanks Andy! Well Done!
mcai7gh2
Advanced
Advanced
Posts: 10
Joined: Mon Oct 20, 2003 1:23 pm

Milonics official responce

Post by mcai7gh2 »

Hi Everyone,

I have multiple instances of both Macromedia Contribute version 1 and 2 and am using it in a corporate environment. We currently use it to edit all of our websites. If anyone would like me to test things, I am willing. :D

I have done a fair amount of analysis on this problem. Basically version 3 works fine, with both Contribute 1 and 2, however if you move over to version 5 and you have a menu with sub menus (note: it does work if you don't) then neither version will work.

What you need to do is:
- change all references of iframe in mmenudom.js to span

Have a look at: http://www.macromedia.com/support/contr ... iframe.htm

Macromedia say that it should not make any difference to the operation of the menu. However, I would like to know Milonics official responce on this?

Hope this helps! ;)
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Post by Andy »

Macromedia do not understand the internals of the menu so their comment on changing IFRAME to SPAN is completely wrong.

Doing so WILL break the menu.

We have released a fix for this. All you need to do is add

Code: Select all

_CFix=1; 
to the top of your menu data file.

-- Andy
mcai7gh2
Advanced
Advanced
Posts: 10
Joined: Mon Oct 20, 2003 1:23 pm

fix

Post by mcai7gh2 »

Hi,

I have tried adding that, and it just displays _CFix=1; at the top of the page and still does not let me edit it.

:cry:
User avatar
kevin3442
Milonic God
Milonic God
Posts: 2460
Joined: Sat Sep 07, 2002 12:09 am
Location: Lincoln, NE
Contact:

Post by kevin3442 »

I'm guessing that you're putting _CFix=1; in your .html file, outside of the <script></script> block, so that it's treated as plain text. Don't put it there. You'll notice in the first example Andy gave, he has the setting inside the <script> block that loads mmenudom.js or mmenuns4.js. Like so:

Code: Select all

<script language=JavaScript src="milonic_src.js" type=text/javascript></script>
<script language=JavaScript>
_CFix=1;
if(ns4)_d.write("<scr"+"ipt language=JavaScript src=mmenuns4.js><\/scr"+"ipt>");
  else _d.write("<scr"+"ipt language=JavaScript src=mmenudom.js><\/scr"+"ipt>");
</script>
<script language=JavaScript src="menu_data.js" type=text/javascript></script>
If you prefer, you can put it at the top of your menu_data.js file (where you set up your menus). I.e., the top of your menu_data.js file would then look something like this:

Code: Select all

_CFix=1
_menuCloseDelay=500
_menuOpenDelay=150
_subOffsetTop=10
_subOffsetLeft=-10
As far as I know, either approach should work.

Hope that helps.

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

Re: Milonics official responce

Post by John »

mcai7gh2 wrote:What you need to do is:
- change all references of iframe in mmenudom.js to span
Not only will that break the menu, as Andy has mentioned, but it will also break support from this Team. Modified code of any kind leaves you on your own.
John
mcai7gh2
Advanced
Advanced
Posts: 10
Joined: Mon Oct 20, 2003 1:23 pm

Post by mcai7gh2 »

Hi,

Thanks John. That is why I asked about your point of view on this. Perhaps you should tell Macromedia that, as their info does not indicate any such problems.

Kevin: I have put _CFix=1 in as requested, but I still cannot edit the site with Contribute :(

Thanks
User avatar
davebarnes
Super Advanced
Super Advanced
Posts: 71
Joined: Tue Nov 18, 2003 6:09 am
Location: Denver, CO USA
Contact:

Post by davebarnes »

Support,

My client has been using and continues to use Contribute 2.0 (not 2.01) to edit two websites. I use Dreamweaver 4.

Last week, he asked me to create a new website (http://www.centricstorusa.com). I did so using the Milonic Menu 5.22.
Today, he informs me that he can't edit any page using Contribute.
So, I created a plain test page with a single line of text and asked him to try and edit it. He could.
I then asked him to edit a regular page from which I removed the links to the Milonic Menu. He could.
I then added back the Milonic Menu code and he could not.

After stumbling around at the Macromedia website and reading this entire thread, I added this: _CFix=1 to my menu at MainMenu_data.js

He can now edit pages using Contribute.
This is good.

I will say that if this fix had not worked, I would be dropping the Milonic Menu and using another product. The Milonic Menu MUST work with Contribute as more and more people are using it.

,dave
Dave Barnes
sitting in my basement with my iMac
+1.303.744.9024
http://www.marketingtactics.com
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Post by Andy »

I will say that if this fix had not worked, I would be dropping the Milonic Menu and using another product. The Milonic Menu MUST work with Contribute as more and more people are using it.
Can I just say that your comment is a little unfair when clearly the problem is with Contribute.

To be honest, any web design product that stumbles over the fact that IFRAME is included in its code is absolutely ridiculous. It's standard HTML that is part of the W3C standards. So not being able to support this code isn't very good at all.

I'd love Macromedia to fix this but they just will not accept it as a bug and unfortunately we are made to look like the ones who are doing nothing about it. It's out of our hands and there really is nothing we can do about it.

Sorry if I seem a little offensive, it's just that we spend so much time and effort to make this product the best there is and then something is released by a company with more clout and we just get pushed aside, it's very frustrating.

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

Post by John »

I'm with Andy on this, Dave (remember, I do NOT work for Milonic - I just volunteer here). In fact, I think you were a little out of line. Andy went out of his way to make his properly functioning product work with a product that has a problem. If that's not service and support beyond the call I don't know what is.

MM refuses to admit they have the problem. Just because they posted bad info on their site doesn't mean you have to believe it (especially since you said you read the "entire thread" here concerning it). Their error was discussed earlier in the thread.
John
User avatar
kevin3442
Milonic God
Milonic God
Posts: 2460
Joined: Sat Sep 07, 2002 12:09 am
Location: Lincoln, NE
Contact:

Post by kevin3442 »

davebarnes wrote:...I will say that if this fix had not worked, I would be dropping the Milonic Menu and using another product. The Milonic Menu MUST work with Contribute as more and more people are using it.
I'm wondering if I missed the point...
...if this fix had not worked...
But it did, right?
...The Milonic Menu MUST work with Contribute...
It does, right? Or did I miss something? :? I'm genuinely a little confused here.

Kevin
User avatar
davebarnes
Super Advanced
Super Advanced
Posts: 71
Joined: Tue Nov 18, 2003 6:09 am
Location: Denver, CO USA
Contact:

Post by davebarnes »

kevin3442,

An earlier post from mcai7gh2 on 14JUN2004 said that he had applied the fix and still could not get it work.

I felt lucky that the fix worked for me.

My point was and is:
1. The client is all powerful.
2. The client loves Contribute.
3. Therefore, whatever software I choose to build his website must work with Contribute.
4. It makes no difference whether or not Macromedia has designed a crappy product in Contribute. The client loves Contribute so it is the gating item.
5. I am appreciative that Milonic made its menu work with Contribute because I do really like the Milonic menu. I have bought 5 copies and plan to buy more.

,dave
Dave Barnes
sitting in my basement with my iMac
+1.303.744.9024
http://www.marketingtactics.com
Post Reply