You need to sign in to do that
Don't have an account?
BrettGus
Mimic salesforce standard pages style
I'm just starting out with visualforce here... but I'd really like to make my own account page from scratch except using the new theme. However, when I make a VF account page page with the standard controller... it looks completely different from an actual account page. Am I missing something?
To make it exactly same as standard Salesforce look-and-feel use the following in addtion to what Kevin said:
If you dont use sectionHeader the image of account(or icon[a folder]) wont come in your VF page.
This will definitely help you, I hope.
All Answers
If you're using apex:page block, by default it's going to have the gray background and color border. If you want it to look more like the standard, you can add mode="maindetail" to the pageblock tag.
e.g.
<apex:pageblock mode="maindetail" title="blah">
That will change the layout to the white background and no border...just like the standard layout.
To make it exactly same as standard Salesforce look-and-feel use the following in addtion to what Kevin said:
If you dont use sectionHeader the image of account(or icon[a folder]) wont come in your VF page.
This will definitely help you, I hope.
Both of those suggestions were helpful. Thanks guys
For future reference, I put the entire code for creating a custom account edit page on my blog. You can just copy-paste the code from this post.