|
From: Juneau001 <jun...@us...> - 2007-03-27 10:51:14
|
<http://gather.sourceforge.net> Gather Logo <http://gather.sourceforge.net> *Tips and Tricks #1 * You can change the side box picture(s) from their default Sun and PostgreSQL logos. Simply add a small photo into the \images directory at the root of the website (Path within distribution: Gather\build\web\images) and then change the sidebar.jsp page to use the new photos. Sidebar.jsp resides within the \pages directory at the root of the website. Towards the bottom of the page (line 64), you will find the following code for the sun logo and link: <tr:goLink id="goSun" destination="http://java.sun.com" styleClass="sun-sidebar"> <h:graphicImage id="sunLogo" url="#{request.getContextPath}/images/sunlogo.gif"/> </tr:goLink> Simply change the code as shown below to modify it accordingly. You can even remove the <tr></tr> tags from around the <h:graphicImage> tag if you do not wish to use a web link. <tr:goLink id="rename id if you wish" destination="your link here" styleClass="sun-sidebar"> <h:graphicImage id="rename if you wish" url="#{request.getContextPath}/images/your photo name"/> </tr:goLink> That is it for tip #1...stay tuned for more! |