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
pooja chauchanpooja chauchan 

Migrating website to Salesforce

- Where do I upload the website assets so I can call them in my visualforce pages?
- How would I use our login page to align with Salesforce's login credentials as a Community User?
- How do I implement a dynamic "leaderboard" from a custom object?
Best Answer chosen by pooja chauchan
Gaurav NirwalGaurav Nirwal

Kindly find my answers below:
1. - Where do I upload the website assets so I can call them in my visualforce pages?
- Static Resources (How to use it: https://www.salesforce.com/us/developer/docs/pages/Content/pages_resources.htm)

2. How would I use our login page to align with Salesforce's login credentials as a Community User?
- Salesforce provides standard login page which you can customize or style. You can have custom community login page also. When you activate community in org. you will start seeing those standard VF pages. Salesforce auto creates all of those. I will suggest you to go with totally a Custom Vf page for login rather than modifying existing login page as it is used by every community if you have multiple communities and not a good idea to touch it.

3. How do I implement a dynamic "leaderboard" from a custom object?
- You can have a VF page which have a controller fecthing data from Custom object and can implement Ajax and style Vf to show it like a dashboard.

Hope this helps

All Answers

PratikPratik (Salesforce Developers) 
Hi Pooja,

You can use Force.com Sites to migrate your website.

1. You can upload your assets on website to Static Resource and then you can call the Static resources in the Visualforce page. (!$Resource.resourcename) 

2. You can customize your login page, if you are using community; you will get option to brand the login page with your company logo etc.

Community->All Communities->on the community name you will get Administrative Setting option ; here there is Login page & branding option available.

If you are using the Force.com sites, you can design "SiteLogin" page to match the branding of your site.

You can refer to this post:
https://developer.salesforce.com/forums?id=906F0000000AkigIAC

Thanks,
Pratik

If this answers you question, please mark it as "Best Answer" so it will help other community members too.
Gaurav NirwalGaurav Nirwal

Kindly find my answers below:
1. - Where do I upload the website assets so I can call them in my visualforce pages?
- Static Resources (How to use it: https://www.salesforce.com/us/developer/docs/pages/Content/pages_resources.htm)

2. How would I use our login page to align with Salesforce's login credentials as a Community User?
- Salesforce provides standard login page which you can customize or style. You can have custom community login page also. When you activate community in org. you will start seeing those standard VF pages. Salesforce auto creates all of those. I will suggest you to go with totally a Custom Vf page for login rather than modifying existing login page as it is used by every community if you have multiple communities and not a good idea to touch it.

3. How do I implement a dynamic "leaderboard" from a custom object?
- You can have a VF page which have a controller fecthing data from Custom object and can implement Ajax and style Vf to show it like a dashboard.

Hope this helps
This was selected as the best answer