Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:entwickler:make_your_plugin_compatible_to_admidio_5 [2025/02/28 08:14] – [Introducing namespaces] fasseen:entwickler:make_your_plugin_compatible_to_admidio_5 [2025/04/03 21:05] (current) – [Method changes] fasse
Line 1: Line 1:
 ====== Make your plugin compatible to Admidio 5 ====== ====== Make your plugin compatible to Admidio 5 ======
 +===== Using Bootstrap 5 =====
 +Admidio 5 uses Bootstrap 5. So therefore you have to convert your Bootstrap customizations to Bootstrap 5. View [[https://getbootstrap.com/docs/5.3/migration/|Migration document]] of Bootstrap 5.
 ===== Changes to HtmlForm ===== ===== Changes to HtmlForm =====
 The entry list of the parameter ''$options'' has changed. The entry ''helpTextIdInline'' is replaced by the existing entry ''helpTextId''. The entry list of the parameter ''$options'' has changed. The entry ''helpTextIdInline'' is replaced by the existing entry ''helpTextId''.
Line 16: Line 18:
  
 $myDatabaseObject = new Entity($gDb, 'adm_my_table', 'myt');</code> $myDatabaseObject = new Entity($gDb, 'adm_my_table', 'myt');</code>
 +
 +If you have used several classes of Admidio like SecurityUtils you must now integrate the following line at the top of your file <code php>use Admidio\Infrastructure\Utils\StringUtils;</code>
 +===== Method changes =====
 +The following methods have changed their names for better understanding about the functions of that method:\\ 
 +''Users::manageRoles()'' changes to ''Users::isAdministratorRoles()''\\ 
 +''Users::assignRoles()'' changes to ''Users::isAdministratorRoles()''\\ 
 +''Users::editUsers()'' changes to ''Users::isAdministratorUsers()''
  • en/entwickler/make_your_plugin_compatible_to_admidio_5.1740726841.txt.gz
  • Last modified: 2025/02/28 08:14
  • by fasse