Original: https://sourceforge.net/p/itop/discussion/922360/thread/24498390/?limit=25#8e0b
Customize Itop's homepage display,
As follows:
650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M02/7D/DE/wKiom1bxNviB5XVaAAB6OVuKavg424.png "title=" 2.png " alt= "Wkiom1bxnvib5xvaaab6ovukavg424.png"/>
650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M02/7D/DE/wKiom1bxNwnxS2EDAAJUlCADOl0865.png "title=" Qq20160322195501.png "alt=" Wkiom1bxnwnxs2edaajulcadol0865.png "/>
[Email protected]:/var/www/html/itop.new# cat env-production/itop-welcome-itil/welcomemenupage_ Dashboard_menu.xml<?xml version= "1.0"? ><dashboard xmlns:xsi= "http://www.w3.org/2001/ Xmlschema-instance "> <layout>DashboardLayoutOneCol</layout> <title> </title> <auto_reload> <enabled>false</enabled> <interval>300</interval> </auto_reload> < Cells> <cell id= "0" > <rank>0< /rank> <dashlets> <dashlet id= " xsi:type=" "Dashletheaderstatic" > <rank>0</rank> < Title>requests</title> <icon>itop-request-mgmt-itil/images/ user-request.png</icon> </dashlet> <dashlet id= " xsi:type=" "Dashletobjectlist" > <rank>1</rank> <title>UI:WelcomeMenu:MyCalls</title> <query>select userrequest as i where i.agent_id = :current_contact_id AND status NOT IN ("Closed", "resolved") </query> <menu>true</menu> </dashlet> <dashlet id= " xsi:type=" DashLetobjectlist "> <rank>2</rank> <title>My team requests</title> <query>SELECT UserRequest AS I join team as t on i.team_id = t.id join lnkpersontoteam as lnk on lnk.team_id = t.id where lnk.person_id = :current _contact_id and i.status not in ("Closed", "resolved") </query> <menu>false</menu> </dashlet> </dashlets> </ Cell> <cell id= "1" > <rank>1</ Rank> &nbsP; <dashlets> <dashlet id= " xsi:type=" > < "dashletheaderstatic" rank>0</rank> <title>incidents</ title> <icon>itop-incident-mgmt-itil/ images/incident.png</icon> </dashlet> <dashlet id= " xsi:type=" "Dashletobjectlist" > <rank>1</rank> <title>My incidents</title> <query>select incident as i where i.agent_id = : current_contact_id and status not in ("Closed", "resolved") </query> <menu>true</menu> </ Dashlet> <dashlet id= " xsi:type=" Dashletobjectlist "> <rank>2</rank> <title>my team incidents</title > <query>select incident as i JOIN Team AS t ON i.team_id = t.id JOIN lnkpersontoteam as lnk on lnk.team_id = t.id where lnk.person_id = :current_contact_id and i.status not in ("Closed", "resolved") </query > <menu>false</menu> </dashlet > </dashlets> </cell> <cell id= "2" > <rank>2</rank> <dashlets> <dashlet id= " " xsi:type=" > < "dashletheaderstatic" rank>0</rank> <title>work orders</title> <icon>itop-tickets/ images/workorder.png</icon> </dashlet> <dashlet id= " xsi:type=" "Dashletobjectlist" > <rank>1</rank> < title>my work orders</title> <query>select workorder as i where i.agent_id = :current_contact_id AND status NOT IN ("closed") </query> <menu>true</menu> </dashlet > <dashlet id= " xsi:type=" DashletObjectList " > <rank>2</rank> <title>My team work orders</title> <query>SELECT WorkOrder AS i Join team as t on i.team_id = t.id join lnkpersontoteam as lnk on lnk.team_id = t.id where lnk.person_id = :current_contact_id and i.status not in ("closed") </query> <menu>true</menu> </dashlet> </dashlets> </cell> <cell id= "3" > <rank>3</rank> <dashlets> <dashlet id= "0" xsi: Type= "Dashletemptycell" > <rank>0</rank > </dashlet> </ dashlets> </cell> <cell id= "4" > < rank>4</rank> <dashlets> <dashlet id= "0" xsi:type= "Dashletemptycell" > <rank>0</rank> </dashlet > </dashlets> </cell> <cell id= "5" > <rank>5</rank> <dashlets> <dashlet id= "0 " xsi:type=" > <rank> "Dashletemptycell" 0</rank> </dashlet> </dashlets> </cell> </cells></dashboard>[email protected]:/ var/www/html/itop.new# [email protected]:/var/www/html/itop.new# [email protected]:/var/ www/html/itop.new# [email protected]:/var/www/html/itop.new# Restart Apache
This article is from the "Soul Bucket" blog, please be sure to keep this source http://990487026.blog.51cto.com/10133282/1754058
Custom WELCOMEMENUPAGE_DASHBOARD_MENU.XM Itop Home Display