Welcome, Guest. Please login or register.
Did you miss your activation email?
May 25, 2012, 08:29:13 PM

Login with username, password and session length
Search:     Advanced search
Interested in joining the WebsiteBaker team?
For more Information read here or on our new website.
155526 Posts in 21712 Topics by 7737 Members
Latest Member: chris85
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: WYMeditor (wysiwyg module)  (Read 3626 times)
Kimmik

Offline Offline

Posts: 23


« on: July 25, 2009, 11:12:07 PM »

I integrated the WYMedior into WB.

Install via backend or manually.

There's one downside, you have to add class="wymupdate" to the submit button in the wysiwyg module:
>> /modules/wysiwyg/modify.php
line 68:
<input type="submit" class="wymupdate" value="<?php echo $TEXT['SAVE']; ?>" style="width: 100px; margin-top: 5px;" />

- not needed since version 1.1

regards, Kimmik


« Last Edit: July 29, 2009, 05:01:33 PM by Kimmik » Logged
Ralf (Berlin)

Offline Offline

Posts: 1314


« Reply #1 on: July 26, 2009, 05:02:32 AM »

Hello Kimmik,

thank you for this useful integration - I really missed a pure editor with this features.

I'm missing some features to make the WYMeditor to a powerfull WB editor:

  • access to the classes of the active template (button classes at the right side)
  • access to media directory for using images (pure url is not userfriendly)
  • additional options for using images: size, positioning etc.
  • embedding objects i.e. flash

Having this abilities the WYMeditor would be my first choice at a dozen websites...

Regards
Ralf
Logged
Luisehahne
Board Member
Development Team
*****
Offline Offline

Posts: 3146



WWW
« Reply #2 on: July 26, 2009, 06:33:06 AM »

Hi Ralf,

i saw him before two weeks. It's a really simple and fast editor WYMeditor = "what you see is what you mean".
I don't think that the Editor becomes the features you wrote from the Editor Developer team.

Do you see the timeline? There some bugs

http://trac.wymeditor.org/trac/timeline

@Kimmik
many thanks for your good work. WB is needing guys like you.

Dietmar
Logged

We are human beings - and nobody is perfect at all.
Ralf (Berlin)

Offline Offline

Posts: 1314


« Reply #3 on: July 26, 2009, 10:02:40 AM »

@Dietmar:
Quote
i saw him before two weeks. It's a really simple and fast editor WYMeditor = "what you see is what you mean".
I don't think that the Editor becomes the features you wrote from the Editor Developer team.
shurely not - if we want to integrate (and I want it!) WYMeditor to WB we have to use the interface of it and to adapt it to WB - it should be possible if you take a look at TRAC most is already realized (i.e. language selection, imageDialog, Classes a.s.o.).

@Kimmik:
What I want to say is: you have made a very good job, please go ahead and try to adapt and integrate WYMeditor smooth to WB...  cool

Regards
Ralf
Logged
Kimmik

Offline Offline

Posts: 23


« Reply #4 on: July 29, 2009, 05:00:07 PM »

Here's the newest version of the modul.
It doesn't require a change to the submit button anymore.

Normal installation via the backend is all that's needed.

« Last Edit: July 29, 2009, 05:04:34 PM by Kimmik » Logged
Stefek
WebsiteBaker Org e.V.

Offline Offline

Posts: 4884



« Reply #5 on: July 29, 2009, 05:25:30 PM »

Hello Kimmik,

thats great that it is no more needed to adjust the wysiwyg module.

I think you were aware of two additional icons in the FCK Editor, one for internal pages (choose wb Link) and one for droplets.

See also here:
http://www.websitebaker2.org/forum/index.php/topic,1670.msg89971.html#msg89971

It wsa great if you (or someone else) may implement those features into the WYMeditor.

Kind Regards,
Stefek
Logged

"In a time of universal deceit, telling the truth becomes a revolutionary act."
- George Orwell, Nineteen eighty-four (1984)
dbs
WebsiteBaker Org e.V.

Offline Offline

Posts: 3719


WWW
« Reply #6 on: September 28, 2009, 09:55:11 PM »

hello,

in wb-portable with wb2.7 & wb2.8:
Code:
Notice: Undefined variable: section_id in ...\wbdemo\modules\wymeditor\include.php on line 70
only wb-portable-problem?

dbs
Logged

Luisehahne
Board Member
Development Team
*****
Offline Offline

Posts: 3146



WWW
« Reply #7 on: September 28, 2009, 10:06:16 PM »


Quote
\wbdemo\modules\wymeditor\include.php on line 70

Zur Zeit gibt es noch keine offzielle Unterstützung für den wymeditor. Hat den schon jemand angepasst. Bisher noch keine Info. Da muss dann der Module Entwickler ran.

Dietmar
Logged

We are human beings - and nobody is perfect at all.
dbs
WebsiteBaker Org e.V.

Offline Offline

Posts: 3719


WWW
« Reply #8 on: September 28, 2009, 10:10:01 PM »

but on amasp:

http://www.websitebakers.com/pages/admin/admin-tools/wymeditor.php

dbs
Logged

Luisehahne
Board Member
Development Team
*****
Offline Offline

Posts: 3146



WWW
« Reply #9 on: September 28, 2009, 10:32:16 PM »

 Wird wohl dann dein Problem lesen. Sonst PM an ihn.

Dietmar
Logged

We are human beings - and nobody is perfect at all.
erpe

Offline Offline

Posts: 2077


WWW
« Reply #10 on: September 29, 2009, 09:33:50 AM »

Hi

Kimmik has obviously retired from websitebaker.
Would be nice if someone will maintain this module, for editors need more maintaining than other modules.

rgds

erpe
« Last Edit: September 29, 2009, 11:21:11 AM by erpe » Logged

dbs
WebsiteBaker Org e.V.

Offline Offline

Posts: 3719


WWW
« Reply #11 on: September 29, 2009, 10:22:08 AM »

my modul-rss-feed says new/update module wymeditor and i go and download it, but i don't look at version-date, only look at site-modified-date. *g*

dbs
Logged

Ralf (Berlin)

Offline Offline

Posts: 1314


« Reply #12 on: September 29, 2009, 10:31:24 AM »

Would be nice if someone will maintain this module, for editors need mor maintaining than other modules.

I think all modules should be maintained continously  grin

But you are right: I think editor modules are more sensitive than other.

WYMeditor would be a very valuable module for WB especially in multiuser environments and is fully within the philosophy "as simple as possible".

So it would be very, very nice if someone will take care about integration of WYMeditor!

Regards
Ralf
Logged
dbs
WebsiteBaker Org e.V.

Offline Offline

Posts: 3719


WWW
« Reply #13 on: September 29, 2009, 02:01:56 PM »

i mean, the wymeditor should be moved from "admintools" to under "construction" or "2 to list"

dbs
Logged

Waldschwein
Guest
« Reply #14 on: June 24, 2010, 03:54:05 PM »

Hello!

Here is version v1.2.0.

It contains WYMeditor v0.5 RC2.

Changes to version 1.1
- Recoded include.php:
Does not require WB database anymore. Also makes use of several settings - it's easier to customize now.


Known issue: There is a JavaScript error - but it's not possible for me to remove it.

We need
Code:
wymupdate = document.getElementsByName("wysiwyg'.$id.'").getElementsByTagName("input");
for saving.
I made some experiment with jQuery - but unfortunately it doesn't work...
Code:
wymupdate = $('form[@name=wysiwyg".$id."] > input');

Yours Michael
Logged
hellblazer

Offline Offline

Posts: 40


« Reply #15 on: June 24, 2010, 04:31:04 PM »

WYM expected a textarea within the name "wysiwyg" but afaik the
function inside WB uses "content" ... so you will have to change the line as follow:
Code:
wymupdate = document.getElementsByName("content'.$id.'").getElementsByTagName("input");

the other line you posted doesn't make sense at all, as there is no element within this name.

Regards
Hellblazer
« Last Edit: June 24, 2010, 04:39:49 PM by hellblazer » Logged

It's not the PHP itself - it's the thought behind it, that drives me mad.
erpe

Offline Offline

Posts: 2077


WWW
« Reply #16 on: June 24, 2010, 04:38:31 PM »

@Michael

habe dir bei AMASP Access für die Seite gegeben.
Kannst das überarbeitete dann selbst eben hochladen.

Danke, dass du dich um das Modul kümmerst.

Gruss

erpe

edit: upps, sorry for posting in wrong language......

Logged

Waldschwein
Guest
« Reply #17 on: June 24, 2010, 06:36:45 PM »

Hello!

Thanks erpe, I will upload it when optimizing the last things.

@hellblazer: Yes, I had a logical failure here... I will correct it, perhaps with jQuery (because WYMeditor needs it anyway, we'll see).

About all the feature wishes from last year: I don't think we should put here all features inside we can get. We have three - four "feature blown" editors (FCKEditor, CKEditor, TinyMCE, perhaps XINHA). I think it's better having two smaller editors (WYMeditor and the other "new" one nicEdit) people can choose of. We should better prepare them the way everybody can easily put any plugin into it him/herself if they wish.

Yours Michael
Logged
snark
Guest
« Reply #18 on: June 24, 2010, 06:45:07 PM »

would be great to have a alteration to the regular wysiwyg module where you can choose an editor for the instance of the module in stead of how it is now and choose one editor for the whole site ...

Logged
Waldschwein
Guest
« Reply #19 on: June 24, 2010, 07:39:41 PM »

would be great to have a alteration to the regular wysiwyg module where you can choose an editor for the instance of the module in stead of how it is now and choose one editor for the whole site ...

Yes, that would be best. In fact, the current WYSIWYG module is a bit very poor in functionality - well, it is just an API that provides the "show_wysiwyg_editor" function for the editors, nothing more.
I am playing quite a long time with the idea combining the current WYSIWYG module with the history function from thorn http://nettest.thekk.de/docs/wysiwyg_history/files/naturaldocs_txt/title-txt.html and providing a GUI in "Admin-Tools" where admins can customize their editor without accessing the config / include.php files.
The only problem is... That would need quite a bunch of PHP knowledge... and of course time. If anybody is willing to help it would be a real pleasure.
In fact it isn't even a "Core replacement" because... WYSIWYG is just a normal module itself, too. Just an important one.

Yours Michael
Logged
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!