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

Inserting uploaded images and documents into EE posts through TinyMCE editor

Development and Programming

hssweb's avatar
hssweb
8 posts
16 years ago
hssweb's avatar hssweb

We’ve recently set up certain EE posting forms to use the TinyMCE WYSIWYG editor. However, one then encounters problems accessing and posting images and documents through this editor.

The page

http://expressionengine.com/wiki/TinyMCE_and_ExpressionEngine_Integrated_File_Upload_Management/

discusses a method of using additional templates and a reference to external_image_list_url to allow the TinyMCE editor to see a list of previously uploaded files in EE. However, I’ve been having significant difficulties in making this method work - there’s little detail in how things fit together (the calls to nested queries, the set up of the new templates) and the templates I’ve created don’t render the PHP within them to produce the list of images as a javascript array. Has anybody made this work correctly? I’m working locally on a WAMP server on my desktop machine at the moment - not sure if that makes any difference?

I’ve also seen the article http://www.wil-linssen.com/tinymce-wysiwyg-editor-with-tinybrowser-file-browser-in-expression-engine/ about using Tiny Browser, and am tempted to try that out, in preference to the above solution: would people recommend that as a solution?

Thanks,

Anthony.

       
Electric Putty's avatar
Electric Putty
88 posts
16 years ago
Electric Putty's avatar Electric Putty

Hi Anthony,

As an alternative to TinyMCE you could give the epEditor a go.

The EE Extension for epEditor comes ready integrated into EE’s proprietary file system. This means once you’ve installed the Extension you can navigate your upload directories and insert images without any additional templates or JavaScript.

More information is available here.

Best wishes,

Malcolm

       
werxstudio's avatar
werxstudio
12 posts
16 years ago
werxstudio's avatar werxstudio

For some reason I cannot get epEditor to insert an image.

I can view the upload directories, select the image but nothing happens when I hit insert.

Running the latest version both of EE 1.6.8 and epEditor 1.0.5

Any suggestions?

       
Electric Putty's avatar
Electric Putty
88 posts
16 years ago
Electric Putty's avatar Electric Putty

@rcamu: I think you are having the same issue as @Dave_H

Check this post: http://ellislab.com/forums/viewthread/98244/P72/#603270

Hopefully this will solve your problems.

       
werxstudio's avatar
werxstudio
12 posts
16 years ago
werxstudio's avatar werxstudio

Yup…that did it. Is there any way to have it check the domain name and allow the use of the insert image from both www.domain.com and domain.com?

This would help primarily with the client once they start editing the site.

BTW, great work!

       
Electric Putty's avatar
Electric Putty
88 posts
16 years ago
Electric Putty's avatar Electric Putty

@rcamu: This will be part of the next release which will hopefully be available by the end of the month.

       

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.