Purpose
The Tag Cloud widget was constructed to provide a high-level view of the state of a project or the overall projects. If restricted to an individual product within Bugzilla, the Tag Cloud widget will report first on the components of that product and then on the priorities and severities of the product.
You may wish to modify the source code to exclude certain states or products or change the css for colors (e.g. red for the largest numbers). It’s yours to play with!
Screenshots


Installation
Note: This version will only work with Bugs Dashboard v3.2 and up due to the use of the loginName parameter.
To use the TagCloud Widget, do the following:
- Copy the TagCloud.class and TagCloud$Tag.class files from com/wmpnj/bugz/portlets into the deployed web application directory; i.e. /webapps/bugs/WEB-INF/classes/com/wmpnj/bugz/portlets. This may require that you also copy the directory “portlets” if this is the first portlet you are deploying.
- Copy the TagCloud.css file to the deployed web application css directory; i.e. /webapps/bugs/css.
- Update the dwr.xml file in the deployed web application WEB-INF directory; i.e. /webapps/bugs/WEB-INF. Edit the file with a text editor and add the following after the last </create> statement:
<create creator="new" javascript="TagCloud"> <param name="class" value="com.wmpnj.bugz.portlets.TagCloud" /> </create>
- Update the appropriate portlets.properties file in the deployed web application classes directory; i.e. /webapps/bugs/WEB-INF/classes/projectA_portlets_en_US.properties or 2080_portlets_en_US.properties:
- Update the total count of portlets by incrementing the count of portlets by 1
- Add the following in the position that you want the portlet to appear within your desired column. For example, if you want the Tag Cloud to appear at the top of the right-most column in a three column portal, you must insert this ahead of any other portlet whose column is “2″. After adding the following block, you MUST then renumber the portlets appropriately, beginning with 0, i.e. “portlet0″, “portlet1″.
portlet0.title=Tag Cloud portlet0.column=2 portlet0.package=com.wmpnj.bugz.portlets.TagCloud portlet0.className=TagCloud portlet0.method=getText portlet0.stylesheet=TagCloud.css portlet0.javascript= portlet0.desc= portlet0.call= portlet0.restrictTo=
You may change the title and column, but do NOT change the package, className, or method!
