General Community > Global WebsiteBaker 2.10.x discussion
How about updating the way we handle MEDIA?
sky writer:
I'm just trying to fully understand things, so please excuse me if I am not up to speed.
It sounds like you can do what you want with the OFA module... so why do you not want to use a custom OFA module for this purpose? I'm sure I am just missing something in how you are trying to simplify the process.
CodeALot:
No, the OFA module is VERY versatile, but not for this purpose :-)
Imagine a simple page, with just one WYSIWYG-section.
In that section, you can add text, images, whatever, just like you always do.
What I would want, is to be able to add another section to that page. Let's call it "ImageDrop".
In my template, I would call the WYSIWYG-section as PAGE_CONTENT(1) and the ImageDrop as PAGE_CONTENT(2).
That way, I could easily "pre-bake" how and where the image from that second section would be shown. My client would then only have to add text in the first section, drop an image in the second section, and the CMS would take care of the rest.
I _could_ (and have!) use OFA for this, but that would mean that all the pages would be within one OFA-page. Not exactly what I had in mind :-)
crnogorac081:
i attached tutorial package, also a screenshoot how it can be done under media administration.
Gast:
--- Quote ---@manuela: dropzonejs.com gives a 404
--- End quote ---
404?? - not for me, it works without problems in multiple test's on different day's
my personal opinion
- two different places - 1. media administration - 2. section editing in wysiwyg editor
to #1 - media administration
a solution via dropzone, pluploader (like OFA), fineuploader (like Foldergallery) etc looks (for me) very simple. Big Problem here: what kind of uploader is the best (for every solution/uploader you found also negative posts in the web) and does it work for every user in every browser?? Can i use this third-party-addon also in 2020 (for free/open source), the EOL for WB 2.10.x or is it needed, to upgrade this every mounths? from my point, best solution for me is dropzone, very small, very simple to integrate it into the backend theme, but... we work only with the DefaultTheme (ACP-Theme), whats happend with the other themes like the example from crnogorac081? its of course possible, to write a tutorial for that or to give help in the integration, if somebody make the service for this theme.
at this point, this day, i'm not sure, what happend in the media administration in the next wb-version > WB 2.11, we talk a lot about the construct, the basics, but not in details. But if we add a solution now, in the next coming WB 2.10.1, we can use it for the next four years in WB 2.10.x and WB 2.11.x at minimum
to #2 - section editing in wysiwyg editor
the wysiwyg editor like our prefered ckeditor has a own image handling, working with a plugin. this ckeditor has also a integrated file browser, but disabled at the moment, because, it works unsafe in the case of user group permissions . that means, in special cases, specially on pages with different admin groups, its possible, that a user get the permission to upload/delete pictures in a group with no permissions for that, if there is also another group as page admin with permissions for that.
the file browser works without problems (or no reported problems :roll: ), if you're a single admin on this page.
the file browser is a globale element in the ckeditor and use only some predefined paths and some special defined functions to get the permissions.
From my point and without test's, its also possible to add here a uploader-addon like dropzone etc, but you need then a wb-own plugin or wb-own filebrowser, that disabled the original, only possible to upgrade via module-upgrade (at the moment, its possible, to upgrade the ckeditor on a private way via upload from the build-config.js)
also from my point and without test's: no chance to add a dropzone inside of the wysiwyg-form and maybe moving the dropped picture via drag&drop to the wished position (i remember that I had seen such a solution before in a different system)
--- Quote from: sky writer ---I don't see anyone implying the Dev-Team is being lazy, or even that they should look into this.
--- End quote ---
stay cool :wink:
it was only a additional information, because, it looks maybe quite to the outside, but there are a lot of things to do in the background (change all projects to https, upgrade the forum, re-order the whole permissions there, working on the tickets, prepared the WB 2.10.1-Test etc, etc,
read the words as: we stay here and we read also everything :wink: :wink: :wink:
crnogorac081:
You are true about ckeditor and image browser, that is why I create custom toolbar for user without filebrowser plugin and I let them to upload/delete/edit files from specific folder (see my screenshoot from attachment from first post), so that user who has access to specific module/tool can manage images from specific folder. Its a best way not to create mess.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version