The ganglia-web sub-directory templates/defaults has the files: > cluster_extra.tpl header-nobanner.tpl images show_node.tpl > cluster_view.tpl header.tpl meta_view.tpl > footer.tpl host_extra.tpl node_extra.tpl > grid_tree.tpl host_view.tpl physical_view.tpl
If I want to create a custom template with a new header logo, I would: 1) create a new subdirectory templates/new 2) copy the file templates/default/header.tpl to templates/new/header.tpl 3) edit templates/new/header.tpl with my new logo 4) edit conf.php for Stemplate_name = "new"; Does this makes sense ? Thanks, Chris Hunter Yale University > Hi, > > I have been maintaining an instance of ganglia 3.0.3 installed by my > predecessor. The last guy was a php programmer and did all sorts of > fancy things to our ganglia frontend. > > I am starting a fresh install of ganglia 3.1.7; I have the basics done. > I have our gmond-3.0.x clusters talking to the gmetad-3.1.7 host. I have > the web frontend running. > > Next I want to create a custom template. I'll start with simple stuff > like adding a custom logo bitmap to the metapage, maybe some URL links > to our department website, etc. > > Can anyone point me to some documentation about creating custom > templates ? What is 'best practice' to integrate a template with a > ganglia-3.1.x installation ? > > Thank-you in advance, > > Chris Hunter > Yale University > ------------------------------------------------------------------------------ Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today http://p.sf.net/sfu/msIE9-sfdev2dev _______________________________________________ Ganglia-general mailing list Ganglia-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ganglia-general