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

Moxiecode ImageManager config problem (should this post be moved to extensions?)

Development and Programming

brittanyA's avatar
brittanyA
184 posts
16 years ago
brittanyA's avatar brittanyA

Not sure if this is where this post belongs, but…

I installed MCImageManager, Markitup, and the Moxiecode Authenticator. At first, I was receiving an error message with a login/pw required, but I changed a line of code thanks to this post and the ImageManager is popping up as it should now. However, no matter what I do, I get an error message that says “No filesystem found for path.” I’ve verified my path in the config.php file.

$mcImageManagerConfig['filesystem.path'] = ''; // absolute or relative from this script path, optional.
    $mcImageManagerConfig['filesystem.rootpath'] = 'http://uvamag.ehclients.com/images/uploads/'; // absolute or relative from this script path, required.

What am I doing wrong?? I know this has been discussed on the forums before, but I’ve read everything and can’t decipher it. If I missed something obvious, I apologize!

       
Ingmar Greil's avatar
Ingmar Greil
29,243 posts
16 years ago
Ingmar Greil's avatar Ingmar Greil

Unfortunately I have no experience with any of Moxicode’s addons. Since this not a first party offering, however, let me move it to the appropriate sub forum.

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

Brittany, first suggestion: put the word Moxiecode in the title of this thread so it can be that much more easily found later. The word “config” wouldn’t hurt, either.

Here are the lines I have in place for an EE install that successfully has MD Markitup and Moxiecode image manager working together:

$mcImageManagerConfig['filesystem.path'] = '../../images/';
$mcImageManagerConfig['filesystem.rootpath'] = 'images=../../images';

Ths is assuming that I have a ‘tools’ folder at the root of my site, and that the imagemanager folder is in it, and that the images I want to access are stored in the default EE images folder.

You can also set up multiple location for Image Manager to look. You’d have to check the Image Manager docs for full details, but I think you just use a semicolon (and I think it’s only necessary on the second variable:

$mcImageManagerConfig['filesystem.path'] = '../../images/';
$mcImageManagerConfig['filesystem.rootpath'] = 'images=../../images;otherimages=../../uploads/images2/';

The first one will be the default directory into which you’ll go. The second variable will make a small list at the upper left with different directories that the users can go to.

       
brittanyA's avatar
brittanyA
184 posts
16 years ago
brittanyA's avatar brittanyA

Yeah, thanks to help on the Moxiecode forum, I realized I was putting in the url, not the file path.

It’s all working correctly now. Thanks for your help (and the tip about multiple upload locations, which will be so helpful)! I am IMPRESSED with Markitup so far.

       
Bernie_the_one's avatar
Bernie_the_one
31 posts
16 years ago
Bernie_the_one's avatar Bernie_the_one

Hope i am allowed to post a related question about integration of moxiecode imagemanager and md-markitup here:

I sucessfully upgraded ee from 1.6.4 to 1.6.7 and installed md markitup which seems also working without problems. then i installed the moxiecode imagemanager folder in my (MD Markitup) tools-folder with the name “mcinmagemanager”. I also installed the moxiecode authenticator from ryan. Entered the right path-settings in several places and I successfully could open the mc imagemanager if i enter the url “…./tools/mcimagemanager/” then the examples page shows.

I also configured path like shown here, so this seems to work also.

My main-problem is: If i click the picture-icon on md-markitup, the imagemanager doesn’t pop up, there’s not even a sign that md-markitup tries to load mc-imagemanager, so it seems that there is no valid connection between md-markitup and mc imagemanager.

Could someone lend me a hand with this? TIA

Bernd

       
Bernie_the_one's avatar
Bernie_the_one
31 posts
16 years ago
Bernie_the_one's avatar Bernie_the_one

Huh, got it!

To answer my own question: One has to enable the moxie-button in the css of the regarding markitup-set, i thought that the normal “image”-button automatically loads moxi if installed (Ryan: maybe you should make this clear in the documentation (i know you are working on tutorials for the integration of moxiecode-imagemanager)).

I think the combination of md-markitup together with mc-file- and/or imagemanager and a bunch of custom css is unbeatable!

The only problem i have now is that mc-imagemanager wants authentication (which he shouldn’t because i have installed and enabled Moxiecode Authenticator), hmmm, still digging…

Bernd

       
Bernie_the_one's avatar
Bernie_the_one
31 posts
16 years ago
Bernie_the_one's avatar Bernie_the_one

Now, got this worked out too!

I had to use the “BaseAuthenticator” instead of “SessionAuthenticator” in the config.php of mc_imagemanager. No i got the imagemanager popping up withourt asking for password etc.

Could someone confirm that this is the right way to do it?

Really cool, now on to further customizing md-markitup!

Bernd

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

Bernd: I was just coming here to answer your questions and it looks like you got them worked out. Sounds like you cleared the hurdles you needed to for this to work, and I agree:

I think the combination of md-markitup together with mc-file- and/or imagemanager and a bunch of custom css is unbeatable!
       
Bernie_the_one's avatar
Bernie_the_one
31 posts
16 years ago
Bernie_the_one's avatar Bernie_the_one

Ryan,

thanks for the reply, Yes, worked absolutely beutiful now. I’m struggling a bit with the css (switching on and of various settings and making my own).

Is there any chance to add this input-manager to the wiki-module? I can choose to have textile but not md-markitp, it looks like the wiki-module only looks after plugins, not extensions, so md-markitup would be overlooked. Eventually it must be easy to have the md-markitup-fieldtype for the wiki too, maybe its just a fake-plugin needed which fetches md-markitup for the textarea, loading jquery in the header of the wiki and some custom code in the wiki-theme?

any chance? Oops, i see i’m a bit off-topic here, so i post this to the md-markitup-thread too…

Thanks for this great plugin!

Bernd

       

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.