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
DataDarling80DataDarling80 

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?

 

David VPDavid VP

This all looks ok to me.

Are you sure you didn't include your content again ? Check your page.

DataDarling80DataDarling80

 ActionContentBlockItem NameDisplay in ContentblockTypeOrder
 | Edit | DelWelcomebody 1 
 | Edit | DelROCA Reviewer AppbodyWebForm2 
 | Edit | Delsidebarsidebar 1 

 

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!

Message Edited by DataDarling80 on 01-26-2010 06:45 AM