Rick Butland
Tue, 02 Mar 2010 09:54:26 -0800
Hello, and sorry for the delayed response.1. Index form / landing page - Well, the initial default index page is located in:
/opt/tarantella/webserver/apache/{version}/htdocs
index.html is a link to the locale, such as index_en.html, and just sets
up a frameset, with topFrame_en.html, leftFrame.html, webtop_en.html,
and bottomFrame_en.html. Edit these as necessary.
When making changes, for Apache's html files, backup the existing files before making any changes. For Tomcat, it's better to create a new version of the various resources by copying them.
You'll note that the images refer to "/sgd/resources/images/" which is mapped to the Tomcat directory /opt/tarantella/webserver/tomcat/{version}/webapps/sgd, so that, for example, to locate the "sgdLogo.gif" file referred to topFrame_en.html, refer to /opt/tarantella/webserver/tomcat/{version}/webapps/sgd/resources/images/webtop/sgdLogo.gif"
So, you can change the html in htdocs as necessary, but if you want to make changes to graphics, you'll want to create a new version by copying the existing directories (see the "copy" step below:)
2. For the login form, the JSP directory is: .../sgd/webtops/standard/... with icons from .../sgd/resources/images/login
So, to make your own login form, what you'll want to do is create your own directory to work in, like:
$ cd .../sgd/ $ cp -Rfp resources custom_resources $ cp -Rfp webtops/standard webtops/custom $ cp standard.jsp custom.jspIn .../sgd/webtops/custom/authentication is login.jsp, which refers to images in .../sgd/custom_resources/images/login/ such as "mainnew.gif", "maintop.gif", etc - change these elements to fit your needs, and modify login.jsp (the "table" on line 133 may need to have height and width altered, "color" on line 149) as necessary.
To enable this new scheme, you'll want to got to .../sgd and copy standard.jsp to custom.jsp. Edit this file to use the appropriate resource directories - basically, any reference to "resources/jsp/" change to "custom_resources/jsp/". Similarly, any references to "standard" change to "custom". Finally, edit the index.jsp to load custom.jsp.
3. Make changes to the webtop itself - The webtop JSP's will now be in "...sgd/webtops/custom/webtop" - edit as appropriate. The image files will be located in ".../sgd/custom_resources/images/webtop", and the strings directory in ".../sgd/custom_resources/strings" - in the file JSPResources.properties are "strings" that control certain messages the user sees on their webtop - fairly self-explanatory.
Anyway, hope that's a start ... Regards, Rick On 2/10/10 4:09 AM, Mohamed Ali Abdullah wrote:
Dear all,I am planning to customize my SGD webpage to my company's logo and wordings.Basically, i want to customize the following:1) Welcome page, for example the page shows when you login to www.sgd.com. 2) The Authentication page, for exp the page shows when you type username & password www.sgd.com/sgd3) And finally the webtop page when you successfully login to SGD. I am looking forward to get any sort of help. Thanks Regards, Alisampras _______________________________________________ SGD-Users mailing list SGD-Users@filibeto.org http://www.filibeto.org/mailman/listinfo/sgd-users
-- *Rick Butland** *Sales Consultant* *Desktop Virtualization* rick.butl...@sun.com <mailto:rick.butl...@sun.com> * direct: (703) 579-1947 cell: (703) 328-8130 int. ext: x53261 YahooIM: rwbtta 7900 Westpark Drive McLean, VA 22102 fax: (703) 444-0538 Oracle"
_______________________________________________ SGD-Users mailing list SGD-Users@filibeto.org http://www.filibeto.org/mailman/listinfo/sgd-users
- [SGD-Users] How-To customize SGD login and authentication page Mohamed Ali Abdullah
Re: [SGD-Users] How-To customize SGD login and authentication page Rick Butland