Loading...
 

Areas 

New experimental feature in Tiki8.

Visit tiki-admin.php?page=areas
This feature will be taken out of Tiki before the 9.2 release and be replaced by a concept of building up Areas with a custom module "perspective_autoswitch" which is explained furtheron on this page. has been revamped for Tiki10 and Tiki11.

See here for ongoing development notes.


Just recently the Areas as Feature and the file binderlib.php (originally tiki-perspectivebinder.php) turned out to be a dead end.
At the TikiFestBarcelona3 (August 2012) Luci and Torsten figured out a completely different way to generate Areas. On a Website that uses "Perspectives", Areas can be build with a custom module using some smarty syntax and wiki syntax.

Explanation:

1) Areas is NOT a feature (any more)
2) Areas is a concept of structuring and setting up the navigation through out a website.
3) An Area is kind of a Spaces on a website. Areas divide the site into several subspaces with individual modules, menus and content which are "bend" together with categories.

On a website that does not use the feature "Perspectives", it is mainly possible to build "Areas" only with modules and theme control, which should be more easy in Tiki 10, since tere it is possible to limit and exclude module visibility to/from subtrees of categories.

If "Perspectives are used, the "Areas" will have to use the "Perspective" feature.
On a "Perspective" or "Workspaces" using Website it is quite easy to build Areas on Top of Workspaces, as a Workspace is just "converted into a "defined Area" by binding together the default category of the "Workspace" with the allocated "Perspective".

This can be done with a custom module and some smarty code, where we include some "Smarty" syntax.

Here is an example of the content of such a custom module, which I recommend to call it

"perspective_autoswitch"

The plugin "perspective_autoswitch" should be assigned to the "pagetop" and get the parameter "nobox=y" to make it invisible.

{if isset($objectCategoryIds) and in_array(1, $objectCategoryIds)}
{wiki}{literal}{REDIRECT(perspective=1) /}{/literal}{/wiki}
{elseif isset($objectCategoryIds) and in_array(2, $objectCategoryIds)}
{wiki}{literal}{REDIRECT(perspective=2) /}{/literal}{/wiki}
{elseif isset($objectCategoryIds) and in_array(7, $objectCategoryIds)}
{wiki}{literal}{REDIRECT(perspective=3) /}{/literal}{/wiki}
{elseif isset($objectCategoryIds) and in_array(9, $objectCategoryIds)}
{wiki}{literal}{REDIRECT(perspective=4) /}{/literal}{/wiki}
{elseif isset($objectCategoryIds) and in_array(10, $objectCategoryIds)}
{wiki}{literal}{REDIRECT(perspective=5) /}{/literal}{/wiki}
{elseif isset($objectCategoryIds) and in_array(11, $objectCategoryIds)}
{wiki}{literal}{REDIRECT(perspective=6) /}{/literal}{/wiki}
{elseif isset($objectCategoryIds) and in_array(12, $objectCategoryIds)}
{wiki}{literal}{REDIRECT(perspective=7) /}{/literal}{/wiki}
{/if}


Hints:

  • The preference "Categories used in Templates MUST be activated to get themodule working (tiki.admin.php?page=category)

  • To not unnessesarily extend the server load I suggest to assign the module specifically only to the affected categories.

  • In each affected category the Redirect Plugin has to be approve once or you approve the plugin at tiki-plugins.php.


Maybe we will develop a solid default module lateron.


Page last modified on Friday 24 May, 2013 14:20:19 GMT-0000

doc.tiki.org

Bootstrap AdminGuide UserGuide

Keywords

Keywords serve as "hubs" for navigation within the Tiki documentation. They correspond to development keywords (bug reports and feature requests):

Accessibility (WAI and 508)
Accounting
Articles and Submissions
Backlinks
Banners
Batch
BigBlueButton audio/video/chat/screensharing
Blog
Bookmark
Browser Compatibility
Link Cache
Calendar
Category
Chat
Clean URLs
Comments
Communication Center
Compression (gzip)
Contacts (Address Book)
Contact us
Content Templates
Contribution
Cookie
Copyright
Credit
Custom Home and Group Home Page
Date and Time
Debugger Console
Directory of hyperlinks
Documentation link from Tiki to doc.tiki.org (Help System)
Docs
Draw
Dynamic Content
Dynamic Variable
External Authentication
FAQ
Featured links
File Gallery
Forum
Friendship Network (Community)
Gmap Google maps
Groups
Hotword
HTML Page
i18n (Multilingual, l10n, Babelfish)
Image Gallery
Import-Export
Install
Integrator
Interoperability
Inter-User Messages
InterTiki
Kaltura video management
Karma
Live Support
Login
Logs (system & action)
Look and Feel
Mail-in
Map with Mapserver
Menu
Meta Tags
Mobile Tiki and Voice Tiki
Mods
Module
MultiTiki
MyTiki
Newsletter
Notepad
Payment
Performance Speed / Load
Permissions
Platform independence (Linux-Apache, Windows/IIS, Mac, BSD)
Polls
Profiles
Profile Manager
Report
Toolbar
Quiz
Rating
Feeds
Score
Search engine optimization
Search
Search and Replace
Security
Semantic links
Shadowbox
Shadow Layers
Share
Shopping cart
Shoutbox
Slideshow
Smiley
Social Networks
Spam protection (Anti-bot CATPCHA)
Spellcheck
Spreadsheet
Stats
Surveys
Tags
Task
Tell a Friend, alert + Social Bookmarking
TikiTests
Theme CSS & Smarty
Trackers
Transitions
TRIM
User Administration including registration and banning
User Files
User Menu
Watch
WebDAV
Webmail
Web Services
Wiki History, page rename, etc
Wiki Syntax
Wiki structure (book and table of content)
Workspace
WSOD
WYSIWYCA
WYSIWYG
XMLRPC

Tiki Newsletter

Delivered fresh to your email inbox!
Newsletter subscribe icon
Don't miss major announcements and other news!
Contribute to Tiki
Show PHP error messages