WebsiteBaker Support (2.12.x) > Modules

New module: Hints

<< < (4/5) > >>

Martin Hecht:
@Harald: genau das ist eigentlich der Use case dieses Moduls. Den Autoren, die die Anleitung benötigen, solltest du dann lediglich nicht die Berechtigung geben, den Hinweis zu bearbeiten. Mach mal das Häkchen bei "zum Bearbeiten freigeben" weg - ich geh davon aus, dass sich das Modul dann so verhält wie du dir das wünschst. Das ist in der aktuellen Version vielleicht noch nicht ganz verständlich, da die Freigaben momentan noch generell sind. Ich bin aber dabei, sowohl die Sichtbarkeit als auch die Freigabe fürs Bearbeiten auf Basis der Gruppen einstellen zu können.

Den Editor-Modus einstellen müssen dann lediglich diejenigen, die die Berechtigung bekommen sollen, an dem Hinweis Änderungen vorzunehmen. In der momentanen Version wärst das lediglich du selbst als Besitzer oder andere Admins (ich hoffe nicht dass du deine "AutorenDAUs" in der Administratorgruppe aufgenommen hast).

@Uwe:  Unter WB 2.8.3 + diversen Patches hat Hints 0.4.0 bei mir auch problemlos funktioniert. Mit 2.12.1 konnte ich das Problem (inclusive Sicherheitsverletzu ng) nachstellen und mit Hints 0.4.1 scheint beides bei mir zumindest behoben zu sein. Falls diese Version bei dir immer noch nicht funktioniert, müsste man eventuell die anderen Sections noch in Augenschein nehmen und sehen ob noch andere Module (außer wysiwyg) einen weiteren Mechanismus zur Einbindung von ckeditor enthalten, der eine weitere Inkompatibilität mit ins Spiel bringt.

hgs:
Die Einstellung wars, Jetzt bekommt der Autor die Anzeige, so wie ich sie wollte.
Die Fehlermeldungen bleiben aber bestehen, Wobei die 2. Section jetzt aber im BE angezeigt wird und im FE ist diese auch zu sehen
[07-Jan-2019 09:47:42 UTC] PHP Fatal error: Cannot redeclare show_wysiwyg_editor() (previously declared in /www/xxxxx/xxxxxxxx/WB_Testbereich/WB_2.12.1/php7.2/modules/ckeditor/include.php:29) in /www/xxxxxx/xxxxxxxx/WB_Testbereich/WB_2.12.1/php7.2/modules/ckeditor/include.php on line 373

Martin Hecht:

--- Quote from: hgs on January 07, 2019, 10:53:11 AM ---Die Fehlermeldungen bleiben aber bestehen, Wobei die 2. Section jetzt aber im BE angezeigt wird und im FE ist diese auch zu sehen
[07-Jan-2019 09:47:42 UTC] PHP Fatal error: Cannot redeclare show_wysiwyg_editor() (previously declared in /www/xxxxx/xxxxxxxx/WB_Testbereich/WB_2.12.1/php7.2/modules/ckeditor/include.php:29) in /www/xxxxxx/xxxxxxxx/WB_Testbereich/WB_2.12.1/php7.2/modules/ckeditor/include.php on line 373

--- End quote ---
mit Hints 0.4.1 immer noch?

hgs:
Gerade noch mal mit einer WB 2.12.1 incl. Fix zu Rev.191 getestet.
Vorgehensweise
Anlegen
1. Section (Hints)
2. + 3. Section (WYSIWYG)
Die Fehlermeldung erscheint bei mir nicht mehr und es wird alles wie gewünscht für die Gruppe Autoren angezeigt ohne den "Hinweis" ändern zu können.
Für mich also jetzt alles i.O.
Danke

Martin Hecht:
Hi,

here is the next update for the Hints module. In version 0.5.0 there are two improvements:

- First of all it supports groups now: Both cases, sharing the section for modification and the visibility of the hint, are possible based on particular groups. For example, the chief administrator might have a few colleagues (not necessarily in the admin group), who should be allowed to view and also edit a hint he gives to a larger team of editors who are in charge of filling the web page with content. The latter ones should only have the right to view the hint which contains a tutorial e.g. how to use the module used in the next section of that page.

The global sharing / hiding option that the module has provided in the previous versions still exist - you can just share it with all groups.  As soon as you select a more specific audience, this general option will be disabled. Note that there is a difference between the "all groups" option (which includes groups not yet created) and selecting all (currently existing) groups. When you check / uncheck the "all groups" option however, the checkboxes of the existing groups will be updated as well in order to be consistent with the  global option.

For consistency the logic of the visibility is inverted now. Earlier versions had a checkbox to make a hint "hidden", whereas you can make them "visible" to specific groups or to all groups now. Nothing changes in the visibility of existing sections - just the wording is different now in order to avoid having sections that are "hidden, but with some exceptions". New hints are by default visible to all groups and not shared for editing with any group. The only exception is the administrators group whose members are allowed to make any changes in the permissions anyway, so this special group is not displayed. 

- A minor change concerns the preferences: The mechanism how settings on different levels are applied has been reworked. With this updated mechanism the owner of a Hint (usually the user who has created it) can determine, how other users with the permission to modify the hint see the backend. By default a textfield is used for editing hints, but users can change their default settings to a wysiwyg editor for instance. Sections they create from now on, and also sections for which they have not changed their preferences yet, are presented in a wysiwyg editor (provided that the user has the right to edit that particular hint). So far, so good, but if the owner of the section which he has just created would like to share it with others, and he would like them to see it immediately in a wysiwyg editor, he can change the preferences of that particular section to "use the settings adjusted by the owner". He is already the section owner - so it just points to his own default settings (just like "use the default settings as defined for new hints") - but this choice imposes his default preferences to the view other users have of this section (as long as they don't modify the preferences for that section under their account).
@Harald, falls du in die Verlegenheit kommen solltest, Hints zu erstellen, die andere auch bearbeiten könnnen sollen, kannst du so vorgeben, welche Art Editor die User ohne eigenes Zutun angezeigt bekommen sollen.

Martin

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version