Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

DataObjectManager Module /

Discuss the DataObjectManager module, and the related ImageGallery module.

Moderators: martimiz, UncleCheese, Sean, biapar, Willr, Ingo, swaiba, simon_w

Images in SimpleTinyMCEField content?


Reply


7 Posts   1334 Views

Avatar
LesC

Community Member, 70 Posts

25 January 2010 at 6:07am

Edited: 25/01/2010 6:07am

Hi folks,

I would imagine someone has asked this at some point, but I can't for the life of me find it in the forums.

I'm using DOM to create data objects (news articles), and would like to include images in the content area. Is this possible in the SimpleTinyMCEField?

When I click on the image insert icon in the toolbar, it just shows me the old school TinyMCE image manager.

Is there any way to hook it into the main images in the file uploads, or does my client have to work out the url to type in?

I'm hoping this is an easy fix :)

Avatar
UncleCheese

Forum Moderator, 4096 Posts

25 January 2010 at 6:37am

It's not an easy fix. It's pretty far off right now, I'd say. It would require a lot of custom javascript coding, I think, because all of the image/page selection stuff that comes bundled with the SS tinymce field is so baked into CMSMain. It's not even salvageable.

Avatar
LesC

Community Member, 70 Posts

25 January 2010 at 6:48am

Thanks for the quick reply UC. You have no idea how gutted I am that it's not connected!! I'm going to have to see what I can do to get round this, and I'll post back here if I find any result...

Avatar
UncleCheese

Forum Moderator, 4096 Posts

25 January 2010 at 7:14am

When I really need that functionality, I just use ModelAdmin instead of DOM. There comes a point when the requirements of an object simply exceed the capabilities of a popup window.

Avatar
LesC

Community Member, 70 Posts

25 January 2010 at 7:17am

I've built over 10 sites in SS now, and I've never tried out ModelAdmin!! I think I better get to it :) Cheers again Uncle Cheese!

Avatar
UncleCheese

Forum Moderator, 4096 Posts

25 January 2010 at 7:28am

It sucks big time. (Sorry, SS, if you're reading this)

I was in your boat.. stayed away from it for a good year after it deployed. Finally decided to jump in a few months ago, and it's been nothing but a headache for me ever since. It's in dire need of a new UI, for one. Among other shortcomings, there's no list view! (???)

It also requires a bit of JS hacking to get HtmlEditorField working with it. I've actually commissioned SS to expedite the changes. They're working on it as we speak.

Anyway, let me know how you get on. Hopefully you're more patient than I am. :)

Avatar
LesC

Community Member, 70 Posts

25 January 2010 at 7:32am

Righto - in that case I'm going to have to stay away from it too especially until the HTMLEditorfield & listings are sorted.

It's a shame that some of the easy things are so complicated in SS!!

Do you know of a good way to do a news section for a site, that will allow my clients to include images & links in their news articles, but not fill up the left hand menu in the admin tool? This has been driving me crazy this weekend!!