[dev] Easier adding of themes and applets

Joe Wilson joe.wilson at mindcandy.org
Mon Aug 11 09:20:49 PDT 2003


Jan,

I like this idea.  My original vision for applets was that it would stimulate a
trade of code and so making it easier to submit is definitely a plus.  It would
require moving the default params for each applet into the applet code itself
(instead of the registry settings), but this shouldn't be a big deal.

One thought does come to mind, though.  With the easier installation of applets
and themes, should we consider some work on permissions?  For example, right
now, an applet would be seen by everybody.  As it becomes easier to create
these things, it might be necessary to provide a way to limit the access of
certain applets to certain users.  In fact, this may be less of a security
issue than a management issue.

Regards,

Joe

Quoting Jan Schneider <jan at horde.org>:

> I propose that we stop keeping lists of available themes and portal applets
> in config/registry.php.dist and config/pref.php.dist and instead parse
> horde/config/themes/ in horde/prefs.php, resp. horde/lib/Block/ in
> horde/portal_edit.php for avaiable themes/applets.
> This is expensive but is only necessary if the users want to change their
> theme or block layout.
>
> Adding new themes or applets would be as easy as dropping them in the
> correct directories. Everybody can make themes or applets available for
> download while the admins don't have to touch any code for adding some.
>
> Thinking this further we could even install a small contribution database on
> the website where people can submit their themes/applets or even vote for
> them.
>
> Jan.
>
> --
> http://www.horde.org - The Horde Project
> http://www.ammma.de - discover your knowledge
> http://www.tip4all.de - Deine private Tippgemeinschaft
>
> --
> Horde developers mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: dev-unsubscribe at lists.horde.org
>


*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#
 *#
  *#   Joe Wilson             (917) 690-0507 (c)
   *#   884 Palmer Ave.        (914) 777-3250 (h)
    *#   Mamaroneck, NY 10543
     *#
      *#    He to whom [the mysterious] is a stranger,
       *#    who can no longer pause to wonder and stand
        *#    rapt in awe, is as good as dead: his eyes are closed.
         *#                           - Albert Einstein
          *#
           *#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*


More information about the dev mailing list