Web UI theme customization - images upload?
Hello guys,
I'm playing with web UI theme customization. I haven't been able to add images to my customizations (nor html neither css), it seems that the images are not located in the zip file. Any tip on how to do this? Thanks in advance. Regards, Jorge. |
8 answers
Hello guys,
the code I'm trying to "footerRight.html" is quite simple:
But when loading this as theme customization, I can see the alternate text but I can't the image. Executing this code as standalone html page works fine. Any tip? Regards, Jorge. |
|
Hi Robert,
thanks for your reply. I solved this issue with a bit of code to translate the image path basically. Anyway, all the tips in that post are worth to remember xD. Regards, Jorge. |
Hi Jen,
I used this same function to translate the image path. I declared a new definition for "jazz.theme.FooterRightWidget" within a dojo function and I used the same "jazz.util.theming.themeFileUrl" to translate the image location. Regards, Jorge. |
Jorge, would you be willing to post a basic .js file that replaces the IBM logo with another picture? I've been trying to make this work for hours now, and apparently I don't know the magical dojo incantation.
thx... |
Hi,
I've followed the information of this post and used the snnipet to put another image instead of the Jazz logo, but I still can't get it working... It seems it still 'translates' the scr attribute to an invalid url: /ccm/_theming/resource/logo.GIF which doesn't exist. I've added the logo.gif in all the folders of my theme.zip, just in case... and My snippet ( almost copy/pasted) for FooterRightWidjet.js is:
Any idea why it resolves it that way? Any help will appreciated :) |
Hi, One quick clarification. Is the file actually named "logo.GIF", is it possible that it's "logo.gif" If so our code doesn't change the case of the filename, but could you check for logo.gif to see if that works? Second clarification would be to verify which version of the product you're using? 1.x is different than 3.x. |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.