13 - Private Module
nav_first.pngFirst: design:1
1 - Rate Module
Edited: 29 Apr 2012 00:01 by: GoVegan
Comments: 21
Tags:
nav_prev.pngPrevious: design:12
12 - ListPages Improvements
Edited: 11 Nov 2009 15:03 by: Steven Heynderickx
Comments: 5
Tags:
Last: design:32
32 - Parenthood Module
Edited: 11 Nov 2009 21:47 by: Steven Heynderickx
Comments: 7
Tags:
nav_last.png
Next: design:14
14 - Consistent link grammar
Edited: 11 Nov 2009 22:00 by: Steven Heynderickx
Comments: 25
Tags:
nav_next.png

13 - Private Module
Created on 24 Sep 2009 09:56
By pieterh

rating: +2+x
This is the Redirect module that redirects the browser directly to the "http://projects.wikidot.com/thread:121" page.

This is a design sketch for a new module that shows/hides text depending on the current user level.

The syntax for the module would be:

[[module Private level="wikidot|member|mod|admin" password="secret" button="label"]]
...
[[else]]
This block appears because you lack the necessary privileges.
[[/else]]
[[/module]]

If button="label" is not provided, no button appears and the private content is shown by default (or the 'else' block is shown)

The original thread for this design sketch was wishlist:63 on the community site.

Comments: 1

Add a New Comment