You need to sign in to do that
Don't have an account?
CMSForce template creating 2 body content blocks
My code:
<apex:page showheader="false"> <apex:stylesheet value="{!$Resource.OSFStyleSheet}"/> <table border="1" width="100%" height="100%"> <tr> <td colspan="2"> <apex:image id="logo" Value="{!$Resource.OSFLogo}"/> <c:contentblock name="header"/> <hr/> </td> </tr> <tr> <td colspan="1"> <c:contentblock name="sidebar"/> </td> <td> <c:contentblock name="body"/> </td> </tr> <tr> <td colspan="2"> <hr/> <c:contentblock name="footer"/> </td> </tr> </table> <apex:panelGroup rendered="{!ISPICKVAL($User.UserType,'Guest')}"> </apex:panelGroup> </apex:page>
So I end up with 1 header, followed by my layers of body content, followed by my footer, followed by another round of the same body content. Where did I go wrong?
This all looks ok to me.
Are you sure you didn't include your content again ? Check your page.
What my page looks like in CMS Force. There are no other parts, except for the header appearing once from the Template.
If someone can tell me how to post pictures, I can add screenshots of my work or something!