Loading...
 
Skip to main content

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~
        

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