WebsiteBaker Community Forum

WebsiteBaker Support (2.13.x) => Modules => Topic started by: Vlob on December 07, 2022, 02:00:43 AM

Title: wysiwyg with preview and mobilefirst text option
Post by: Vlob on December 07, 2022, 02:00:43 AM
I expanded the regular wysiwyg module:

I added a preview function:
- you can preview your page content before you publish it. You will only see the preview if you are logged in
- you can decide to make the preview version the live-version, edit it further of simply delete it

I also added a mobile first text field which will allow you to put in different content for mobile devices
- depending on the screen width either the regular version or the mobile version is shown
- the switching point is now set at 768px, to be altered in the frontend.css
- if the mobile field is left blanc, the standard text field is used so you do not have to put in the same text twice

This will for instance allow you to:
- set a different tone of voice towards your mobile visitors
- show a more compact/shorter version of the text for mobile visitors
- tell the mobile visitors different things
- use smaller pics for mobile visitors
- offer it to your customers and make some easy extra money

Please note: this is not a new module, this is an expanded version of the regular WYSIWYG module and it will overwrite your existing module. It will do no harm to the content, it will just add a bunch of extra features.
If you do not like it afterwards you can go back to the original WYSIWYG module by uploading it again after setting the version number to 3.1.1.2.3.

Attachment has been removed for the reasons already linked, we appreciate your fork
Title: Re: wysiwyg with preview and mobilefirst text option
Post by: hgs on December 07, 2022, 11:53:33 AM
Lieber Vlob

Das Thema hatten wir doch schon beim Core-Modul News und deiner Ergänzung mit Bild.

Wir freuen uns über jede Ergänzung für WebsiteBaker und den vielen Modulen, die es schon gibt.....
...aber bei einem Core-Modul, dass an unterschiedlichen Stellen vom Core benutzt wird, bitten wir dich einen Fork des Moduls zu erstellen um deine Erweiterungen über ein Zusatzmodul der Gemeinschaft anzubieten.

Ein gutes Beispiel ist das Modul Code2, dort sind viele Ergänzungen eingefloßen die dem Core-Modul Code scheinbar fehlten, ohne das Core-Modul Code oder das System selber zu verändern.

Das ist der richtige und akzeptierte Weg

Ein so tiefer eingriff in das System, ist laut unsren Vorschriften nicht gestattet.

Sieh (https://wiki.WebsiteBaker.org/doku.php/en/dev/all/psr)e Link

Dear Vlob

We already had this topic with the core module News and your addition with image.

We are happy about any addition to WebsiteBaker and the many modules that already exist.....
...but for a core module that is used in different places by the core, we ask you to create a fork of the module to offer your extensions via an additional module to the community.

A good example is the module Code2, there are many additions that the core module code seemed to be missing, without changing the core module code or the system itself.

This is the correct and accepted way

Such a deep intervention in the system is not allowed by our rules.

See (https://wiki.WebsiteBaker.org/doku.php/en/dev/all/psr)




Title: Re: wysiwyg with preview and mobilefirst text option
Post by: Vlob on December 07, 2022, 12:52:36 PM
Then the rules need to be changed in order to make the cms better!
Title: Re: wysiwyg with preview and mobilefirst text option
Post by: DarkViper on December 07, 2022, 01:43:51 PM
Make a copy of a module under a different name, change it according to your personal wishes and ideas and make it available to the general public.
NEVER change database tables or the functionality of another module. This is an absolute no-go. Not only at WB, but in every halfway reasonable OS project it's handled in this way and not otherwise. This is the one and only way it works and it's allowed under the GPL license.
If you publish a module that changes or damages one of our modules, you will have a big problem with copyright and possible license violations.

Have a nice day,
Manuela
Title: Re: wysiwyg with preview and mobilefirst text option
Post by: Vlob on December 07, 2022, 03:30:32 PM
Make ….

I expected a ‘wow, thanks for this amazing and useful cool expanded version of our wysiwyg, let’s dive into it and see if we can use it’ in stead of your sweet words about hunting me down because l look beyond the sometimes feeble possibilities of the standard stuff.

The only reason l shared my thoughts and improvements was to help and make you all smile but again l come to realize that smiling doesn’t exist in Germany.

Sorry that l bothered you with ideas and enthousiasm. You succeeded in killing the latter by the way you react to the first.

I will step down to observant level again. Have a great time and try to remember from time to time that systems like this thrive on the creativity of the whole community.
Title: Re: wysiwyg with preview and mobilefirst text option
Post by: DarkViper on December 07, 2022, 04:40:53 PM
Why do you expect the last before the first?

First of all, should I blindly give big praise? :-o This is the wrong order.
First of all I need the module to analyze it thoroughly. In order to check compliance with the coding standards, test whether the security is complete, whether the module runs stably even under difficult conditions and a few more points. Only if I can give a  (Y) for all the points, then praise is appropriate.. a 'big praise' is also possible.
Unfortunately, your approach has already earned a (N) at the first, cursory look. But that doesn't speak against the idea behind it. That sounds pretty good. Unfortunately, there is still a clear lack of proper implementation.

have a nice day,

Manuela
Title: Re: wysiwyg with preview and mobilefirst text option
Post by: hgs on December 08, 2022, 09:23:16 AM
Schade, mehr fällt mir dazu nicht ein.
Was mich erschreckt ist, wie du ein ganzes Volk verurteilst, schäm DICH.
English
Too bad, that's all I can think of.
What frightens me is how you condemn a whole people, shame on YOU.