Child pages
  • PNP template - Custom Colors in pnp special template

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Added link to php-file

We have created a custom file for changing the colors in pnp special templates.

Put the attached file (line3-customcolors.inc.php) in  in :

/opt/monitor/op5/pnp/templates.special/include/

And change the reference in:
/opt/monitor/op5/pnp/templates.special/<specialtemplatename.php> ("include/$type.inc.php");

to
line3-customcolors.inc.php 

And don't forget to remove the row containing #NACOMA for the changes to take effect.

Changes from the original file: $colors[$i % count($colors)] (and updating for the variable $i).

If you change the settings for the template these changes will be overwritten