To take this idea a step further:

* None of the admin-only widgets should be visible in the admin interface.
* There should be no widgets that are shared by the admin interface and the 
user interface, such as global_css.
* As above, admin widgets should use reserved id's, such as id < 100.
* The widgets used as a starting point for site designers, such as aik_home, 
should be visible and have an id > 100.

One intended effect here is that when a site owner upgrades his site to
the latest Aiki, it will be safe to replace any admin widgets with newer
versions.

When the site is upgraded, the owner should only dump and reimport
widgets with id > 100. There really should be an easier way to do this,
maybe a dump from the Admin interface.

-- 
You received this bug notification because you are a member of Aiki
Framework Admins, which is subscribed to aikiframework.
https://bugs.launchpad.net/bugs/792948

Title:
  reserve id for admin widget

Status in Aiki Framework:
  New

Bug description:
  problem: i have a openclipart instalatation where first non admin widget  had 
id 14.
   I can't update admin widget, because now there are 27, and i lost my  first 
13 site widget  (one of them is the main page)..
  Adding the new widget with new id is not a good idea because widget are 
referenced by id.

  In the future, a simple solution is adding in  
system/sql/InsertVariable-in.sql a fake widget with id 100
  so the first 100 widget in all sites are admin widget that can be easy 
updated, but the we need a solutions for old sites.

To manage notifications about this bug go to:
https://bugs.launchpad.net/aikiframework/+bug/792948/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~aikiframework.admins
Post to     : aikiframework.admins@lists.launchpad.net
Unsubscribe : https://launchpad.net/~aikiframework.admins
More help   : https://help.launchpad.net/ListHelp

Reply via email to