Comments (31)
I will close this issue, because this about jodit-application product. Please create issue in right repository.
from jodit.
Hi, it was old version of php connector. Please download new version and try again.
from jodit.
Can i close this issue?
from jodit.
from jodit.
from jodit.
Hi, first of all download latest connector https://xdsoft.net/jodit/store/connector.zip
next, please don't remove file config.php
if you need customize config, do it in config.php, not in default.config.php
read more:
https://github.com/xdan/jodit-connectors#configuration
from jodit.
from jodit.
Do it again please, last connector release was yesterday
from jodit.
from jodit.
All right, how do you plan to verify the authenticity of the user?
For example in Yii2 it might be so:
function checkPermissions () {
if (Yii::$app->user->isGuest) {
throw new \ErrorException('You do not have permission to view this
directory', 403);
}
}
it is only example. In you site you can comment this lines
function checkPermissions () {
//if (empty($_SESSION['filebrowser'])) {
// throw new \ErrorException('You do not have permission to view this directory', 403);
//}
}
But then anyone can change your photos
from jodit.
from jodit.
from jodit.
from jodit.
Hi, download latest version. And you can use this code https://github.com/xdan/jodit-connectors#configuration
function checkPermissions () {
/********************************************************************************/
if (empty($_SESSION['filebrowser'])) {
switch ($this->action) {
case "resize":
case "move":
case "create":
case "remove":
case "uploadremote":
case "upload":
throw new \ErrorException('You do not have permission to view this directory', 403);
}
}
/********************************************************************************/
}
from jodit.
Please, install composer https://getcomposer.org/
Then you can update Jodit-connector with just a command
composer update
from jodit.
If JavaScript also hide FileBrowser buttons
var editor = new Jodit({
filebrowser: {
buttons: [
// 'upload',
// 'remove',
'update',
'select',
// 'edit',
'tiles',
'list',
'filter',
'sort'
],
url: ...
}
})
from jodit.
from jodit.
I would like to clarify one thing, we are now talking about Jodit
that you bought https://xdsoft.net/jodit/ but about a separate php project https://github.com/xdan/jodit-connectors it is free.
If we talk about CKEditor then you probably used CKfinder(Not CKEditor)
You can implement the functions that you need in it yourself by sending me a pull of request.
https://github.com/xdan/jodit-connectors is an open product, and I welcome any of its improvements. Send me the code that you set up your CKFinder, and I'll see how to do the same in Jodit-connector
from jodit.
from jodit.
from jodit.
ok, i wrote new version
Update jodit and connector
And you can use https://github.com/xdan/jodit-connectors#access-control
from jodit.
from jodit.
https://github.com/xdan/jodit/releases/tag/3.1.3 latest version Jodit
https://xdsoft.net/jodit/store/connector.zip latest connector
from jodit.
from jodit.
from jodit.
Give rights to the directory so that you can write to it
chmod 0777 ./files
from jodit.
from jodit.
Wait please, today will be new version connector
from jodit.
from jodit.
from jodit.
Happy New year to all the participant on this forum.
We have not got any reply in this matter for last 15 days. we will appreciate all of your help in solving ongoing problem. we expecting solution from this group.
thanks
from jodit.
Related Issues (20)
- Inline popup tooltips are not visible HOT 2
- space key issues HOT 1
- Incorrect character count for spaces HOT 4
- Jodit Editor vulnerable to Cross-site Scripting HOT 1
- Menu Item Popups Hidden when Jodit is inside an <dialog> element HOT 2
- I want to modify the icon on the change character color, background, how do I handle it? HOT 1
- Text pasting from word wrong - with margin squashing text to the left
- cleanHTML fillEmptyParagraph and removeEmptyElements seem broken HOT 3
- Tooltip Visibility Problem
- How to update toolbar icon and tooltip HOT 1
- Jodit call a lot of times of blob endpoint to get worker-html.js HOT 8
- Pop-Up "Paste as HTML" HOT 3
- Issues with typings for Jodit options
- Different result if paste html (word) in Free and PRO version
- How do I insert a video (Not from youtube or vimeo) HOT 1
- Missing CSS file for ImageProperties dialog HOT 1
- Config modifications after initialization
- Table borders do not get printed HOT 1
- Table: Edit multiple cells not working when using CTRL+click to select cells
- Images aren't render correctly when pasting text with images
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jodit.