lpeel Posted March 17, 2011 Share Posted March 17, 2011 I've already changed LOGIN_WELCOME_OS and got a nice custom title to appear. I don't need any other customizations at all.Seperate instance of tomcat 6 and MySQL 5.1.x is running in my test Windows XP environmentHere is what I've tried so far:1. edit webapps/jasperserver/themes/default/pageSpecific.css#loginPage #welcome { height: 340px; background-image: url("images/my_company_logo.jpg"); background-repeat: no-repeat; background-position: center 50px; margin-bottom: 15px;}#loginPage .community #welcome { background-image: url("images/my_company_logo.jpg");}2. edit webapps/jasperserver/themes/default/overrides_custom.css to include same 3. add images/my_company_logo.jpg to webapps/reportserver/themes/default/images4. Clear browser cache, clear work and temp directories, restart tomcat********* Result: no luck. *******************5. Went to localhost repository in IReport and tried to upload image.********* Result: no luck. *******************Get Access denied. I've been uploading all my jrxml to repository all alongso I know that my jasperadmin account works fine.6. Ran the Jasperserver application as jasperadmin to try to update the repositorythat way.********* Result: no luck. *******************jasperadmin has no option to upload an image or css into the /themes/default/images directory.My goal was to upload my_company_logo.jpg to images and uploada modified pageSpecific.css to /themes/default7. Noticed that as jasperadmin I could upload an entire theme. So I zipped up the entiredefault theme (that had my changes), then uploaded it and called it default2.********* Result: no luck. I am clueless on how to make login.html use the default2 theme *******8. Where I'm at right now is I hacked into the jasperserver jifileresource table and used SQLYog to updatethe css to remove the reference to login_welcome_ce_bkgd.jpg.The default image no longer appears but blank looks more professional for my client. I really want to get my client's own logo to appear. I've been trying to get this to work for 8 hours now, please help.Thanks. Link to comment Share on other sites More sharing options...
baggypants Posted March 18, 2011 Share Posted March 18, 2011 Right click the default2 folder in the repository tree and select "Set as Active Theme" this dosn't appear if it's alread set as the active theme. Also you don't have to download and install all the files as the new theme. just the ones you have changed. so in my theme folder I have the new logo in the Images directory, a new theme.css and PageSpecific.css and thats about itFinally, this forum is purely for help regarding creating jrxml report file. there is a forum for asking questions about JasperReports Server here: http://jasperforge.org/projects/jasperserver/forum/Post Edited by baggypants at 03/18/2011 10:23 Link to comment Share on other sites More sharing options...
lpeel Posted March 18, 2011 Author Share Posted March 18, 2011 thanks, that worked! I wish there was a way to move this post to the Jasperserver forum, too late now I guess. As a side note, I found that you can make it get images from the file system or repository by editing applicationContext-themes.xml Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now