History: PluginList - Hacks and Fun
Source of version: 5
Copy to clipboard
! 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: {CODE(colors="tiki")}{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}{CODE} !! Make a carousel with wikipages 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. {CODE(theme="default")}{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}{CODE} ...add your tips here! ~tc~ (alias(LIST - Hacks and Fun)) ~/tc~