function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Robert Wambold 10Robert Wambold 10 

Has anyone created a VF page to replace the standard page Salesforce Promotions content of the right side of the login page?

Hello All,

Has anyone created a VF page to replace the standard page with Salesforce Promotions (https://c.salesforce.com/login-messages/promos.html) content of the right side of the login page? I want to replace the Salesforce Promotions with something more pertinient to my company.

I think many would like to do the same? Can someone point me in the right direction? Any suggestions?

Thanks,

Robert

 

 

Best Answer chosen by Robert Wambold 10
AmarpreetAmarpreet
Hi Robert,

Follow below Steps:

1. Create a static resource and place an Image in Zip "img" folder.
2. Crate a VF as below:
 
<apex:page showHeader="false" title="CustomTemplate" cache="false">
      <apex:image url="{!URLFOR($Resource.CustomTempate, 'img/imageName.jpg')}"/>
</apex:page>

where "CustomTempate" is the Static Resource name. "imageName.jpg" contained in "img" folder.
 
3. Create a Force.Com Site page using Build -> Develop --> Site -> New
4. Use your above created VF page name in "Active Site Home Page".
5. Fill other details.
6. Copy the "Default Web Address" URL  This should be like: "http://mywave-dev-ed-developer-edition.ap15.force.com/yourCustomName"  
7 Make Sure, "Clickjack Protection Level" should be "Allow framing by any page (No protection)".
8. Activate the same.
9. Go to Setup -> Domain Management ->  My Domain or Search for "My Domain" in setup.
10. In "Authentication Configuration", Click edit.
11. In "Right Frame URL": paste the URL you have copied above. Make sure, change the "http" to "https" and append "/" at the end of URL.
This should be like "https://mywave-dev-ed-developer-edition.ap15.force.com/yourCustomName/"  
12. Save and Go to your custom domain URL. 

This should work for you. Let me know if you found any issue.