Loading...
 
Allows to edit a preference by anyone that has permissions to see the current page
Not to be confused with PluginPref

Plugin Preference


Using this wiki plugin, introduced in Tiki21, allows you to build your own administration panels.
It is a way to delegate permission to set only certain preferences to non-administrators.
So we could create limited admin panels with just what people need, without giving tiki_p_admin permission by only specifying which preferences will be included in the wiki page.

Parameters

Allows to edit a permission by anyone that has permissions to see the current page
Required parameters are in bold.
Go to the source code
Preferences required: wikiplugin_preference

Parameters Accepted Values Description Default Since
currentpage Page's name where this plugin will be shown.
name any string except for HTML and PHP tags Preferences to be edited(separated by ,).


Examples

Basic syntax

Copy to clipboard
{preference name="feature_webdav" currentpage="My-Wiki-Page"}

Once the page is saved, the preference appears there as it would appear in the control panel, so it can be modified.

Plugin Preference basic syntax
Click to expand

Some preferences

Similarly for a single preference, you can add several preferences, this time separated by commas, as shown in the settings table.

Copy to clipboard
{preference name="feature_webdav,fgal_elfinder_feature,feature_docs,fgal_pdfjs_feature,h5p_save_content_frequency" currentpage="My-Wiki-Page"}

The above code in a Wiki page will give:

Plugin Preference some preferences
Click to expand

Security

Users

This plugin is not displayed to anonymous users. For other users, those in the Registered group for example, if they have permission to edit the wiki page on which the plugin is embedded, they can change the plugin's parameter values and must wait for admin approval.
After changing the values of the name parameter and registering the wiki page (here named My admin panel) by a non-administrator, he will see this:

Plugin Preference validation
Click to expand

Wiki page

When the plugin loads, it makes sure that the current page matches the current wiki page's parameter value, which prevents someone from using an approved plugin on another page with different permissions.

Aliases


Created by Adrien. Last Modification: Monday 13 November, 2023 23:14:19 GMT-0000 by Marc Laporte.

doc.tiki.org

Get Started

Admin Guide User Guide

Keywords

Keywords serve as "hubs" for navigation within the Tiki documentation. They correspond to development keywords (bug reports and feature requests):

Accessibility (WAI and 508)
Accounting
Articles and Submissions
Backlinks
Banners
Batch
BigBlueButton audio/video/chat/screensharing
Blog
Bookmark
Browser Compatibility
Link Cache
Calendar
Category
Chat
Clean URLs
Comments
Communication Center
Compression (gzip)
Contacts (Address Book)
Contact us
Content Templates
Contribution
Cookie
Copyright
Credit
Custom Home and Group Home Page
Date and Time
Debugger Console
Directory of hyperlinks
Documentation link from Tiki to doc.tiki.org (Help System)
Docs
Draw
Dynamic Content
Dynamic Variable
External Authentication
FAQ
Featured links
File Gallery
Forum
Friendship Network (Community)
Gmap Google maps
Groups
Hotword
HTML Page
i18n (Multilingual, l10n)
Image Gallery
Import-Export
Install
Integrator
Interoperability
Inter-User Messages
InterTiki
Kaltura video management
Karma
Live Support
Login
Logs (system & action)
Look and Feel
Mail-in
Map with Mapserver
Menu
Meta Elements
Mobile Tiki and Voice Tiki
Module
MultiTiki
MyTiki
Newsletter
Notepad
Payment
Performance Speed / Load
Permissions
Platform independence (Linux-Apache, Windows/IIS, Mac, BSD)
Polls
Profiles
Profile Manager
Report
Toolbar
Quiz
Rating
Feeds
Score
Search engine optimization
Search
Search and Replace
Security
Semantic links
Shadowbox
Shadow Layers
Share
Shopping cart
Shoutbox
Slideshow
Smiley
Social Networks
Spam protection (Anti-bot CATPCHA)
Spellcheck
Spreadsheet
Stats
Surveys
Tags
Task
Tell a Friend, alert + Social Bookmarking
TikiTests
Theme CSS & Smarty
Tiki Manager
Trackers
Transitions
User Administration including registration and banning
User Files
User Menu
Watch
WebDAV
Webmail
Web Services
Wiki History, page rename, etc
Wiki Syntax
Wiki structure (book and table of content)
Workspace
WSOD
WYSIWYCA
WYSIWYG
XMLRPC

Tiki Newsletter

Delivered fresh to your email inbox!
Newsletter subscribe icon
Don't miss major announcements and other news!
Contribute to Tiki