Wiki pages

Categories

Component ID

2913255

Component name

Wiki pages

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

The module creates custom content-type, called 'Wiki page'. This content-type requires 4 fields, title (required field), description, parent (entity reference to the parent node) and content where you should put your content of the page. As with other content-types, you can freely add more fields to your wiki page, but in that case you should override the theme for displaying all fields you have. Along with custom content-type, module creates new role called 'Wiki pages moderator'.

Users with this role can assist you with managing all wiki pages, editing the title, content, description and parent. They also can manage users which can access those nodes. Authenticated users, if access is granted to one parent Wiki page, can add/edit/remove own wiki pages inside that parent node.

They are not allowed to add sub-pages to rest of the parent pages. With that in mind, users can not see the other parent pages and sub-pages which exists but they have no access to them. When parent page is created, you have to grant access for each user which you want to be able to see, access, add/remove/edit (own pages). You can do this easily through Grant Permission tab, which appears after you create the parent node.

By accessing the Grant permission tab, you will see table which shows you all the users in the database. You can use filter to find particular user or go through pages. By checking and saving the form, you will grant the permission to selected users. By un checking them the permission will be revoked and the access will be restricted.

Basic workflow is like shown bellow:

  1. Create your parent Wiki page. (Content >> Add Content >> Wiki Page OR go to /wiki and press the button which will redirect you to same location)
  2. Give users access to that page from Grant Permissions. (Check the checkboxes for users you want)

You are done!

REQUIREMENTS

This module does not require any other modules.

INSTALLATION

Install as you would normally install a contributed Drupal Module.
You may want to rebuild the cache.

CONFIGURATION

The module has no menu or modifiable settings. There is no configuration.
When enabled, the module will give you the possibility to create wiki pages content-type which you can add like every other content-type in Content >> Add Content or you can go to /wiki (where you can find all wiki pages) and press the button which will automatically redirect you to add page.

Current maintainers:

  1. Nebojsa Pejnovic
  2. Zoran Tovarloza
  3. Boris Pupavac