Welcome, Guest. Please login or register.
March 20, 2010, 04:33:35 PM

Login with username, password and session length
Search:     Advanced search
WB 2.8.1 released!
Download and additional information are available here .
110538 Posts in 15964 Topics by 9310 Members
Latest Member: starnetwork
* Home Help Search Login Register
+  WebsiteBaker Community Forum
|-+  English
| |-+  Modules (Moderators: Argos, BerndJM)
| | |-+  Frontend WYSIWYG editor
Pages: [1] Go Down Print
Author Topic: Frontend WYSIWYG editor  (Read 73 times)
mahalleday

Offline Offline

Posts: 150



WWW
« on: March 16, 2010, 04:22:12 AM »

Has anyone successfully integrated the WB wysiwyg editor into a frontend module?  I would very much like to utilize it in the next release of the adbaker module.  Any help on this would be greatly appreciated.
Logged
erpe

Offline Offline

Posts: 1738



WWW
« Reply #1 on: March 16, 2010, 08:55:09 AM »

HI

as far as I know there is a integration of such an editor in the wbforum module.
http://www.websitebakers.com/pages/modules/interaction/wb-forum.php

Maybe you can have a look to get an impression.

rgds

erpe

Logged

crnogorac081

Offline Offline

Posts: 1161



« Reply #2 on: March 16, 2010, 01:02:40 PM »

I made a mini version of wysiwyg (no droplets, only basic style functions, add image, paste from word..) it is 2mb (too big) so I am still considering options (including security) should I use it or not in my new project Im making..

I can send it to you on email, or you can make your own (copy it to your module and then dissable buttons you want..)

cheers
Logged

Wow, I coded something myself: PM Messanger Modul ,Searchbox with suggestions
Waldschwein
Forum Team
*****
Offline Offline

Posts: 1289



WWW
« Reply #3 on: March 16, 2010, 01:19:19 PM »

Hello!

For that ckeditor http://ckeditor.com/ would be best. Unfortunately ckeditor isn't yet integrated in WB core, because it was quite complicated with CK 3.0 to integrate it. Now with CK 3.2 it's very easy to integrate it, also with jQuery. So you can configure it just uses a small buttonset. Of course then there needs to be made sure, CKeditor (not FCK!) is installed.

Please keep in mind: Frontend editing is always a matter of security...

Yours Michael
Logged

Help! What's a survey? Read my blog -> www.zweiwelt.com | " Make no small plans for they have not the power to stir men`s blood." - Niccolo Machiavelli


Get here the new WebsiteBaker logo! It's the only one.
mahalleday

Offline Offline

Posts: 150



WWW
« Reply #4 on: March 16, 2010, 04:35:27 PM »

Thanks for the advice guys.  Ideally what even editor is installed and set to default in the back-end should be the one used throughout the site.  So supporting just one is out I think.  Unless I somehow package the install for the editor in with the install for my module?

I know there was a module some where that checked if other required modules where installed, does any one no which one that is.  If i could emulate that then I can support only on editor with a check to ensure it is installed.
Logged
oeh
Documentation Team
******
Offline Offline

Posts: 130


German Pischer's, what's life without them?


« Reply #5 on: March 16, 2010, 07:22:45 PM »

Hi.

Is it the Modul Require you are thinking about.

You'll find it here

OE
Logged

Regards
oeh ;-}>
#N/A

Offline Offline

Posts: 14


« Reply #6 on: March 16, 2010, 08:05:30 PM »

Hi,

since WB 2.8, you can define Add-on dependencies by adding an optional "precheck.php" file in your Add-on folder.

The "precheck.php" file allows you to define requirements such as additional WB modules (incl. min. version) or PHP modules or settings (GD lib ...). If one of the defined requirement is not fulfilled, a message is shown listing all requirements met or missed. The installation process will not be continued in that case, unless you solve the conflict (e.g. by installing a required module) before.
« Last Edit: March 16, 2010, 09:14:31 PM by #N/A » Logged
Pages: [1] Go Up Print 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!