Ad Widget

Collapse

Zabbix Theme

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • yuhuu
    Member
    • Jan 2010
    • 30

    #1

    Zabbix Theme

    i want to change the theme.
    i added new theme and save it in

    Code:

    /usr/ports/net-mgmt/zabbix-server/work/zabbix-1.8/frontends/php/styles/

    then change in forms.inc.php

    Code:

    $cmbTheme->addItem('mytheme.css',MYTHEME);

    plus add in en_gb_inc.php

    Code:

    'MYTHEME'=> 'Mytheme',

    the last thing i change the config.php

    Code:

    $combo_theme->addItem('mytheme.css',MYTHEME);


    but in the frontend gui. there is new theme to be implement.





    please help me~
    fyi,
    i use FreeBSD 8.0
    Zabbix 1.8
  • Aly
    ZABBIX developer
    • May 2007
    • 1126

    #2
    From ZABBIX wiki:

    Step 3

    Edit include/forms.inc.php.

    Open this file for editing, search for css_bb.css. There are two pieces of code that have to be amended.
    Did You added new theme to all occurrences of "css_bb.css"?
    Zabbix | ex GUI developer

    Comment

    • yuhuu
      Member
      • Jan 2010
      • 30

      #3
      what did u mean aly?

      i cant really understand it.

      may you give me any example so it is easy for me to understand it?

      sorry.
      Last edited by yuhuu; 15-04-2010, 09:23. Reason: correct my spelling mistake

      Comment

      • Aly
        ZABBIX developer
        • May 2007
        • 1126

        #4
        Hmm sorry, I reviewed your changes, and realized that they actually are correct, so I would suppose that the reason is that you modified wrong files or forgot to copy them to the web dir.
        Zabbix | ex GUI developer

        Comment

        • yuhuu
          Member
          • Jan 2010
          • 30

          #5
          forgot to copy to web dir?

          hm. where is web dir?

          is it?
          ..../frontend?

          Comment

          Working...