Wiwimod is a Xoops 2 module, offering « wiki » style functionnality
based on wysiwyg HTML editors.
- Full access privileges, extending Wiwi usage beyond wikis : Wiwi
is an easy way to build and maintain a web site with different levels
of access to the content.
- Page hierarchy support,
- Page history : retrieve and compare the older page revisions with
the last one
- Xoops comments support
- XoopsCodes support
- page break feature, with automatic navigation between pages
- dynamic content support : include any Xoops block within your
Wiwi adds some useful blocks into Xoops repository, as follows :
- TOC : displays links to a subset of existing pages (for example,
« chapters »),
- « Recent » (links to the 5 last modified pages),
- Context : side block whom content depends on which Wiwi page is
- ShowPage : displays a Wiwi page in a block
Wiwi is distributed under the GPL licence, meaning it's free to use as
long as it isn't integrated in a commercial product.
Downloads and discussions on : Wiwi
Creating new pages :
The base idea is that you create a page
when you try to reach a page that doesn't exist yet. When you do this,
you obtain a blank page in « edit » mode. Then you type the content and
submit the new page ... you're done.
: create a link to your
future new page (edit your "index" or "home" page for example)
Pages are identified with their "page name". This can be any text, but
you should try to keep page names as short as possible. You will set
later a "page title" that can be more explicit.
Simply type : [[my page name]]
, or [[my
page name | hyperlink text]] .
Alternatively, if your new page name is a CamelCase word ( that is two
or more concatenated words starting with an uppercase letter :
LikeThisOne ) , simply type it without square brackets.
: save the current page,
and click on the link you've just added. Here you are, now just type
your content and save it.
Note : when a link to a new page is
parsed, Wiwi appends a « ? » sign to make it easy understand the
corresponding content doesn't exist yet and has to be created.
One of the most irritating tasks in
wikis is to maintain information about the page hierarchy (if
applicable) , and repeat it on each page you write, so that readers
don't get lost and quickly browse back to page parents.
Wiwi's solution is an optional « parent » field in the page edit form.
In view mode, Wiwi displays a navigation bar linking to all parents,
climbing the page hierarchy till no more parents can be found (parent
field left empty). As from version 0.7, Wiwi automatically sets the «
parent » field of newly created pages to a reasonable guess : the wiwi
page that hosted the hyperlink (if applicable) leading to the current
Wiwi displays a wysiwyg editor whenever
possible while editing pages. If the navigator does'nt support it, the
default xoops editor is displayed.This manual won't detail how to use
the editors, yet they're easy to take hands on. Let us simply remind
basic rules that are good to apply :
- use tables to fully control page layout
- don't use too many font styles neither colors
- make simple sentences, better than neverending texts that are
hard to read on screen
Table below details some special useful
||This tag is replaced by the Xoops block with
corresponding title or id.
Important note : no check is (yet) done on user rights before
displaying the block, so be sure of what you are doing :-) ...
|This tag "cuts" your content in pages at display
time ; a navigation bar to next and previous pages is automatically
||This tag is replaced by the alphabetical list of
all wiwi pages in the document store.
||This tag is replaced by the 20 last modified
|Images, file attachments, flash
|Depending on which editor you are using, you'll
be able to upload and display resources within your page : images,
files (icon displayed), flash animations.
Table below displays wiki codes that are interpreted by wiwi at display
time, whenever they are found in a page content :
||Text is strong .
||Text is italic
|[[IMG url alt]]
|[[url]] , or [[url title]]
|link to another Wiwi page
|[[page name | link title]]
|link to another Wiwi page
||« mailto » hyperlink
||Link to the corresponding Wiwi page
|escaped camelcase : won't be
converted in a link at display time.
Wiwi privileges are a set of named
profiles describing xoops groups that eventually have
read/write/administrate access to corresponding pages.
- Readers can only display the pages for which they have read
- Writers can modify the current page, and create new pages with
the same profile.
- Administrators can change page profiles to whichever profiles
they have "admin" privilege for.
Profiles also controls access to
comments and to page revisions history.
Note : Xoops webmasters allways
have full privileges to Wiwi pages.
Profiles are managed in Wiwi's administration menu (see the
administration section below).
This block is quite explicit : it displays the
list of the last five modified pages.
No edit option for now .
||Table Of Contents : this is a good complement to
page hierarchy display.
This block displays the list of Wiwi pages whom "visible" field (in the
edit form) is greater thant zero.
A good practice is to set visible to a value other than zero for all
"root" pages in your page hierarchy. As usual in Xoops, the greater the
« visible » value, the « heavier » the relative item in the list.
No edit option for now.
||This is a side block whom content depends on
which Wiwi page is currently on screen.
Useful for « related links » functionnality, on-line context sensitive
help, advertising ...
To apply, edit a page and fill the « side content » field with the page
name you want displayed in the side block. If the page doesn't exist,
you can create it later.
||This block is useful if you want a specific Wiwi
page displayed in your layout (for example the Home page ...)
Go to the blocks administration panel. Then edit this block to make it
visible and set the page name you want displayed inside.
||As an administrator, you can see the history of
each page and restore a page to a former state or fix a page's state
(i.e. drop all older revisions).
Don't forget to clean up the database from time to time: this removes
all page revisions older than 2 months (except one).
||This section is where you manage all access
privileges profiles for your Wiwi pages. You can create as many
profiles as you want. As an example, three profiles are created when
you install Wiwi :
- Open content : everybody (including anonymous users) can
read, write and administrate documents.
Yet you can imagine any configuration like having « project oriented »
profiles restricting access on project documents to project groups.
Note : when you delete a profile, you can choose a replacement profile
for all affected pages.
- Public content : everybody can view related pages, but only
registered users can modify or create them.
- Private content : anonymous users cannot read related
||listed options are :
- wysiwyg editor choice : select a supported editor ;
if you choose the XoopsEditors package, then you must also select which
- displayed text for CamelCase links : the Camelcase code
or the target page title.
- "export to pdf" button display.
- default profile : useful when migrating from earlier
Note : to populate this combo, you have to edit a profile and save it
at least once (even without any modification).
You can also set the standard Xoops comments preferences (anonymous
posts and approval process).
|Blocks and Groups
|A quick and clear place to manage Wiwi blocks ,
and group access to the module and corresponding blocks.