We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Extension: MD Markitup custom field type for EE Control Panel - add Markitup to EE!

Development and Programming

Wes Baker's avatar
Wes Baker
343 posts
16 years ago
Wes Baker's avatar Wes Baker

Anyone having the same problem with spellcheck?

       
smartpill's avatar
smartpill
456 posts
16 years ago
smartpill's avatar smartpill

OK, I made some progress getting the email button to trigger the javascript dialog box using:

openWith:'[email=[![Enter Email Address]!]]',

but I’d like to do the same to enter the title and alt for images using mcimagemanager. Right now I have this:

name: 'Picture [Moxiecode]',
      className:'moxiePic',
      openWith:'[img]',
      closeWith:pDNYtL1sqn3eOUoh3OKNhqTcMdii4ar4typography_img_src_end title=" alt="{replace}" [/img]', 
      beforeInsert: function(h) {
        moxieInsert(h, {
          dimensions: false,
          replaceText: 'enter photo credit or delete'
        });
      }
    },

which lets me enter the text, but kills the image insertion. Looks like I need to do something with “afterInsert” but I can’t figure out how to format it so that after the image code is placed I get the dialog box for the “title”, and the the “alt”. Can anybody point me in the right direction? Edit: Nevermind. Had someone add to the script. Works great now. I’ll post if anyone is interested.

       
Compulsive's avatar
Compulsive
7 posts
16 years ago
Compulsive's avatar Compulsive

Has anyone got this working with MCFileManager and MCImageManager in IE7? My install works fine with Firefox 3 but in IE7 after inserting an image or a file the wrong text is selected - see attached screenshots.

Any advice would be most welcome.

       
smartpill's avatar
smartpill
456 posts
16 years ago
smartpill's avatar smartpill
Has anyone got this working with MCFileManager and MCImageManager in IE7? My install works fine with Firefox 3 but in IE7 after inserting an image or a file the wrong text is selected - see attached screenshots. Any advice would be most welcome.

I can confirm that it does indeed do that in IE7, but I don’t have a solution. My additions to the script aren’t currently working in IE6 or 7 either 😖 (haven’t checked 8 yet). If I can’t get the client to exclusively use Firefox, I may have someone look into it.

       
Compulsive's avatar
Compulsive
7 posts
16 years ago
Compulsive's avatar Compulsive

Thanks Kyle, I was beginning to think I was the only one!

If anyone has any idea how to begin tackling this problem I’d welcome any advice?

       
Ryan M.'s avatar
Ryan M.
1,511 posts
16 years ago
Ryan M.'s avatar Ryan M.

I was unsubscribed from this thread.

Wes, I found the issue with spellcheck and fixed it. Same version number on the download (1.6.1), but you can grab an updated version of the .zip file from your download page at masugadesign.com.

If you’re interested in what I did (i.e. the “Quick Fix”) I moved the location of the closing jQuery funtion wrapper. I got rid of

})(jQuery);

from line 1154 and put it up at line 1111.

As far as the IE7 stuff, I’m just now looking into this. Most of the issues aren’t really MD Markitup - but rather Moxiecode and the helper JS used to place the caret. I’m no pro when it comes to IE quirks and I didn’t write the original helper functions, but I’ll see what I can do.

       
Compulsive's avatar
Compulsive
7 posts
16 years ago
Compulsive's avatar Compulsive
Most of the issues aren’t really MD Markitup - but rather Moxiecode and the helper JS used to place the caret. I’m no pro when it comes to IE quirks and I didn’t write the original helper functions, but I’ll see what I can do.

Thanks Ryan, any help is much appreciated.

       
gwineman's avatar
gwineman
19 posts
16 years ago
gwineman's avatar gwineman

Quick question… I’ve tried the posted fixes already in this thread with no luck.

I’m getting the “Fatal error: No filesystem found for path: {path}” error when i try to integrate imageManager with MD Markitup. I’m also using the LG ImageManager extension - this works with no problems when I have a custom field for it. I only get the error within the MD Markitup field.

The imagemanager folder is in the root/tools directory

The config.php filepath settings are:

$mcImageManagerConfig['filesystem'] = "Moxiecode_LocalFileImpl";
 $mcImageManagerConfig['filesystem.path'] = '../../uploads/';
 $mcImageManagerConfig['filesystem.rootpath'] = 'uploads=../../uploads';

A JS error is logged when the imageManger pops up -

"Error: Permission denied to get property Object.loadType
Source File: http://****.com/tools/imagemanager/js/mcimagemanager.js
Line: 371"

Any thoughts?

       
gwineman's avatar
gwineman
19 posts
16 years ago
gwineman's avatar gwineman

Nevermind - got it. Updraded to the latest version of imageManager.

Now, when imagemanager loads, I get the following alert within the popup:

No filesystem found for path: expressionengine.com/docs/overview/getting_help.html”>Getting Help section of the User Guide before posting in the forums..

I can close it and move on, but it’s annoying. Anyone seen this? (see attachment)

       
Ryan M.'s avatar
Ryan M.
1,511 posts
16 years ago
Ryan M.'s avatar Ryan M.

I was afraid that integrating Moxiecode scripts would lead to more Moxiecode support than to actual MDMIU support. Have you seen this thread on Moxiecode’s site about that particular error? I’m not sure if that will help address the problem, but it might be a start.

       
gwineman's avatar
gwineman
19 posts
16 years ago
gwineman's avatar gwineman

Yep - I tried that solution - No luck. Unfortunately that one of the only references I’ve seen on the error.

I’ve been using ImageManager and the LG extension for quite a while with so problems. This error only appears up when I open ImageManager from a MarkitUp text area

So far I love the MarkitUp extension - especially if I can get the ImageManager integration to work. It’s a nearly perfect combo

I’ve done a fresh install of ee, ImageManager and MarkitUp - stripped the htaccess file and it still throws the same error. Any other thoughts?

Thanks for your help. -Greg

       
web@sewanee's avatar
web@sewanee
18 posts
about 16 years ago
web@sewanee's avatar web@sewanee
In response to my own question…
MCFileManager and MCImageManager with MD MarkItUp! appear to work OK in Firefox 3.0.7 but in Safari 3.2.1 the pop-up appears and then hangs with the message “Loading…”
I was experiencing a couple of problems: 1. Not enough (777) permissions on the upload directories (/files and /images/uploads) 2. Some corrupted files on the server in imagemanager/classes/

I’m experiencing this same issue, now in Safari 4.0.x. MCImageManager never stops loading, but works fine in Firefox 3.5.x. However, if MCImageManager is loaded via a LG Image Manager custom field, it loads fine in Safari.

Tried the tricks discussed here and elsewhere but to no avail. Tried emailing Ryan but no replay. Guess he’s fed up with Moxiecode related support!

Anyone had these problems and found a solution? Thanks!

       
Ryan M.'s avatar
Ryan M.
1,511 posts
about 16 years ago
Ryan M.'s avatar Ryan M.

Let me check my email (and spam folder) again for your email.

And yes - I am a little fed up with Moxiecode support as Moxie isn’t really a part of MDMIU. No one’s fault - it’s just a bulky script that I was able to get working with MMIU, although I’m not too happy with the result. I personally don’t use Moxiecode too often unless absolutely necessary because of the bulkiness of the script and it’s flakiness. Also, many of the Moxie support questions deal strictly with Moxie and don’t have much to do with MDMIU.

That said, I have been in contact with Jay Salvat, the creator of Markitup (you all know that I didn’t create Markitup, I hope) and he is working on some updates that may make working with Moxie easier than ever by getting it to work with MIU itself, rather than relying on some JS functions to get MIU and Moxie to play together (and still not that well in IE). At that point, I should never have another support question about Moxie and MDMIU!

       
web@sewanee's avatar
web@sewanee
18 posts
about 16 years ago
web@sewanee's avatar web@sewanee

Ryan, If it’s of any help I’ve sent you the email again, but given your post it’s probably not something that’s going to be addressed soon. The situation is frustrating; I far prefer the Markitup model to the WYSIWYG one. However, MCImageManager not working in Safari is a deal breaker for me and where I intend to implement (not using WYSIWYG is a leap of faith enough). Thanks though!

       
Compulsive's avatar
Compulsive
7 posts
about 16 years ago
Compulsive's avatar Compulsive
I’m experiencing this same issue, now in Safari 4.0.x. MCImageManager never stops loading, but works fine in Firefox 3.5.x. However, if MCImageManager is loaded via a LG Image Manager custom field, it loads fine in Safari.
Anyone had these problems and found a solution? Thanks!

I don’t know if this will help you web@sewanee but it’s now working (with caveats) for me in Safari Version 4.0.2 (5530.19). Using ExpressionEngine 1.6.8, Build: 20090723, on a single site (not MSM), with MD Markitup (v.1.6.1), Moxiecode Authentication (v.0.2.0), Moxie ImageManager Version 3.1.0.7.1 (2009-03-30) and Moxie FileManager Version 3.1.0.7 (2009-03-25)

I ended up reinstalling MD Markitup since some files had become corrupted and making sure I was using an absolute path in FileManager and ImageManager config.php files.

       
First 7 8 9

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.