Loading...
 

Feature Areas

Status
Closed
Subject
Feature Areas
Version
7.x
Category
  • Feature request
  • Dogfood on a *.tiki.org site
Feature
Category
Perspectives
Submitted by
Torsten Fabricius ☺️
Lastmod by
Torsten Fabricius ☺️
Rating
(0)
Description

Hi,

I have the idea for a new feature or better to say a major extension of the use of existing features.

Areas would be related with the usability of the Website, where you can assigne content to certain perspectives in a way, that a link to this content will guide you sametime aswell to the content as to the related perspective.

Anonymous users (and registered) would find the content in the context of menus and modules, the webdeveloper decides.

I see "Areas" Important for certain usecases, it could be built with up mainly with existing features - only few code should be necessary.

See more description on http:dev.tiki.org/Areas

Cheers
Torsten

Solution

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.

Workaround

After 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 me figured out a completely different way to generate Areas -> see "Solution"

Importance
9 high
Demonstrate Bug
Please demonstrate your bug on show2.tikiwiki.org

 About show2.tikiwiki.org

To help developers solve the bug, we kindly request that you demonstrate your bug on a show2.tikiwiki.org instance. To start, simply select a version and click on "Create show2.tikiwiki.org instance". Once the instance is ready (in a minute or two), as indicated in the status window below, you can then access that instance, login (the initial admin username/password is "admin") and configure the Tiki to demonstrate your bug. Priority will be given to bugs that have been demonstrated on show2.tikiwiki.org.

Version: Create show2.tikiwiki.org instance
Ticket ID
3974
Created
Friday 19 August, 2011 16:32:01 GMT-0000
LastModif
Thursday 30 August, 2012 20:49:29 GMT-0000

Attachments

 filenamecreatedhitscommentversionfiletype 
No attachments for this item


Keywords

The following is a list of keywords that should serve as hubs for navigation within the Tiki development and should correspond to documentation keywords.

Each feature in Tiki has a wiki page which regroups all the bugs, requests for enhancements, etc. It is somewhat a form of wiki-based project management. You can also express your interest in a feature by adding it to your profile. You can also try out the Dynamic filter.

Accessibility (WAI & 508)
Accounting
Administration
Ajax
Articles & Submissions
Backlinks
Banner
Batch
BigBlueButton audio/video/chat/screensharing
Blog
Bookmark
Browser Compatibility
Calendar
Category
Chat
Comment
Communication Center
Consistency
Contacts Address book
Contact us
Content template
Contribution
Cookie
Copyright
Credits
Custom Home (and Group Home Page)
Database MySQL - MyISAM
Database MySQL - InnoDB
Date and Time
Debugger Console
Directory (of hyperlinks)
Documentation link from Tiki to doc.tiki.org (Help System)
Docs
DogFood
Draw
Dynamic Content
Preferences
Dynamic Variable
External Authentication
FAQ
Featured links
Feeds (RSS)
File Gallery
Forum
Friendship Network (Community)
Gantt
Group
Groupmail
Help
History
Hotword
HTML Page
i18n (Multilingual, l10n, Babelfish)
Image Gallery
Import-Export
Install
Integrator
Interoperability
Inter-User Messages
InterTiki
jQuery
Kaltura video management
Karma
Live Support
Logs (system & action)
Lost edit protection
Mail-in
Map
Menu
Meta Tag
Missing features
Visual Mapping
Mobile
Mods
Modules
MultiTiki
MyTiki
Newsletter
Notepad
OS independence (Non-Linux, Windows/IIS, Mac, BSD)
Organic Groups (Self-managed Teams)
Packages
Payment
PDF
Performance Speed / Load / Compression / Cache
Permission
Poll
Profiles
Quiz
Rating
Realname
Report
Revision Approval
Scheduler
Score
Search engine optimization (SEO)
Search
Security
Semantic links
Share
Shopping Cart
Shoutbox
Site Identity
Slideshow
Smarty Template
Social Networking
Spam protection (Anti-bot CATPCHA)
Spellcheck
Spreadsheet
Staging and Approval
Stats
Survey
Syntax Highlighter (Codemirror)
Tablesorter
Tags
Task
Tell a Friend, alert + Social Bookmarking
Terms and Conditions
Theme
TikiTests
Timesheet
Token Access
Toolbar (Quicktags)
Tours
Trackers
TRIM
User Administration
User Files
User Menu
Watch
Webmail and Groupmail
WebServices
Wiki History, page rename, etc
Wiki plugins extends basic syntax
Wiki syntax text area, parser, etc
Wiki structure (book and table of content)
Workspace and perspectives
WYSIWTSN
WYSIWYCA
WYSIWYG
XMLRPC
XMPP




Useful Tools