Jump to:

7935 Posts in 1536 Topics by 943 members

DataObjectManager Module

SilverStripe Forums » DataObjectManager Module » Popup Editor Image Handling

Discuss the DataObjectManager module, and the related ImageGallery module.

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

Page: 1
Go to End
Author Topic: 690 Views
  • Lazarus404
    Avatar
    Community Member
    71 Posts

    Popup Editor Image Handling Link to this post

    Hey guys,

    I'm using the DataObjectManager for a project I'm working on, and I'm making use of the editor it provides for popups. Everything works great, and I love the extra functionality, but I'm finding the image handling in that editor to be a pain.

    The clients I have are not very savvy when it comes to the web, so they need to have this work as painless as possible. What I need is, when they click on the image link, a panel listing the contents of Files & Images to appear, so they merely need to point and click.

    Has anyone achieved this, or is the code that handles this somewhat of a landmine? If so, what about swapping out the editor altogether for something that could be manipulated to this end?

    Thanks,
    Lee

  • Lazarus404
    Avatar
    Community Member
    71 Posts

    Re: Popup Editor Image Handling Link to this post

    Anyone have any comment on this? If not, I guess I'll get hacking!

    Lee

  • UncleCheese
    Avatar
    4085 Posts

    Re: Popup Editor Image Handling Link to this post

    If you use Uploadify for your image uploader, you get a "choose existing" tab that will let you browse for files in the file tree. My clients really like that..

  • Lazarus404
    Avatar
    Community Member
    71 Posts

    Re: Popup Editor Image Handling Link to this post

    Thanks UncleCheese,

    I'm using Uploadify, but I don't see any tab... Where will I see it?

    Just to be clear, I'm referring to the HTML editor control for popups, whereby, in non-IE browsers, I get a simple URL prompt, while IE gives me some spacing options and the ability to upload a file. What I really need is to be able to specify a file from the Uploads directory...

    Thanks,
    Lee

  • UncleCheese
    Avatar
    4085 Posts

    Re: Popup Editor Image Handling Link to this post

    Ahh, yeah, you're going to have a hard time with that. I would either move everything up to the Page level and use the standard wysiwyg, or allow one or multiple images to be a field of the datobject and build it into the template.

    In my experience, burdening a wysiwyg editor like that just leads to bad things. The client ultimately ends up trashing the site because they just start sticking things all over the place and pasting in garbage form Microsoft Word.

    Maybe that's just me..

    690 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.