user-pic

Conflict between DashOff and MyBlogs plugins: Resolved

Vote 0 Votes

There's an apparent conflict between two excellent dashboard widget plugins for MT: DashOff and MyBlogs. They don't play well together--if you use one, the other won't show up.

The conflict is in their respective perl files, MyBlogs.pl and DashOff.pl, which are bundled with the plugins.

Both of them use variable with the same name: my @blogs / $blogs, and my $perms / $perms

Assuming that you want to use both of them at once (who wouldn't?), you need to change the names of these two parameters (perhaps only the first, but I haven't bothered to test that) in one of the two files.

Therefore, in DashOff.pl for instance, you should change every occurrence of $blogs to something else, like $blogset, change my @blogs to my @blogset; and similarly change my $perms / $perms to my $perms2 / $perms2

Once you've done that, both work together.

Reported on Movable Type 4.2

5 Replies

| Add a Reply

Add a Reply

Forum Groups

151 405

Last Topic: MT Interface Missing by Sherri on Nov 10, 2008

36 144

Last Topic: Installation can't finish by Drazend on Nov 10, 2008

34 93

Last Topic: Creating your own Plug-in by jondauz on Nov 5, 2008

10 33

Last Topic: new licensing confusion by Neil Epstein on Aug 14, 2008

code.sixapart.com

62 226

Last Topic: Callback after blog publishing. by Tomato Interactive on Oct 27, 2008

34 98

Last Topic: Ajax Rating Plugin by kiran on Oct 17, 2008