Loading...
 
Skip to main content

History: PluginList - Hacks and Fun

Preview of version: 5

PluginList - Hacks and Fun

A collection of (so far one) 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 to 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}


...add your tips here!


History

Advanced
Information Version
Geoff Brickell 7
luciash d' being 🧙 6
Bob carousell with wikipages 5
luciash d' being 🧙 4
luciash d' being 🧙 Page renamed from LIST - Hacks and Fun to PluginList - Hacks and Fun. Semantic alias redirect created 3
luciash d' being 🧙 typo 2
Jonny Bradley 1