<![CDATA[ MM error: undefined - undefined (started 14 Jan 2009) - My Forums]]> https://forums.modx.com/thread/?thread=45160 <![CDATA[Re: MM error: undefined - undefined (started 14 Jan 2009)]]> https://forums.modx.com/thread/45160/mm-error-undefined---undefined-started-14-jan-2009?page=3#dis-post-260774
I believe the function was changed to mm_hideFields() some time ago.
Pity that wasn’t in the main documentation with the plugin, all the examples still use mm_hideField() huh

I just spent over 2 hours trying to figure out what was going wrong!!

Anyway, sorted now, I think I need a coffee :’(]]>
cackalufabogus Jun 26, 2009, 07:03 PM https://forums.modx.com/thread/45160/mm-error-undefined---undefined-started-14-jan-2009?page=3#dis-post-260774
<![CDATA[Re: MM error: undefined - undefined (started 14 Jan 2009)]]> https://forums.modx.com/thread/45160/mm-error-undefined---undefined-started-14-jan-2009?page=3#dis-post-260773
I succeeded ManagerManager(0.3.2.1) vs jQuery(1.3.2) by following changes.

1. Changes
[modification files]
・assets/plugins/managermanager/functions/fields.inc.php
・assets/plugins/managermanager/functions/fieldvalues.inc.php
・assets/plugins/managermanager/functions/sections.inc.php
・assets/plugins/managermanager/functions/templates.inc.php
・assets/plugins/managermanager/widgets/accessdenied/accessdenied.php

[modification method]
The following modification is sample. Please replace all lines to which "@" in above source files.
Before :
$output .= '$("select[@name*=keywords]").siblings("span.warning").empty().prepend("'.jsSafe($newlabel).'");';

After :
$output .= '$("select[name*=keywords]").siblings("span.warning").empty().prepend("'.jsSafe($newlabel).'");';

2. Client environment
Hardware/OS : Note PC [Pentium-M], Clock:2.1GHz, Windows XP(SP3)
Browser : FF(3.0.10), IE6(SP3), Opera(9.51), Safari(3.1.2)

3. Performance verification result
The performance of FF and IE6 doubled in my incompetent environment.

4. Disclaimer
I am not testing enough. Please change by own responsibility above.]]>
sama55 May 10, 2009, 11:04 PM https://forums.modx.com/thread/45160/mm-error-undefined---undefined-started-14-jan-2009?page=3#dis-post-260773
<![CDATA[Re: MM error: undefined - undefined (started 14 Jan 2009)]]> https://forums.modx.com/thread/45160/mm-error-undefined---undefined-started-14-jan-2009?page=2#dis-post-260772
This part ->
mm_hideField(’link_attributes’); // Hide the link_attributes field for all users
mm_hideField(’alias’, ’1’, ’3’); // Hide the alias field for users with role "1" editing documents using template ID "3"
mm_hideField(’tvmyVar’, ’2’); // Hide the template variable "myVar" for users with role "2"


Quote from: netProphET at Jan 20, 2009, 02:37 PM

I believe the function was changed to mm_hideFields() some time ago.
]]>
labasus Feb 10, 2009, 01:44 PM https://forums.modx.com/thread/45160/mm-error-undefined---undefined-started-14-jan-2009?page=2#dis-post-260772
<![CDATA[Re: MM error: undefined - undefined (started 14 Jan 2009)]]> https://forums.modx.com/thread/45160/mm-error-undefined---undefined-started-14-jan-2009?page=2#dis-post-260771 netProphET Jan 20, 2009, 08:37 AM https://forums.modx.com/thread/45160/mm-error-undefined---undefined-started-14-jan-2009?page=2#dis-post-260771 <![CDATA[Re: MM error: undefined - undefined (started 14 Jan 2009)]]> https://forums.modx.com/thread/45160/mm-error-undefined---undefined-started-14-jan-2009?page=2#dis-post-260770
Fatal error: Call to undefined function mm_hideField()


others function work good smiley]]>
dmi3y Jan 20, 2009, 06:49 AM https://forums.modx.com/thread/45160/mm-error-undefined---undefined-started-14-jan-2009?page=2#dis-post-260770
<![CDATA[Re: MM error: undefined - undefined (started 14 Jan 2009)]]> https://forums.modx.com/thread/45160/mm-error-undefined---undefined-started-14-jan-2009?page=2#dis-post-260769 i didn’t realized that managermanager was using an external script by default.

i think i cannot live without this forum anymore...]]>
taouh Jan 20, 2009, 05:51 AM https://forums.modx.com/thread/45160/mm-error-undefined---undefined-started-14-jan-2009?page=2#dis-post-260769
<![CDATA[Re: MM error: undefined - undefined (started 14 Jan 2009)]]> https://forums.modx.com/thread/45160/mm-error-undefined---undefined-started-14-jan-2009?page=2#dis-post-260768
1.3 came out a day or so ago, hence the issue and breakage.]]>
rethrash Jan 16, 2009, 03:55 AM https://forums.modx.com/thread/45160/mm-error-undefined---undefined-started-14-jan-2009?page=2#dis-post-260768
<![CDATA[Re: MM error: undefined - undefined (started 14 Jan 2009)]]> https://forums.modx.com/thread/45160/mm-error-undefined---undefined-started-14-jan-2009?page=2#dis-post-260767
thanks netprophet]]>
chucktrukk Jan 16, 2009, 01:54 AM https://forums.modx.com/thread/45160/mm-error-undefined---undefined-started-14-jan-2009?page=2#dis-post-260767
<![CDATA[Re: MM error: undefined - undefined (started 14 Jan 2009)]]> https://forums.modx.com/thread/45160/mm-error-undefined---undefined-started-14-jan-2009?page=2#dis-post-260766

Mixing Nick and Ryan’s thoughts, implementing the fix was extremely simple.
All I had to change in utilities.inc.php was

~old~
...
google.load("jquery", "1");
...


~new~
...
google.load("jquery", "1.2.6");
...

]]>
netProphET Jan 16, 2009, 12:01 AM https://forums.modx.com/thread/45160/mm-error-undefined---undefined-started-14-jan-2009?page=2#dis-post-260766
<![CDATA[Re: MM error: undefined - undefined (started 14 Jan 2009)]]> https://forums.modx.com/thread/45160/mm-error-undefined---undefined-started-14-jan-2009?page=2#dis-post-260765 RubenC Jan 14, 2009, 11:10 PM https://forums.modx.com/thread/45160/mm-error-undefined---undefined-started-14-jan-2009?page=2#dis-post-260765