Repository navigation
PageBrick 1.6.0
- A plugin can put its panel screen in the Content list of the menu, with its own icon.
pb_add_admin_page()takes two new optional arguments at the end:$section('plugins', the default, or'content') and$icon(the name of one of the panel's own icons, such as'megaphone'; an unknown name gives the plug). A screen the client uses every day, like a notices or events screen, can now sit beside Pages, Media, Menus and Contact instead of behind the Plugins icon. - Nothing existing changes. Every plugin that calls it as before is listed where it was, and a plugin that passes the new arguments to an older PageBrick is simply listed under Plugins (PHP ignores the extra arguments). The compatibility promise now says that optional parameters at the end of a function are "new things".
- The full list is in the CHANGELOG.
Update: this is a feature release, so it is announced in the panel and installed when you choose: Settings → Updates → Update to 1.6.0. The update checks every page of the site afterwards and goes back by itself if anything breaks.
New install: download pagebrick-1.6.0.zip below, upload what is inside its pagebrick folder to your hosting (including .htaccess, which some programs hide), create a MySQL database and open the site. Requirements: PHP 8.2+, MySQL 5.7+ or MariaDB 10.4+, Apache with mod_rewrite.
Integrity: SHA-256 cc79be98d6a8bd6b8991f8b7c2b5d07f5b684a779d1b69e2de876782ddc78d16, signed with the project's Ed25519 key (public key in core/packages.php).