#559 (in 2.6.0) Themes need names

fixed
1
2013-06-11
2004-07-15
No

Allow a theme to specify in its colors.inc.php a name for the
theme. It's kinda ugly to identify themes in the user interface only
by the name of their directory.

Discussion

  • Alexander M. Turek

    Logged In: YES
    user_id=418833

    This way, we would have to include the configuration files
    of each theme for main.php.

    This is no problem for two themes, but this behavior is
    badly scalable.
    Perhaps we should create a register file with such
    information, like we already have for the language files.
    This method should also be even more performant and secure
    than simply reading the theme directory contents.

     
  • Ryan Schmidt

    Ryan Schmidt - 2004-08-11

    Logged In: YES
    user_id=838923

    I don't think people will be installing 20 themes... And most of the time,
    people will be using pages other than main.php. So I don't really think it
    would be such a big problem.

    Creating a registry of themes would involve more work on the part of the
    system administrator. And what about feature request 991645, which
    calls for themes to declare a theme file version number to which they
    comply? That info would have to be read too. You can't expect the
    sysadmin to open each theme and copy that info into a registry.

    Unless you make the theme registry self-maintaining, which could work
    nicely.

     
  • Michal Čihař

    Michal Čihař - 2004-08-12

    Logged In: YES
    user_id=192186

    This should be IMHO done together with 991645.

     
  • Michal Čihař

    Michal Čihař - 2004-08-12
    • assigned_to: nobody --> nijel
     
  • Michal Čihař

    Michal Čihař - 2004-08-12
    • priority: 5 --> 1
    • summary: Themes need names --> (in 2.6.0) Themes need names
    • status: open --> open-fixed
     
  • Michal Čihař

    Michal Čihař - 2004-08-12

    Logged In: YES
    user_id=192186

    Implemented in cvs.

     
  • Alexander M. Turek

    • status: open-fixed --> closed-fixed
     
  • Michal Čihař

    Michal Čihař - 2013-06-11
    • Status: closed-fixed --> fixed