teppokoivula/admin-restrict-branch-select

ProcessWire module for adding branch select support for Admin Restrict Branch.

0.4.0 2022-04-16 16:59 UTC

This package is auto-updated.

Last update: 2024-04-16 21:18:34 UTC


README

ProcessWire module for adding branch select support for Admin Restrict Branch. With this module enabled, you can manually select more than one branch parent per user, and they'll be able to switch between those while editing site content.

Note that users are still limited to one branch at a time: this module will not make it possible to view multiple branches at the same time.

When the module is installed, it will automatically update branch_parent field if deemed necessary, i.e. if it isn't yet configured to allow selecting multiple pages. You can make changes to the field later, if you want to restrict selectable options by template, use asmSelect instead of PageListSelectMultiple, etc.

License

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

(See included LICENSE file for the full license text.)