Loading...
 

PluginList - Hacks and Fun

A collection of tips, hacks and fun things you can do with PluginList that don't really belong anywhere else.

Set the Browser Page Title

A client needed a wiki page title (set in the <head><title> tag) changed from the default page name, and (eventually) we did it like this:

Copy to clipboard
{DIV(class="d-none")}{LIST()} {pagination max="1"} {OUTPUT()}{display name="mytitle" pagetitle="y"}{OUTPUT} {FORMAT(name="mytitle")}This is the page title, not the wiki page title{FORMAT} {LIST}{DIV}

You need to create some wikipages and set a category to them. In the example it is the category id 22. LIST will load all pages which contain the category and the carousel will display them.

Copy to clipboard
{LIST()} {filter type ="wiki page"} {filter categories="22"} {OUTPUT(template="carousel")} {carousel interval="2000" wrap="true" pause="hover" id="mycarousel" } {body field="page" mode="raw"} {OUTPUT} {FORMAT(name="page")} {display format="wikiplugin" name="wikiplugin_include" page="object_id"} {FORMAT} {LIST}

One needs to add class click-modal to the links (buttons) leading to service controller to be displayed in the modal. As there is no working Tracker view item action in the Tracker controller we need to create a wiki page first (in this case named "Item Details") to display the requested item details and use the the Wiki action_get_page controller (the Argument variables pref must be enabled for this example to work with {{itemId}} arg variable):

Copy to clipboard
{LIST()}{pagination max=1}{filter field="tracker_id" exact="1"}{filter field="object_id" exact="{{itemId}}"}{OUTPUT()} {display default="" name="wikiplugin_img" format="wikiplugin" fileId="tracker_field_myPictures" default="fileId=4"}{OUTPUT}{ALTERNATE()} {ALTERNATE} {LIST}


Then we just add those two buttons on our listing of items using PluginList:

Copy to clipboard
{LIST()} {filter field="tracker_id" exact="1"}{OUTPUT()} ... | <a class="btn btn-primary click-modal" href="tiki-wiki-get_page?page=Item%20Details&itemId={display name="object_id"}&modal=1">View Details</a>{GROUP(groups=Admins)} <a class="btn btn-dark click-modal" href="tiki-tracker-update_item?trackerId=1&itemId={display name="object_id"}&modal=1">Update Item</a>{GROUP}{OUTPUT} {LIST}


...add your tips here!


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