Loading...
 
Skip to main content

History: Magic

Preview of version: 26

Magic is the code name for the new data-driven admin panel in TikiWiki 3.0

You can access at tiki-magic.php with 3.0

Who

Advantages over previous system

The old tiki-admin.php was hard coded settings. Tiki-magic.php has several advantages

  • Easy to have settings in more than one place

sylvie: can you do it without duplicating the line?))

  • No more multiple "save" buttons per page
  • Can have a view of all settings

sylvie: how?

  • More future-proof



Documentation

features.csv

Explanation for the "type" column


PureContainers

Container
- Holds other a collection of anything.
ConfigurationGroup
- Holds a collection of settings only. (where are defined the collection????)


Functions

Feature
- Is a piece of functionality which can be enabled and disabled, and may have configuration.
System
- Is a piece of core functionality of tikiwiki that may not be disabled, and may have configuration.
Functionality
- Is a reference to a template which performs a function, and has no configuration. It is part of either a feature or system item. It is used for determining what should be highlighted in the top bar for that template.


Settings

Flag
- A true/false flag.
Simple
- A simple text value.
ByRef
- A simple text value which is stored by-reference.
Int
- A smaller numeric field for storing a value.
EverythingElse
- An item which has a special-case input handler.


How about a "required"... for things like sender email that are empty on a new install but admins must/should complete? (ricks99)

Explanation for the "template" column

sylvie: Is it the php file or the tpl? (tiki-phpinfo seems to show that it the php.. so perhaps the name in not well chosen

Explanation for the "ordinal" column

sylvie: ????? What means a negative value???

Explanation for the "depends_on" column

sylvie: the feature_id the feature(seems only needed for feature?????) is depending on. Can we put a list????

To do

  • document the features.csv file
  • copy/paste all the labels from tiki-admin.php?page=features to db/features.csv as can be reviewed at tiki-magic.php?featurechain=1 or tiki-feature-load-postprocessor.php
  • Move all the settings to the best place(s)
  • Check all settings

Bugs/missing stuff

  • available_languages is a multi-select to restrict, not a drop-down
  • tiki-admin.php?page=cms Batch upload (CSV file) needs to be moved elsewhere
  • Release checks are made when you browse admin main page only
  • Force immediate check
  • tiki-admin.php?page=intertiki -> maybe this should stay the same

Feature requests

  • Have a third level of magic menu
  • Have a way to show/hide the new horizontal menu (maybe something which drags from left to right)
  • Retroaction message to confirm what was just changed and add to the syslog (user x changed feature y)
  • To work with lesser permissions (ex.: tiki_p_admin_wiki)
  • AJAXy search box to quickly find my feature
  • Two modes for inactive features (greyed out vs hidden)


  • Need a way to hide children if the parent is disabled. For example, if I have disabled Wiki Comments, don't bother showing me its children: Comments default ordering, list displayed by default, number f comments per page.
    • ricks99

  • I'd like to propose a slight change to the way the options are formatted. IMHO, having the labels right-aligned is tough to read. I propose (more from ricks99):

    Type Format
    Flag Have the checkbox to the left of the label.
    Simple Have the label above the text field, with the field 100% width.
    Int Have the label to the left of the text field (size=3)
    Text Area Have the label above the text area, with the field 100% width.
    Enumeration Have the label to the left of the selector.
    Unable to load the jQuery Sortable Tables feature.

Nice to have


Need to think about it more

  • Reset to default feature (nyloth's idea)

Announcement on the mailing list

[Tikiwiki-devel] Massive changes to the admin panel in progress on trunk (future 3.0) during TikiFest Montreal
From: Marc Laporte - 2008-08-16 22:12
Hi!

Here at the Montreal TikiFest (http://tikiwiki.org/TikiFestMontreal),
we are working on massive changes to the admin interface.

Christine (http://www.neato.co.nz/) aka NefariousC on IRC aka
princessxine on SVN/SF has done an a-m-a-z-i-n-g job over the last few
weeks, which was committed today.

The old admin panel is untouched. Once all the settings have been
transfered and have been thoroughly tested, we'll be in a position to
delete it (the old admin panel). We will have made it obsolete!

If you update from trunk, you can check out: tiki-magic.php It's a
data-driven (using data in db/features.csv), magical admin panel.

There is still a lot to do, but you will see that it does quite a lot.
It will be in very good shape by the end of the TikiFest on Tuesday.

In future versions, this will solve the problem about site settings
which need tiki_p_admin and administration features which require
tiki_p_admin_feature It's database-driven so we will show users the
settings in WYSIWYCA (What You See Is What You Can Access).

With this new panel, it'll be easier/cleaner to add new features. It
will also be easy to add the settings in many (all relevant!) places.
A setting about categories and wiki will appear in both places.

Some background info:
http://dev.tikiwiki.org/AdminUIRevamp

After the Admin Panel Revamp, if we still have some time/energy, we'll
attack the edit UI aspects:
http://dev.tikiwiki.org/EditUIRevamp


History

Advanced
Information Version
26 Nov 08 16:33 GMT-0000 SEWilco different phrasing of file handling 47
06 Nov 08 13:00 GMT-0000 Marc Laporte 46
30 Sep 08 12:52 GMT-0000 Marc Laporte 45
25 Sep 08 15:58 GMT-0000 luciash d' being 🧙 44
25 Sep 08 15:31 GMT-0000 luciash d' being 🧙 43
10 Sep 08 12:30 GMT-0000 Rick Sapir / Tiki for Smarties help links not always visible 42
10 Sep 08 12:29 GMT-0000 Rick Sapir / Tiki for Smarties need clarification of note vs. tip 41
01 Sep 08 13:31 GMT-0000 Rick Sapir / Tiki for Smarties 40
31 Aug 08 18:45 GMT-0000 Marc Laporte attempt by Christine, still needs some work\thought 39
31 Aug 08 18:43 GMT-0000 Marc Laporte 38
31 Aug 08 18:30 GMT-0000 Marc Laporte 37
31 Aug 08 18:07 GMT-0000 Marc Laporte 36
25 Aug 08 04:36 GMT-0000 Marc Laporte 35
24 Aug 08 01:37 GMT-0000 Rick Sapir / Tiki for Smarties more questions from rick 34
22 Aug 08 03:00 GMT-0000 Marc Laporte 33
22 Aug 08 02:59 GMT-0000 Marc Laporte 32
22 Aug 08 02:56 GMT-0000 Marc Laporte 31
22 Aug 08 02:34 GMT-0000 Marc Laporte major update 30
22 Aug 08 02:10 GMT-0000 Marc Laporte 29
22 Aug 08 02:05 GMT-0000 Marc Laporte 28
21 Aug 08 15:52 GMT-0000 Rick Sapir / Tiki for Smarties 27
21 Aug 08 15:22 GMT-0000 Rick Sapir / Tiki for Smarties some ui suggestions 26
20 Aug 08 20:36 GMT-0000 sylvie greverend 25
20 Aug 08 20:23 GMT-0000 sylvie greverend 24
20 Aug 08 20:22 GMT-0000 sylvie greverend 23

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
Diagram
Directory (of hyperlinks)
Documentation link from Tiki to doc.tiki.org (Help System)
Docs
DogFood
Draw -superseded by Diagram
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
Kanban
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
Terms and Conditions
Theme
TikiTests
Federated Timesheets
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