Timeline for How to use image in Customer Portal header HTML, without using Image ID?
Current License: CC BY-SA 3.0
9 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Feb 12, 2013 at 12:28 | comment | added | Matt and Neil | :-) maybe take a look at Chatter Communities which offers better customization options | |
Feb 12, 2013 at 10:48 | vote | accept | Shumon Saha | ||
Feb 12, 2013 at 10:40 | comment | added | Shumon Saha | Thank you for stubbornly sticking around! It works perfectly. Since this functionality is undocumented and in case Salesforce changes the URL for accessing Static Resources later, do you see any issues in the future? | |
Feb 12, 2013 at 10:27 | comment | added | Matt and Neil | Hey @BarneyRubble, that's JavaScript, not Visualforce - please try again carefully. | |
Feb 12, 2013 at 9:43 | history | edited | Matt and Neil | CC BY-SA 3.0 |
deleted 4 characters in body
|
Feb 12, 2013 at 9:42 | comment | added | Matt and Neil |
It'll only work in a Force.com Site or Customer Portal via your HTML header. If you inspect the DOM, what is the URL that ends up in your img tag?
|
|
Feb 12, 2013 at 9:05 | comment | added | Shumon Saha |
Nope, not working. I don't think that UserContext can work in non-VF HTML pages.
|
|
Feb 12, 2013 at 8:46 | history | edited | Matt and Neil | CC BY-SA 3.0 |
edited body
|
Feb 12, 2013 at 8:41 | history | answered | Matt and Neil | CC BY-SA 3.0 |