|
|
FCKW Dokuwiki PluginThis is the home page for the FCKeditor/Dokuwiki integration project. The current stable release version is 0.8 and it was published on January 22nd, 2009. Yet another WYSIWYG Dokuwiki PluginFCKW is the result of the intension to combine one of the best html wysiwyg editors (FCKeditor) with a good and well maintined wiki (Dokuwiki). It's name can be seen as the concatenation of both these things: FCKeditor and Dokuwiki. A `best of breed` approach, obviously. The choice of tools used was based on two imperatives:
Why WYSIWYGTo nerds and geeks like myself, the following question keeps popping up: "Why would anyone want a wysiwyg editor in a wiki?" The answer is easy: Because not everyone who needs a wiki, understands the beauty of wiki syntax. And to most people, the wiki syntax is a major drawback to using a wiki. Since the 0.2 release, the user has the possibility to switch between wysiwyg and wiki syntax while editing. Why FCKWThere are already various attempts to integrate the FCKeditor into Dokuwiki. So what does the FCKW plugin do, what others can not? The FCKW plugin stores the pages in wiki syntax. This gives the user the possibility to switch back to a regular Dokuwiki, without loosing anything. And should Dokuwiki ever include it's own wysiwyg editor, all you'd need to do, is remove the plugin, and you'd be back on track. You can also switch back to the wiki syntax while editing DemoInstallationPlease refer to the installation documentation for installation documentation. LicenseLicense: GNU GPL v2. ContactShould you have any comments or suggestions, feel free to contact me on my e.mail: pierre.spring@liip.ch Changelog
|
Comments (75)
Feb 12, 2008
Anonymous says:
this is great!!! thank you for sharing it. one suggestion, it would...this is great!!! thank you for sharing it.
one suggestion, it would awesome if one could create links to pages (not images) by browsing (perhaps with a modified version of media manager) instead of typing in the link itself. An option to create a new folder/namespace should also be provided if the desired namespace does not yet exists.
Feb 27, 2008
Anonymous says:
Pierre, is the 0.9 tag released?Pierre,
is the 0.9 tag released?
Apr 15, 2008
Anonymous says:
You may add <input type="hidden" name="sectok" value="<?php echo get...You may add
<input type="hidden" name="sectok" value="<?php echo getSecurityToken()?>" />
just after
<input type="hidden" name="suffix" value="<?php echo formText($SUF)?>" />
in /path/to/doku/lib/plugins/fckw/action/edit.php
to allow this plugin to work with the last dokuWiki version.
Apr 29, 2008
Anonymous says:
Nice one! Thanks a lot!Nice one! Thanks a lot!
May 07, 2008
Anonymous says:
Thank you very much this made the warning about security tokens and possible CSR...Thank you very much this made the warning about security tokens and possible CSRF attacks disappear!
Additionally, I had to change DokuWikiFCKW to DokuWiki in action/save.php as described in another forum.
Could you please integrate these changes in a new release of fckw?
There has also been a new release of Dokuwiki recently (2008-05-05).
May 07, 2008
Anonymous says:
Arrgh, I just found that FCKW destroys the content of other plugins, like bibtex...Arrgh, I just found that FCKW destroys the content of other plugins, like bibtex, latex, or doodle.
I.e., foreign environments like <latex></latex>, <code></code>, <bibtex></bibtex>, etc should be ignored when saving text
May 13, 2008
Anonymous says:
Hi, I've made this changes, but it doesn't work with dokuwiki-2008-05-05 versio...Hi,
I've made this changes, but it doesn't work with dokuwiki-2008-05-05 version.
That's make just delete the page...
Have you any solution?
Thx in advance,
(Excuse me for my english)
Apr 17, 2008
Anonymous says:
Hello, the windows share links are somehow converted after saving the page. I'm...Hello,
the windows share links are somehow converted after saving the page. I'm not able to create a link to a folder/document within the network.
my steps:
use "link" function within editor
create windows share link with unc path
after "ok" it looks like it should
after ssaving the page it's converted to a "non-existing page link".
Can anybody help on this?
regards
Joe
Jan 12, 2009
Anonymous says:
There are a few comments here - If you're using IE, you should be able to click...There are a few comments here -
If you're using IE, you should be able to click file:// and file://// links without problem.
If you're using Firefox in windows, this is disabled by default (google for firefox unc for help to change preference.)
If you're using a Mac, you have to use something like smb:// or nfs:// instead.
May 03, 2008
Anonymous says:
This would be a cool editor ... but czech characters are lost when editing This...This would be a cool editor ... but czech characters are lost when editing
This: +?š??žýáíé= is replaced by +?š??žýáíéé
Jun 03, 2008
Anonymous says:
Love this plugin. But currently I have a conflict with another plugin. It's the ...Love this plugin. But currently I have a conflict with another plugin. It's the ajax chat plugin from http://blackdaemon.no-ip.org/wiki/dokuwiki:plugin:chat, modified to work with 2008-05-05 dokuwiki.
When I enable the chat plugin, in firefox and opera the fckw plugin comes up with the source view (in html) but there is no menu. I can type in it, and it saves just fine, but no menu and no wysiwyg. But it still works in ie, just fine. When I disable chat, it works on all browsers. Also, the chat plugin is loaded by a ~CHAT~ comment in the page. This is happening on all pages, regardless of the comment.
So how does an unloaded plugin effect another one? If anyone has any ideas I'd appreciate it. Thanks.
Jun 06, 2008
Anonymous says:
Hi, good work. This Plugin is really nice. Anyway, I noticed some problems: 1....Hi,
good work. This Plugin is really nice.
Anyway, I noticed some problems:
1. Code like for example hello world:
<code c>
#include <stdio.h>
int main(void)
{
printf("Hallo Welt!\n");
return 0;
}
</code>
This gets replaced by:
<code>
#include int main(void)
</code>
by editing the page again. (see your sandbox)
2. Other Plugins like ODT that you can use vio
~ODT~
This "special" Tag gets also "destroyed"
Is it possible to modify your plugin so that this is working?
Thanks in advance,
Dirk
Jun 08, 2008
Anonymous says:
Ya, I notice this problem too. Seems that when the file gets processed (by fckw ...Ya, I notice this problem too. Seems that when the file gets processed (by fckw or after, I don't know) if it reaches a ">" (or a "<"?) inside the <code> block, it will cut off a section (or more). So either the editor or the post process is not parsing it right. Even happens if you view a correct page in fckw and then switch to wiki format. Part(s) of the page will be gone.
Trying this code, the for loop line will show "for($i=0;$i" and then continue somewhere down the page.
<code>
...
my $current = '';
my $istext = 0;
for($i=0;$i<length($line);$i++){
if($chars[$i] eq $quote){ #handle quote chars
...
</code>
matt
Jun 18, 2008
Anonymous says:
I have also this problem... The FCKW destroys the content of other plugins like...I have also this problem...
The FCKW destroys the content of other plugins like note,
I have test by add note tag in fckconfig.js
FCKConfig.RemoveFormatTags = 'b,big,code,del,dfn,em,font,i,ins,kbd,q,samp,small,span,strike,strong,sub,sup,tt,u,var,note' ;
And don't take effect..
Jun 26, 2008
Anonymous says:
This "CPAN HTML::WikiConverter package" requirement really prevent installation ...This "CPAN HTML::WikiConverter package" requirement really prevent installation on most web host.
Why don't you just modify the fckeditor for mediawiki to work with dokuwiki.
All the html conversion are done via fckeditor + javascript so no extra package to install. You can also quickly change between wysiwyg and wikitext. They has made a lot of improvement that allow this to work correctly even on IE6.
Check out the SANDBOX page.
Jun 28, 2008
Anonymous says:
Thanks for a great addition to Dokuwiki - I found fckw to work well if I use it ...Thanks for a great addition to Dokuwiki - I found fckw to work well if I use it to edit and switch to "wiki syntax" to add markup for incompatible plugins (note and ODT). The problem with this workaround is that when I go back to edit the page again, it loads into FCK and all the incompatible markup is lost - While it would be great if all the plugins wrre compatible, as a workaround and generally useful feature, would it be possible to have an option to open editing with "wiki syntax" instead of just defaulting to FCK?
Jul 03, 2008
Anonymous says:
Hi, first I want to thank you for this nice plugin. But I have to questions: 1. ...Hi,
first I want to thank you for this nice plugin.
But I have to questions:
1. How could I create Tableheaders like the wiki syntax ^ hallo ^ foo ^
2. The windows links doesn't work. Everytime I save the site I'll get wiki links.
Regards
Paul
Jul 16, 2008
Anonymous says:
Aaaaahhhhhh. I've been so frustrated trying to get a wysiwyg to work and I am so...Aaaaahhhhhh. I've been so frustrated trying to get a wysiwyg to work and I am so close....
I am trying to paste some documentation from word which works perfectly in your "sandbox", but when I do it on my site and look at the source, I get a lot of all through my docuement. Please help.....
Jul 16, 2008
Anonymous says:
Ahh. Sorry, just realised what I did. Used different browsers. Just one other...Ahh. Sorry, just realised what I did. Used different browsers. Just one other thing which I've just realised. The "works perfectly" was not entirely true. When I pasted from word, I had some text in a text box which looks good when editing it, but seems to disappear when pressing save. It also happens in your "sandbox"
Thanks again.
Jul 20, 2008
Anonymous says:
Has anyone gotten the HTML2WIKI to load correctly on a funplug enabled DNS-323? ...Has anyone gotten the HTML2WIKI to load correctly on a funplug enabled DNS-323? I have 'make' and 'perl' installed but can't get "perl -MCPAN -e 'install HTML::WikiConverter::DokuWiki'" or the manual install with 'make' to work.
Manually I got all sorts of dependency errors:
# *perl Makefile.PL*
Warning: prerequisite CSS 0 not found.
Warning: prerequisite Class::Data::Inheritable 0.02 not found.
Warning: prerequisite HTML::Element 0 not found.
Warning: prerequisite HTML::Entities 1.27 not found.
Warning: prerequisite HTML::Tagset 3.04 not found.
Warning: prerequisite HTML::Tree 3.18 not found.
Warning: prerequisite Params::Validate 0.77 not found.
Warning: prerequisite URI 1.35 not found.
Warning: prerequisite URI::Escape 0 not found.
Writing Makefile for HTML::WikiConverter
When I run "*perl -MCPAN -e 'install HTML::WikiConverter::DokuWiki*" I get the following errors...
Can't locate object method "data" via package "CPAN::Modulelist" (perhaps you forgot to load "CPAN::Modulelist"?) at (eval 11) line 1.
at /ffp/lib/perl5/5.8.8/CPAN.pm line 3405
CPAN::Index::rd_modlist('CPAN::Index', '/mnt/HD_a2/ftp/.cpan/sources/modules/03modlist.data.gz') called at /ffp/lib/perl5/5.8.8/CPAN.pm line 3128
CPAN::Index::reload('CPAN::Index') called at /ffp/lib/perl5/5.8.8/CPAN.pm line 675
CPAN::exists('CPAN=HASH(0x6e3a3c)', 'CPAN::Module', 'HTML::WikiConverter::DokuWiki') called at /ffp/lib/pe rl5/5.8.8/CPAN.pm line 1841
CPAN::Shell::expandany('CPAN::Shell', 'HTML::WikiConverter::DokuWiki') called at /ffp/lib/perl5/5.8.8/CPAN .pm line 2077
CPAN::Shell::rematein('CPAN::Shell', 'install', 'HTML::WikiConverter::DokuWiki') called at /ffp/lib/perl5/ 5.8.8/CPAN.pm line 2164
CPAN::Shell::install('CPAN::Shell', 'HTML::WikiConverter::DokuWiki') called at /ffp/lib/perl5/5.8.8/CPAN.p m line 79
CPAN::AUTOLOAD('HTML::WikiConverter::DokuWiki') called at -e line 1
Aug 10, 2008
Anonymous says:
Hi, Fist I'd like to congratulate the effort of integrating FCK with dokuwiki, ...Hi,
Fist I'd like to congratulate the effort of integrating FCK with dokuwiki, it's a great job but the latest build simply breaks all the pages that use third party plugins.
All my youtube embeded player tags get converted to a simple external link for instance.
Does this issue rings a bell to anyone ?
Is it the build that is completely broken or some incompatibility with one of my plugins ?
Best Regards,
Michel Courtine
http://michak.net
Sep 03, 2008
Anonymous says:
Just a little rant... While I appreciate the effort made by the authors of this...Just a little rant...
While I appreciate the effort made by the authors of this plugin it doesn't work on my system ...
Just as indicated in many other comments: my dokuwiki pages gets deleted when I try to use the editor, and i'm pretty sure it comes down to the cpan module not being installed properly
so here goes my rant:
Implementing perl on windows is UTTER crap!!
I have been trying now for 12 hours to get the f*cking cpan module loaded into my perl installation on xp pro (i'm using xampp), i.e C:\>xampp\perl\bin\perl -MCPAN -e "install HTML::WikiConverter::DokuWikiFCK".. using this method it keeps failing with:
Alert: While trying to 'parse' YAML file
'\xampp\perl\cpan\FTPstats.yml'
with 'YAML::XS' the following error was encountered:
Usage: YAML::XS::LibYAML::Load(yaml_str) at C:\xampp\perl\lib/YAML/XS.pm line
70.
Then I have searched for alls sorts of methods for doing a manual install, tried making a ppm package and so on .. none worked... This seemingly simple task is just so incredibly badly documented.
Yes, i'm a newbie to perl, but do a little php, which is just 1000 times better documentated. Perl really sux!!
As I stated, this is not directed at the authors of the plugin as it is not their fault.
Sep 14, 2008
Anonymous says:
Could it be posible to have a 100% php solution? This will really help shared ho...Could it be posible to have a 100% php solution? This will really help shared hosting and resource usage by only having 1 code to compile in the server.
Maybe this could help: http://pear.php.net/package/Text_Wiki
BTW, I just registered in liip.ch and could not login here.
Thanks
Oliver http://tinymailto.com/oliversl <-- my email after a captcha
Sep 16, 2008
Anonymous says:
Hi, really nice plugin. BUT! We have problems with tables. If you insert 0 (...Hi, really nice plugin. BUT! We have problems with tables. If you insert 0 (zero) into cell and save the page, this 0 disappears and the cell is empty. I don't know where is the problem. If I try the mediawiki FCKEditor, it works good.
Thanks for answer,
Pavel
Sep 17, 2008
Anonymous says:
I am trying to get this plugin to work, and I finally found out why it will not....I am trying to get this plugin to work, and I finally found out why it will not. It has been failing similarly to some people above in that it would not save if edited in the FCKeditor. The saveFCK.pl script faiils. I turned debug on and it can not find HTML::WikiConverter. HTML::WikiConverter script html2wiki works fine standalone before I try editing.
I know why because I have two installs of perl on my machine /usr/bin/perl(5.8) and /usr/local/bin/perl (5.10). I want to use the /usr/local/bin/perl install because the other is the system os install which I have to leave because it is required for a lot of system prerequisites. For some reason the scripts will use /usr/bin/perl; the newer version I installed is in /usr/local/bin/perl. I tried to explicitly to require using /usr/local/bin/perl but it doesn't seem to work.
I don't know a lot about perl, but how can I change it to so that it finds the right perl. My paths are set to find /usr/local/bin first for the web application user. The weirdest thing about this is afterward html2wiki doesn't work I get this error message.
Can't use string ("ANY") as a HASH ref while "strict refs" in use at ./html2wiki line 85.
Thank you.
Sep 17, 2008
Anonymous says:
Oops my bad. I had two pages up. My problem is with the other plugin. Sorry.Oops my bad. I had two pages up. My problem is with the other plugin. Sorry.
Jan 21, 2009
Anonymous says:
To resolved @import url(/download/resources/confluence.ext.code:code/shStyles....To resolved
Use this script :
Sep 18, 2008
Anonymous says:
Hi, love the plugin. Just an idea - would it be possible to remove the Perl depe...Hi, love the plugin. Just an idea - would it be possible to remove the Perl dependency with PHP's built-in XML parsing (afterall, FCK already produces XHTML)? It seems like converting XML to Wiki should be pretty straightforward. I've been using a method that starts like this with decent success:
$parser = xml_parser_create();
xml_set_element_handler($parser, 'startElement', 'endElement');
function startElement($parser, $name, $attrs)
{
switch($name) {
case "H1":
$this->output .= "====== ";
break;
...
This method might fall apart on complex inputs.. but for the basic formatting it seems to work fine.
Anyway, just an idea. Thanks for the great plugin.
Oct 01, 2008
Anonymous says:
Anything between angle brackts (less than/greater than) ist getting lost. <so...Anything between angle brackts (less than/greater than) ist getting lost.
<someXml>foobar</someXml>
In other news: greatest. plugin. evar.
Oct 07, 2008
Anonymous says:
There is a flaw in /action/save.php, line 55: @import url(/download/resources/c...There is a flaw in /action/save.php, line 55:
Current versions of DokuWiki use strftime() syntax for the date format, so it should be:
Nov 06, 2008
Anonymous says:
Thank you for the nice plugin! I have a suggestion for an addition: It would be...Thank you for the nice plugin!
I have a suggestion for an addition:
It would be nice to have another way to switch between wysiwyg editing mode and wiki markup (quick tags) editing mode.
With your plugin switching to wiki markup mode is cumbersome. I would suggest something like in moinmoin wiki where you have two edit buttons ("Edit" and "Edit GUI") so different users can easily and quickly choose how they want to edit a page.
Regards
Tom
Nov 20, 2008
Anonymous says:
"many bug fixes" -> Not really an usefull comment. What are the bugfixes? Cur..."many bug fixes" -> Not really an usefull comment. What are the bugfixes? Currently I'm having problems with this plugin specially with bullets and lists. When I use the normal wiki sintax, I see correctly the numered list; however, when editing the document by using this WYSIWYG editor, it will change the whole numeration. It would be usefull to see a real changelog.
Nov 28, 2008
Anonymous says:
Nice plugin, very seducing. But is there any way to switch back and forth betwee...Nice plugin, very seducing. But is there any way to switch back and forth between Wiki syntax and Wysiwyg ?
It could be a good way for beginners to learn the syntax without being forced to wait too long before publishing.
From what I saw, so far, once you are back to the traditional syntax, the only way to switch to FCKW is to save end restart editing.
Thanks for your answer
Emache
Feb 19, 2009
Anonymous says:
Using the current trunk SVN r11193, editing a table cell with the content of a s...Using the current trunk SVN r11193, editing a table cell with the content of a single zero ("0") leaves you with an empty cell.
Feb 19, 2009
Anonymous says:
Additionally, if I edit a page with some.pdf|Linkname and switch to "Wiki Syntax...Additionally, if I edit a page with some.pdf|Linkname and switch to "Wiki Syntax", the image link becomes completely broken.
Feb 19, 2009
Anonymous says:
Which, I found out, happens when I have $conf['userewrite'] = 2...Which, I found out, happens when I have
$conf['userewrite'] = 2
active in DokuWiki to get non-ugly links.
Jul 19, 2009
Anonymous says:
Any workaround for use the plugin with the $conf['userewrite'] =...Any workaround for use the plugin with the $conf['userewrite'] = 2 ? (url rewrite )
Oct 02
Anonymous says:
Read bottom comment, i have a work around.Read bottom comment, i have a work around.
Feb 20, 2009
Anonymous says:
Hello. I'm trying to integrate with my FCK Dokuwiki, but when I get edito the...Hello.
I'm trying to integrate with my FCK Dokuwiki, but when I get edito
the following error ...
Warning: include_once(/homepages/32/d231831292/htdocs/dokuwiki/lib/plugins/snippets/helper.php) [function.include-once]: failed to open stream: No such file or directory in /homepages/32/d231831292/htdocs/dokuwiki/inc/plugincontroller.class.php on line 82
Warning: include_once() [function.include]: Failed opening '/homepages/32/d231831292/htdocs/dokuwiki/lib/plugins/snippets/helper.php' for inclusion (include_path='.:/usr/lib/php5') in /homepages/32/d231831292/htdocs/dokuwiki/inc/plugincontroller.class.php on line 82
We pass a screenshot of the screen ...
http://www.robayna.es/error.jpg
Can you help me?
Thank you.
Feb 21, 2009
Anonymous says:
Hi I'm just getting exactly the same warning although the editor itself seems to...Hi
Life wasn't that easy.
I'm just getting exactly the same warning although the editor itself seems to be working.
Looking at the message I reallized that I don't even have snippets\ folder under plugins\.
Then looking in the plugins\fckw\ folder I found file "helper.php".
Naturally you'd create plugins\snippets\ folder and copy this "helper.php" file there, wouldn't you?
Well, don't do that
Now I get a complete ERROR (not even a warning) as below, and nothing else shows up any more on the page;
Fatal error: Cannot redeclare class helper_plugin_fckw in (dokuwiki home dir)\lib\plugins\snippets\helper.php on line 45
I've been recently trying out many wiki/cms software and DokuWiki so far seems to be the best. But I do need WYSIWYG
for my co-workers as otherwise they won't keep using wiki without it (I'm trying to setup a wiki for small group of
people at work to share information/files).
If someone could help me I really appreciate it.
I'm test-running DokuWiki on my Win-XP PC, XAMPP 1.7.0.(= Apache 2.2.11
+ MySQL 5.1.30 + PHP 5.2.8), and perl v5.10.0.
Yazoo
Feb 27, 2009
Anonymous says:
It seems FCK Dokuwiki has a dependency with another plugins from the same author...It seems FCK Dokuwiki has a dependency with another plugins from the same author. The Warning seems to be intruduced with dokuwiki-2009-02-14.
The plugin is not listed on plugins-page (at dokuwiki) but there is code in the subversion Repository at svn.liip.ch and a info-file (see: https://svn.liip.ch/repos/public/misc/dokuwiki/plugins/snippets/info.txt).
To solve the problem:
1. cd into plugins-folder e.g. "cd /WEBROOT/wiki/plugins" (substitute WEBROOT with your path)
3. make a subversion checkout of the "snippets"-plugin:
svn co https://svn.liip.ch/repos/public/misc/dokuwiki/plugins/snippets
If you do not have subversion on the server:
1. fetch it from my site: ftp://ftp.stefanux.de/dokuwiki/plugins/snippets.tar.gz
2. unpack in /WEBROOT/wiki/plugins (with "tar xvzf snippets.tar.gz" change permission to the user of the webserver afterwards)
attention: packed from svn-revision 11213 (Snippets Plugin vers. 2008-01-10), i will not update it!
greetings
Stefan
Mar 01, 2009
Anonymous says:
Thanks, Stefan. I' got snippets.tar.gz from your site and unpacked it it plugin/...Thanks, Stefan. I' got snippets.tar.gz from your site and unpacked it it plugin/ directory.
Then I started getting new warnings;
Warning: include_once(\WEBROOT\dokuwiki/lib/plugins/discussion/action.php) [function.include-once]: failed to open stream: No such file or directory in \WEBROOT\dokuwiki\inc\plugincontroller.class.php on line 82
Warning: include_once() [function.include]: Failed opening 'WEBROOT\dokuwiki/lib/plugins/discussion/action.php' for inclusion (include_path='.;C:\xampp\php\pear\') in \WEBROOT\dokuwiki\inc\plugincontroller.class.php on line 82
I've downloaded & unpacked "discussion" pluing (wondering how it's relevant to FCKW). I no longer see those warnings but FCKW still doesn't work....
(I see now the text in text box are HTML syntax, not wiki syntax. So I assume Fckw is trying to do something but it's not really wokring...)
Feb 21, 2009
Anonymous says:
...same Problem: "Warning: include_once(...../htdocs/dokuwiki/lib/plugins/snippe......same Problem:
"Warning: include_once(...../htdocs/dokuwiki/lib/plugins/snippets/helper.php) [function.include-once]: fail"... usw.
Need help too.
Please
Feb 25, 2009
Anonymous says:
This plugin unfortunately has problem with some unicode characters. When I enter...This plugin unfortunately has problem with some unicode characters. When I enter "árvízt?r? tükörfúrógép" into FCKEdit and save the page it strips the "?" and "?" chars from the text. When I enter the same sentence in wiki mode, it is displayed correctly, even in FCKEdit until the first save.
Feb 26, 2009
Anonymous says:
Actually this is a bug of save.php - it should shet utf-8 collation mode for esc...Actually this is a bug of save.php - it should shet utf-8 collation mode for escapeshellarg() to work properly. Patch follows:
— action/save.php.bak 2009-02-25 12:07:31.000000000 +0000
+++ action/save.php 2009-02-26 08:53:15.000000000 +0000
@@ -83,7 +83,8 @@
$text = '<h1>'.$_REQUEST['fckw_title'].'</h1>'.$text;
}
}
+ setlocale(LC_CTYPE, "UTF8", "en_US.UTF-8");
+ $text = shell_exec('cd '.dirname(_FILE_).'/../lib; echo ' . escapeshellarg($text) . ' | html2wiki --dialect DokuWikiFCKW --base-uri='.DOKU_BASE);
$text = @html_entity_decode($text, ENT_NOQUOTES, 'UTF-8');
if (isset($_REQUEST['fckw_nocache'])) {
$text .= "\n~NOCACHE~";
Feb 27, 2009
Anonymous says:
you know, i have several problems with your plugin: first of all, when editing: ...you know, i have several problems with your plugin: first of all, when editing:
Warning: Doku_Plugin_Controller::include_once(/home/httpd/vhosts/yalmagazine.org/httpdocs/homepage1/lib/plugins/snippets/helper.php) [function.Doku-Plugin-Controller-include-once]: failed to open stream: No such file or directory in /home/httpd/vhosts/yalmagazine.org/httpdocs/homepage1/inc/plugincontroller.class.php on line 82
Warning: Doku_Plugin_Controller::include_once() [function.include]: Failed opening '/home/httpd/vhosts/yalmagazine.org/httpdocs/homepage1/lib/plugins/snippets/helper.php' for inclusion (include_path='.:/usr/share/pear') in /home/httpd/vhosts/yalmagazine.org/httpdocs/homepage1/inc/plugincontroller.class.php on line 82
Solved with commenting out line 40-46
Second, when saving:
Warning: shell_exec() has been disabled for security reasons in /home/httpd/vhosts/yalmagazine.org/httpdocs/homepage/lib/plugins/fckw/action/save.php on line 86
Warning: Cannot modify header information - headers already sent by (output started at /home/httpd/vhosts/yalmagazine.org/httpdocs/homepage/lib/plugins/fckw/action/save.php:86) in /home/httpd/vhosts/yalmagazine.org/httpdocs/homepage/inc/actions.php on line 306
Not solved. You shouldnt rely on shell_exec for the reason you see above.
Plugin bugged like hell, blew one article into nirvana. Hope you fix this.
Feb 27, 2009
Anonymous says:
First problem: Commenting out lines 40-46 is more a dirty hack und will most lik...First problem:
Commenting out lines 40-46 is more a dirty hack und will most likely intruduce other problems since the code in question (from plugincontroller.class.php) does not belong to the plugin.
See my solution on this site.
Second problem:
As you stated: "Warning: shell_exec() has been disabled for security reasons" is a configuration/security restriction on your virtualhost. Maybe you can convince your Host/Webmaster/Hosting provider to enable the function exec (hints: 1. php.ini 2. "disabled_functions" 3. "shell_exec"). Chances are that the wiki-converter is called via exec, maybe you can provide better code
Stefan
Dec 09
Anonymous says:
I had the same problem (shell_exec). But I saw that there is a newer version in ...I had the same problem (shell_exec). But I saw that there is a newer version in Subversion - tag 1.0_RC4.http://svn.bitflux.org/repos/public/misc/dokuwiki/plugins/fckw/tags/1.0_RC4/
After updating from 0.8 to 1.0_RC4 this problem was gone and I could restore the "empty pages" to earlier versions.
Jan
Feb 27, 2009
Anonymous says:
I have just installed this plugin and it works great. I had 2 problems along th...I have just installed this plugin and it works great. I had 2 problems along the way:
1. Error message as follows:
Warning: Doku_Plugin_Controller::include_once(/home/cfreyer/public_html/lib/plugins/snippets/helper.php) [function.Doku-Plugin-Controller-include-once]: failed to open stream: No such file or directory in /home/cfreyer/public_html/inc/plugincontroller.class.php on line 82
I resolved this by installing the "snippets" plugin as described on this page. Basically, I navigated to my plugin directory and ran this command:
svn co https://svn.liip.ch/repos/public/misc/dokuwiki/plugins/snippets
2. Blank pages when saving. This happened because my hosting service (A Small Orange) didn't have the html2wiki binary installed. One request to the support desk and that was resolved. However it still didn't work. So I asked them to install the HTML::WikiConverter::DokuWikiFCKW perl module and my problems were resolved.
Feb 28, 2009
Anonymous says:
HI. I am sorry, great plugin, generally, but same problems like the others: 1. I...HI. I am sorry, great plugin, generally, but same problems like the others:
1. It needs snippets installed (why it is not included in the package?)
2. It needs discussion plugin installed (why?)
3. It gives problems when saving with action.php (why?
Too many problems for a newbee like me. Sorry.
1+2 could be solved by installing.
3 could be solved by asking my provider allinkl.
But than I assume new problems.
So please Pierre, give us a hand for the greatest opensource wiki with the greatest wysiwyg editor
Greetings,
Jesko.
Apr 08, 2009
Anonymous says:
The snippet and discussion plugins are really annoying. Each time an auto-safe ...The snippet and discussion plugins are really annoying.
Each time an auto-safe is performed, the snippet plugin is shown in the top right corner and takes 1/3 of the space on my screen.
The discussion plugin does not integrate very well when switching between fckw and wiki syntax. After a while the page contains many times ~DISCUSSION:off~.
This makes the fckw plugin not practical anymore. I really liked it before, maybe it is possible for you to remove the snippet and discussion plugins or at least remove the bugs.
Thanks,
Don
Apr 14, 2009
Anonymous says:
I have follwoed the installation guidlines but the editor is jsut replaced with ...I have follwoed the installation guidlines but the editor is jsut replaced with a boring plaing text-filed with html in it.
What's wrong?
Apr 14, 2009
Anonymous says:
It seems like this is the problem: perl -w /usr/local/bin/html2wiki Can't locat...It seems like this is the problem:
perl -w /usr/local/bin/html2wiki
Can't locate object method "attributes" via package "HTML::WikiConverter::DokuWikiFCKW" (perhaps you forgot to load "HTML::WikiConverter::DokuWikiFCKW"?) at /usr/local/bin/html2wiki line 58.
May 04, 2009
Anonymous says:
There is a bug when using colspan other than one in tables. I fixed it some days...There is a bug when using colspan other than one in tables. I fixed it some days ago but no longer remember the exact change I made (precisely which lines in and out).
Basically replace the entire _td function in lib/DokuWikiFCKW.pm by this one to fix the problem:
May 04, 2009
Anonymous says:
Meanwhile I also fixed (partialy) the bug of the vanishing table header "center"...Meanwhile I also fixed (partialy) the bug of the vanishing table header "center" alignment. Partially because table headers are by default left aligned in DokuWiki and rendered centered by FCKW. When you edit and save a centered table header it becomes left aligned again.
This fix keeps it centered but does not show the left aligned headers left aligned yet. Replace the above function content with this one:
May 22, 2009
Anonymous says:
The snippet and discussion plugins are really annoying. Each time an auto-safe...I have the same problem... it isn't very comfortable. I think the default is ~DISCUSSION:off~ so I would be possible to delete all discussion entries whether the check box isn't active. if the checkbox is true you can save the desccusion:on flag... but than you will overwrite maybe the other tags... maybe you can create an input field beside the checkbox for a discussion title or something like this
//lazer
Jun 05, 2009
Anonymous says:
Has anyone solved problem with disappearing national charters? Unfortunately thi...Has anyone solved problem with disappearing national charters?
Unfortunately this great editor without Polish charters is useless for me.
Please help.
Best regards.
Michael
Jun 10, 2009
Anonymous says:
Hello I really love this plugin for DokuWiki but I can't get it to work on our ...Hello
I really love this plugin for DokuWiki but I can't get it to work on our machine, windows 2003 server, IIS 6.0, Active perl 5.10.0.1005.
The problem is when executing: $text = shell_exec('cd '.dirname(_FILE_).'/../lib; echo ' . escapeshellarg($text) . ' | html2wiki -dialect DokuWikiFCKW --base-uri='.DOKU_BASE);
When I click save in the editor I get this error message:
Warning: shell_exec() [function.shell-exec]: Unable to execute 'cd C:\Inetpub\wwwroot\wiki.dev\lib\plugins\fckw\action/../lib; echo "<div class= dokuwiki > <div class= page > <h1>PlayGround</h1> <div class= level1 > <p>Test 2 <a title= playground:htc class= wikilink1 href= /playground:htc >Synkningsproblem med HTC-telefoner</a> Test av diskussion <a title= playground:exempel_pa_qr_codes.doc class= media mediafile mf_doc href= /wiki.dev/lib/exe/fetch.php?media=playground:exempel_pa_qr_codes.doc > Exempel på QR-Codes</a> Test: Undersida: <a title= ns:test2 class= wikilink2 href= /ns:test2 >test2</a></p> <p>Testar lite till:</p> <p><img alt= class= media src= /wiki.dev/lib/exe/fetch.php?media=playground:test_main.jpg /></p> <p>För att kunna få reda på vad står QR-codeen/Streckkoden. Ladda ner NeoReader hä in C:\Inetpub\wwwroot\wiki.dev\lib\plugins\fckw\action\save.php on line 86
Warning: Cannot modify header information - headers already sent by (output started at C:\Inetpub\wwwroot\wiki.dev\lib\plugins\fckw\action\save.php:86) in C:\Inetpub\wwwroot\wiki.dev\inc\common.php on line 1476
I am quite new to running IIS and perl on windows machine, but this is what I have to use at the moment.
If someone has any ideas about this or even better a solution I would be truly greatful
Best regards
Svante Lindbäck
Sweden
svante.lindback@skane.se
Jun 10, 2009
Anonymous says:
OK, the exec is a security issue, tried enabling iusr_xxx and the error is gone,...OK, the exec is a security issue, tried enabling iusr_xxx and the error is gone, this is a problem for us security wise, does anyone have a bright sollution for this? I would like to have the Integrated Windows Authentication active.
The problem now that I have seen in many forum is when hitting save, it saves a blank page..
/Svante
Jun 17, 2009
Anonymous says:
Mxrgus Pxrt: Seems that there is a bug while using discussion (newest, 2009-...Mxrgus Pxrt:
Seems that there is a bug while using
While editing and saving text, "~discussion"... is appended and so multiple times, even if there is such line already in the end of the text. So after 5 saves text is in the end "DISCUSSION:off~ ~DISCUSSION:off~ ~DISCUSSION:off~ ~DISCUSSION:off~ ~DISCUSSION:off~ "
It helps to comment out following lines:
fckw/action/save.php (starting from line 94):
if ((plugin_load('action','discussion')) && !isset($_REQUEST['fckw_no_sugar'])) {
$text .= "\n" . '~~DISCUSSION';
if (!isset($_REQUEST['fckw_discussion']))
$text .= '~~';
}
I also commented out:
if (isset($_REQUEST['fckw_nocache']))
if (isset($_REQUEST['fckw_notoc']))
if ((plugin_load('action','discussion')) && !isset($_REQUEST['fckw_no_sugar'])) {
$text .= "\n" . '~~DISCUSSION';
if (!isset($_REQUEST['fckw_discussion']))
$text .= '~~';
}
Because I like my wiki text clean. Could meta tags be used, so that if one decides to not to use FCKW plugin any more, then there is no unnessesary text appended in the editor?
Jun 17, 2009
Anonymous says:
Mxrgus Pxrt: Sorry, due the reason that the last post uses wiki markup, it looks...Mxrgus Pxrt:
Sorry, due the reason that the last post uses wiki markup, it looks bad, so posting again:
Mxrgus Pxrt:
Seems that there is a bug while using
- discussion (newest, 2009-05-11)
- fckw (newest, 0.8)
While editing and saving text, "~discussion"... is appended and so multiple times, even if there is such line already in the end of the text. So after 5 saves text is in the end "DISCUSSION:off~ ~DISCUSSION:off~ ~DISCUSSION:off~ ~DISCUSSION:off~ ~DISCUSSION:off~ "
It helps to comment out following lines:
fckw/action/save.php (starting from line 94):
if ((plugin_load('action','discussion')) && !isset($_REQUEST['fckw_no_sugar'])) {
$text .= "\n" . '~~DISCUSSION';
if (!isset($_REQUEST['fckw_discussion']))
$text .= '~~';
}
I also commented out:
if (isset($_REQUEST['fckw_nocache']))
if (isset($_REQUEST['fckw_notoc']))
if ((plugin_load('action','discussion')) && !isset($_REQUEST['fckw_no_sugar'])) {
$text .= "\n" . '~~DISCUSSION';
if (!isset($_REQUEST['fckw_discussion']))
$text .= '~~';
}
Because I like my wiki text clean. Could meta tags be used, so that if one decides to not to use FCKW plugin any more, then there is no unnessesary text appended in the editor?
Jul 10, 2009
Anonymous says:
<code>[code] if (isset($_REQUEST['fckw_nocache...<code>[code]
if (isset($_REQUEST['fckw_nocache'])) {
// add NOCACHE only if text already does not contain it
if(!stripos($text, "~NOCACHE~"))
} else
if (isset($_REQUEST['fckw_notoc'])) {
// add NOTOC only if text already does not contain it
if(!stripos($text, "~NOTOC~"))
} else {
}
if ((plugin_load('action','discussion')) && !isset($_REQUEST['fckw_no_sugar'])) {
// if there is discussion plugin, then depending if requested to disable or enable it, it is switched if it is just on or off
// else, for example if it is disabled etc manually, then state is not changed
if(isset($_REQUEST['fckw_discussion'])){
if(!stripos($text, "~DISCUSSION~"))
}
else{
if(stripos($text, "~DISCUSSION~"))
}
}
[/code]</code>
Please change action/save.php for the plugin, currently it adds junk.
Jun 17, 2009
Anonymous says:
Mxrgus Pxrt: Sorry, i ment metafiles.Mxrgus Pxrt:
Sorry, i ment metafiles.
Jul 10, 2009
Anonymous says:
@import url(/download/resources/confluence.ext.code:code/shStyles.css); ...Jul 10, 2009
Anonymous says:
@import url(/download/resources/confluence.ext.code:code/shStyles.css); ...After submiting the first solution (commenting all out), i found it does not fulfill all the needs, so I made this. Could you please inspect and add this to svn or somewhere? Possibly better solution would be, that there is drop down menu, from where user can choose disscussion plugin states (off, disabled, etc) (from line 90, action/save.php)
Mxrgus Pxrt
Jul 13, 2009
Anonymous says:
Also, as I integrated fckw to existing Wiki, where links were with {{ }} syntax,...Also, as I integrated fckw to existing Wiki, where links were with {{ }} syntax, I had to redo action/edit.php so that those attachment links would work after editing also:
Jul 15, 2009
Anonymous says:
hi Pierre, it seems the plugin "sortablejs" (http://www.dokuwiki.org/plugin:sor...hi Pierre,
it seems the plugin "sortablejs" (http://www.dokuwiki.org/plugin:sortablejs) has a conflict with your code.
do you have a solution ?
thanks for the job !
Regards,
Rémi
Jul 16, 2009
lonjaret says:
hi Pierre, it seems the plugin "sortablejs" (http://www.dokuwiki.org/plugin:s...hi Pierre,
it seems the plugin "sortablejs" (http://www.dokuwiki.org/plugin:sortablejs) has a conflict with your code :
do you have a solution ?
Another thing with the 0.8 version of FCKW : the URL like this one :
[[\\W16753101aan\foo.xls]]
are transform - after save my page - in this :
[[/doku_w16753101aan_foo.xls]]
wich is a little annoying !
thanks for the job !
and thanks for your help !
Regards,
Rémi
Sep 01, 2009
Anonymous says:
Greetings! Is there a way to enable fckw for new tasks/blog entries in the task...Greetings!
Is there a way to enable fckw for new tasks/blog entries in the task/blog plugins?
When I edit an exiting task/blog entry then I get fckw, but when I open a new one then I get the basic wiki editor.
Thanks!
Hans
Sep 02, 2009
Anonymous says:
Hi! Do anybody know how to solve problem with disappearing national chars? Char...Hi!
Do anybody know how to solve problem with disappearing national chars? Chars like ?ó??????? are being removed from content.
It troubles me a lot, i've tried the solution proposed here but it didn't work. My own tries also failed.
Thanks in advance
Adm
Sep 08, 2009
Anonymous says:
Hi All, I have the same problem for the code blocks. <code> <xml>......Hi All,
I have the same problem for the code blocks.
<code>
<xml>...</xml>
</code>
when i edit this code block in the FCKW plugin , it gets lost. How do i fix this? I couldnt understand from the thread above if this is fixed?
Any help would be appreciated.
Great plugin on all other aspects.
Thanks
Sreenath
Sep 25
Anonymous says:
Hi! Is the new ckeditor 3.0 supported? Bye.Hi!
Is the new ckeditor 3.0 supported?
Bye.
Sep 27
Anonymous says:
In the lib/plugins/fckw/action/edit.php start of _renderer_xhtml function add li...In the lib/plugins/fckw/action/edit.php start of _renderer_xhtml function add lines:
Additionaly there seems to be bug with old attachment links (after saving and reopening and saving attachment links will not work
It would help alot if first part is added to the code, second problem should be fixed and not by using this hack I made.
Best regards,
Oct 02
Anonymous says:
FOR .htaccess USERS Having problems with your links and files reverting back to...FOR .htaccess USERS
Having problems with your links and files reverting back to External Links when they should be internal?
I made a little hack to solve this issue...one simple line of coding. This, has worked on my site; though it is a DESIGNATED virtual host for my wiki page. This little hack will NOT work on those using their site concurrently with others...such as
If you use the above site or any other version of it, this will make any external links between your mywiki.com/drupal from mywiki.com/dokuwiki to become internal. This Assumes you are using mywiki.com/ for your wiki page! You have been warned.
edit fckw/actions/save.php
and add the following @ line ~88
$text = shell_exec('cd '.dirname(_FILE_).'/../lib; echo ' . escapeshellarg($text) . ' | html2wiki -dialect DokuWikiFCKW --base-uri='.DOKU_BASE);
+ /* JC: Took the below line out in hopes of it not replacing the text with $SERVER */
+ $myWikiSite = htmlspecialchars($_SERVER["HTTP_HOST"],ENT_QUOTES);
+ $text = preg_replace("/(({{)|([[))(http:\/\/$myWikiSite)/",'$1',$text);
$text = @html_entity_decode($text, ENT_NOQUOTES, 'UTF-8');
Hope this helps others out!!!
Jason Cameron
Oct 27
Anonymous says:
BUG: This plugin doesn't work fine if you have set the variable userewrite whi...BUG:
This plugin doesn't work fine if you have set the variable userewrite whit value 2.
The problem is:
At the moment, you can comment this variable in conf/local.php:
// $conf['userewirte'] = 2;
Add Comment