Coder Social home page Coder Social logo

Comments (12)

turnermm avatar turnermm commented on July 26, 2024

I just loaded a copy of ckgedit into a fresh install of Weatherwax and can't reproduce the problem. I can get the links dialog and use it to create links of different kinds. I have been using ckgedit in Weatherwax myself without any such problems. Perhaps there is a conflict with another plugin.

Other bug: the plugin status a update button on plugins page but the update is unsuccessful.

I am not sure what the above refers to. If you are referring to https://www.dokuwiki.org/plugin:ckgedit, the link for the download button is correct. But you may have to set up your php to accept https.

from ckgedit.

romaincabassot avatar romaincabassot commented on July 26, 2024

Strange as we are two in my enterprise to see this bug (two different
CentOS 6 with today stable Weatherwax install). We've seen this
behaviour on CentOS Firefox/Windows Firefox and Windows Google Chrome.
I've just installed a dokuwiki on wamp with fresh install, just
installed ckgedit and I reproduce the bug.
ckgedit is the only plugin installed. If I use fckglite links dialog is ok.

The other "bug" is not really a problem I think but I explain : when in
dokuwki you browse to Admin>Manage plugins and use the "Download and
install a new plugin" form to install ckgedit you can see the update
button as active. If you choose to update this way you get an error.

Le 12/06/2013 17:13, Myron Turner a écrit :

I just loaded a copy of ckgedit into a fresh install of Weatherwax and
can't reproduce the problem. I can get the links dialog and use it to
create links of different kinds. I have been using ckgedit in
Weatherwax myself without any such problems. Perhaps there is a
conflict with another plugin.

Other bug: the plugin status a update button on plugins page but
the update is unsuccessful.

I am not sure what the above refers to. If you are referring to
https://www.dokuwiki.org/plugin:ckgedit, the link for the download
button is correct. But you may have to set up your php to accept hjttps.


Reply to this email directly or view it on GitHub
#5 (comment).

from ckgedit.

turnermm avatar turnermm commented on July 26, 2024

If you installed ckgedit using the plugin manager then you should be able to update using the plugin manager.

As for the other problem, I have installed the latest ckgedit from github in Weatherwax and I've run it using apache servers on on Windows, Ubuntu, CentOS 5, and OSX. I've used a variety of browsers on Mac, Windows, Ubuntu, and I can't reproduce your error with the link diaolg.

I do not have access to CentOS 6, but I don't think that could be the issue, because the CKEditor, which ckgedit uses, is written in Javascript. If you are running Firefox, or Chrome, you might try to run the Javascript debugger and see what it reports.

from ckgedit.

turnermm avatar turnermm commented on July 26, 2024

I found a Javascript bug in the link dialog; it hasn't been severe enough to cause problems in my testing but it might have affected you. See if it now works for you. Use the github download.

Thanks.

from ckgedit.

romaincabassot avatar romaincabassot commented on July 26, 2024

je_error
Hi,

I've downloaded the ZIP from GitHub and I have the same error. With
Firebug I see a - maybe - language related error (see screenshot) :
"TypeError: CKEDITOR.lang.en is undefined".
I run on a french OS from France but Dokuwiki is installed with english
(and french) support.

Thank you from your help.

Le 12/06/2013 17:13, Myron Turner a écrit :

I just loaded a copy of ckgedit into a fresh install of Weatherwax and
can't reproduce the problem. I can get the links dialog and use it to
create links of different kinds. I have been using ckgedit in
Weatherwax myself without any such problems. Perhaps there is a
conflict with another plugin.

Other bug: the plugin status a update button on plugins page but
the update is unsuccessful.

I am not sure what the above refers to. If you are referring to
https://www.dokuwiki.org/plugin:ckgedit, the link for the download
button is correct. But you may have to set up your php to accept hjttps.


Reply to this email directly or view it on GitHub
#5 (comment).

from ckgedit.

romaincabassot avatar romaincabassot commented on July 26, 2024

I tried to go further with the bug. It looks like the language loaded by ckeditor is only french (http://localhost/dokuwiki/lib/plugins/ckgedit/ckeditor/lang/fr.js?t=D08E) and the link dialog code (http://localhost/dokuwiki/lib/plugins/ckgedit/ckeditor/plugins/link/dialogs/link.js?t=D08E) initializes some defaults with english language (ie: var defaultFBLang = CKEDITOR.lang['en']['fbrowser'];).
I don't know why it loads only french language but it has nothing to do with how I configure my dokuwiki language : if I set it to english I reproduce the bug.
I have tried to access the same wiki installation from an EN OS and an EN firefox : it works!

Hope it can help!

from ckgedit.

turnermm avatar turnermm commented on July 26, 2024

Thank you very much. I appreciate your help.

I should have realized that CKEditor only loads the current language file and could not expect it to reference the English language file, which is where I had placed the default language strings.

But I believe I have fixed the problem. This means that you should now be able to set your own language strings for the link dialog (and the filebrowser) as described here:
https://www.dokuwiki.org/plugin:ckgedit#filebrowser_language_support.

from ckgedit.

romaincabassot avatar romaincabassot commented on July 26, 2024

Hi,
I have added the following javascript code to fr.js :
CKEDITOR.lang['fr']['fbrowser'] = {
FileBrowserError_101: 'Folder already exists.',
FileBrowserError_102: 'Invalid folder name',
FileBrowserError_103: 'You have no permissions to create the folder.',
FileBrowserError_110: 'Unknown error creating folder',
FileBrowserError_201: 'A file with the same name is already available.
The uploaded file has been renamed to: ',
FileBrowserError_202: 'Invalid file',
FileBrowserError_203: 'You do not have permission to upload files to this
folder. If you think this is incorrect please notify your administrator.',
FileBrowserError_204: 'Unable to delete the selected file',
FileBrowserError_205: 'Unable to rename the selected file; check your
directory/write permisssions',
FileBrowserError_206: ' already exists; you must either delete or rename
it. ',
FileBrowserError_default: 'Error on your request. Error number: ',
FileBrowserError_Ajax: 'Your browser does not support AJAX.',
FileBrowserError_XML: 'The server didn't reply with a proper XML data.
Please check your configuration.' ,
FileBrowserError_Folder_Submit: 'Please type the folder name.',
FileBrowserError_File_Submit: 'Please select a file from your computer',
FileBrowserError_Upload: 'Error on upload. Error number: ',
FileBrowserError_Connector: 'The connector is disabled. Check
editor/filemanager/connectors/php/config.php',
FileBrowserError_Command: 'Unsupported command: ',
FileBrowserError_Type: 'Invalid type specified: ',
FolderMoveWarning: 'You can only move files to a folder one level below
the current directory',
FileBrowserError_301: "The uploaded file exceeds the upload_max_filesize
directive in php.ini.",
FileBrowserError_302: "The uploaded file exceeds the MAX_FILE_SIZE
directive that was specified in the HTML form.",
FileBrowserError_303: "The uploaded file was only partially uploaded.",
FileBrowserError_304: "No file was uploaded.",
FileBrowserError_306: "Missing a temporary folder.",
FileBrowserError_307: "Failed to write file to disk.",
FileBrowserError_308: "PHP does not provide a way to ascertain which
extension caused the file upload to stop; examining the list of loaded
extensions with phpinfo() may help.",
DlgFileBrowserUpMsg: "Upload a new file in this folder",
DlgFileBrowserRead : "read-only",
DlgFileBrowserWrite : "uploadable",
DlgFileBrowserNewFolder: "Create Folder",
DlgFileBrowserResourceType: "Resource Type",
DlgLnkUpload : "Upload",
DlgFileBrowserMove: "Move",
InternalLink: "internal link",
InternalMedia: "internal media",
MediaFileLink: "link to media file",
SMBLabel: "Samba Share",
GetHeadingsLabel: 'Get Headings' ,
QStringLabel: 'Query String (For example: value_1=1&value_2=2) ',
ResetQS: 'Reset Query String',
NotSetOption: 'Not Set',
AdvancedInfo: "To create anchors from Dokuwiki headers, click on the Get
Headings button, select the header, click OK. You can go back, select a new
page and get new headers.",
AdvancedTabPrompt: 'Use the advanced tab to create page anchors and query
strings',
SMBExample: "Enter your share as: \Server\directory\file",
};

And it seems ok!

It would be awesome if in a next release this was directly functional :)

Thanks for your help.

2013/6/13 Myron Turner [email protected]

Thank you very much. I appreciate your help.

I should have realized that CKEditor only loads the current language file
and could not expect it to reference the English language file, which is
where I had placed the default language strings.

But I believe I have fixed the problem. This means that you should now be
able to set your own language strings for the link dialog (and the
filebrowser) as described here:
https://www.dokuwiki.org/plugin:ckgedit#filebrowser_language_support.


Reply to this email directly or view it on GitHubhttps://github.com//issues/5#issuecomment-19392056
.

from ckgedit.

turnermm avatar turnermm commented on July 26, 2024

I will include your language update in the next update. Thank you very much.

If you have the time, please also look at: https://github.com/turnermm/ckgedit/blob/master/ckgedit/action/lang/en.php

from ckgedit.

turnermm avatar turnermm commented on July 26, 2024

Ooops! Those are the original English, not the translations.

from ckgedit.

romaincabassot avatar romaincabassot commented on July 26, 2024

Yes just a copy of english.
I will translate that later.

Le 17/06/2013 18:33, Myron Turner a écrit :

Ooops! Those are the original English, not the translations.


Reply to this email directly or view it on GitHub
#5 (comment).

from ckgedit.

turnermm avatar turnermm commented on July 26, 2024

The current version of ckgedit will automatically use the English
strings if translations are not available.

from ckgedit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.