pnWikka : UsingActions
HomePage :: Categories :: Page Index :: RecentChanges :: Search :: Help :: Login/Register
Wikka Documentation
Adapted for PostNuke...
Some actions are considered "core" and are essential to the functioning of pnWikka as a WikiEngine. Others are better classified as "plugins", providing extra, less essential functionality. pnWikka comes with a set of core and plugins. You can also check additional plugins others may have created.
Many actions can be customized by providing extra parameters; a parameter must always have its value enclosed in double quotes. Unknown parameters are simply ignored; in some cases one or more parameters may be required.
Content example:
use {{wikkaversion}} to display the current Wikka version running:
~pnWikka: 1.0
Service example:
use {{googleform}} to provide an empty form to search Google; you may add a parameter to suggest a search term, as in {{googleform q="Wikka"}}:
~
~-backlinks - shows the pages linking to the actual page
~-calendar - displays the calendar for a month
~-category - shows pages belonging to a category
~-countowned - shows the count of pages owned by the current user
~-countpages - count of the pages in the wiki
~-countusers - count of the registered users of a page
~-color - colors text
~-colour - (synonym of color)
~-feedback - displays a form, which allows to send feedback to the admin of the wiki
~-flash - shows a flash-animation
~-googleform - produces a searchbox for a search with google.
~-highscores - shows a list of users, ordered after the percentage of pages they own
~-image - displays an image
~-include - includes another wikipage
~-interwikilist - produces a list as shown in InterWiki
~-lastedit - shows who was the last user editing the page
~-mindmap - one solution to display a mindmap
~-mychanges - This is a list of pages the current user has edited, ordered by the time of the last change or alphabetically
~-mypages - a list of pages the current user owns
~-newpage - allows the creation of new pages
~-orphanedpages - pages who have no other pages linking to them
~-ownedpages - number and percentage of the pages the current user owns
~-pageindex - shows an index of all pages in the wiki
~-recentchanges - list of changed pages, ordered by time
~-rss - includes an rss-feed to the page
~-table - displays a table with given data
~-textsearch - search for a phrase
~-textsearchexpanded - search for a phrase and show the results with their surrounding text
~-wantedpages - shows the name of nonexisting pages to which other pages are linking to
~-wikkaversion - displayes the wikka-version
CategoryDocumentation
Using actions in pnWikka pages
Reference: Using Action Page∞Adapted for PostNuke...
About actions
Actions are small (or not so small) pieces of code that generate automatic content within a page. An action may provide simple content, or it may provide an interactive "service" with a form for user input. If the action returns simple information (pagecount for example), the output can be returned directly from the action function. As pnWikka is a PostNuke API-Compliant module, it also can use the Smarty template engine provided by PostNuke.Some actions are considered "core" and are essential to the functioning of pnWikka as a WikiEngine. Others are better classified as "plugins", providing extra, less essential functionality. pnWikka comes with a set of core and plugins. You can also check additional plugins others may have created.
Using actions
To include an action in a page, simply edit the page and put the name of the action, between {{ and }}, on it. Action names are case-insensitive.Many actions can be customized by providing extra parameters; a parameter must always have its value enclosed in double quotes. Unknown parameters are simply ignored; in some cases one or more parameters may be required.
Content example:
use {{wikkaversion}} to display the current Wikka version running:
~pnWikka: 1.0
Service example:
use {{googleform}} to provide an empty form to search Google; you may add a parameter to suggest a search term, as in {{googleform q="Wikka"}}:
~
Actions available in the latest pnWikka distribution
The following actions are distributed with pnWikka (version 1.0) (listed in alphabetical order). Some actions were removed from the original WikkaWiki distribution as they were not really useful in a PostNuke context.~-backlinks - shows the pages linking to the actual page
~-calendar - displays the calendar for a month
~-category - shows pages belonging to a category
~-countowned - shows the count of pages owned by the current user
~-countpages - count of the pages in the wiki
~-countusers - count of the registered users of a page
~-color - colors text
~-colour - (synonym of color)
~-feedback - displays a form, which allows to send feedback to the admin of the wiki
~-flash - shows a flash-animation
~-googleform - produces a searchbox for a search with google.
~-highscores - shows a list of users, ordered after the percentage of pages they own
~-image - displays an image
~-include - includes another wikipage
~-interwikilist - produces a list as shown in InterWiki
~-lastedit - shows who was the last user editing the page
~-mindmap - one solution to display a mindmap
~-mychanges - This is a list of pages the current user has edited, ordered by the time of the last change or alphabetically
~-mypages - a list of pages the current user owns
~-newpage - allows the creation of new pages
~-orphanedpages - pages who have no other pages linking to them
~-ownedpages - number and percentage of the pages the current user owns
~-pageindex - shows an index of all pages in the wiki
~-recentchanges - list of changed pages, ordered by time
~-rss - includes an rss-feed to the page
~-table - displays a table with given data
~-textsearch - search for a phrase
~-textsearchexpanded - search for a phrase and show the results with their surrounding text
~-wantedpages - shows the name of nonexisting pages to which other pages are linking to
~-wikkaversion - displayes the wikka-version
Dropped action in pnWikka
Manyactions were dropped as they were duplicating existing actions or considered not enough usefull in the PostNuke context.CategoryDocumentation

