Page 1 of 1

WYSIWYG-Editors and media database

Posted: Sun Mar 25, 2007 12:57 pm
by Django Fett
Hi s9y-crew and users,

first I have to say thanks for the good piece of software you are creating. I have recently started my own blog with s9y (1.1.2) and multilingual-plugin.

I now have a problem with the various WYSIWYG editors (incl. the build in one). They all aren't using the media database so I switched over to the normal editor. I have two questions regarding this:
Has anybody found a way to implement the media database into one of the WYSIWYG editors?

How can I add my own buttons to the standard non-WYSIWYG editor? I want to have some Buttons for always needed code-snippets like br's, lists and so on.

At the end I have to say that I'm a pretty good PHP programmer so you can give me some hints and i'll do the work :wink:

Re: WYSIWYG-Editors and media database

Posted: Sun Mar 25, 2007 1:16 pm
by garvinhicking
Hi!

In fact the internal WYSIWYG editor DOES use the s9y mediadatabase. You just need to click on the image with the dots in it that's labelled "Media database". NOT the "insert picture" button.

I also believe that some of the external WYSIWYG editors (Xinha, TinyMCE, FCKEditor) have their own media manager that can be enabled. Sadly I don'T know much about the editors, so I couldn'T properly figure out what API they need to insert content from the s9y mediadatabase...
How can I add my own buttons to the standard non-WYSIWYG editor? I want to have some Buttons for always needed code-snippets like br's, lists and so on.
I think there's some plugins on spartacus.s9y.org that deal with extended emoticions or typographic quote buttons, so you could use that for a starting point maybe?
At the end I have to say that I'm a pretty good PHP programmer so you can give me some hints and i'll do the work :wink:
Awesome, your help is surely required :)

HTH,
Garvin

Re: WYSIWYG-Editors and media database

Posted: Sun Mar 25, 2007 2:27 pm
by Django Fett
garvinhicking wrote:Hi!

In fact the internal WYSIWYG editor DOES use the s9y mediadatabase. You just need to click on the image with the dots in it that's labelled "Media database". NOT the "insert picture" button.
The internal WYSIWYG is not properly working with my Firefox 2.0.0.3 so I turned it off very quickly.
garvinhicking wrote:I also believe that some of the external WYSIWYG editors (Xinha, TinyMCE, FCKEditor) have their own media manager that can be enabled. Sadly I don'T know much about the editors, so I couldn'T properly figure out what API they need to insert content from the s9y mediadatabase...
I have tried FCKEditor and TinyMCE already but they couldn't really convince me. Maybe I will have a look at this when I'm not satisfied with the button solution.
garvinhicking wrote:I think there's some plugins on spartacus.s9y.org that deal with extended emoticions or typographic quote buttons, so you could use that for a starting point maybe?
I always overlook the easy way :oops: thanks for the tip. I'll do my best.

Regards
Christian

Re: WYSIWYG-Editors and media database

Posted: Sun Mar 25, 2007 2:33 pm
by garvinhicking
Hi!
The internal WYSIWYG is not properly working with my Firefox 2.0.0.3 so I turned it off very quickly.
Could you give details for that? Maybe something is fixable...

Best regards,
Garvin

Posted: Sun Mar 25, 2007 4:49 pm
by Django Fett
I have the problem that I can't enter something into the box when creating a new entry. After your request for details I just tried out some things and now it works. If I can't enter any characters I first have to click on the "body" tag in the path-bar at the bottom of the box. The Pictures are taken from the media database with that WYSIWYG now so I think I will stay with it.

Thanks for your help.