You need to sign in to do that
Don't have an account?
DataDarling80
Messed up my Site Template
So I'm a beginner at this first of all, enthusiastic but not very good. I had added my logo & style sheet as static resources and header & footer as components. At one point my template was looking good & now it just has a header. See below:
<apex:page showHeader="false" id="SiteTemplate">
<table border="1" width="100%" height="100%">
<apex:stylesheet value="{!$Resource.OSFStyleSheet}"/>
<apex:insert name="siteheader">
<c:SiteFooter />
<site:googleAnalyticsTracking />
</apex:insert>
</table>
</apex:page>
What I do wrong?
Thanks!
try the following, seems like you don't have a body section in the template where the actual page content would be rendered in the body section
<apex:page showHeader="false" id="SiteTemplate">
<table border="1" width="100%" height="100%">
<apex:stylesheet value="{!$Resource.OSFStyleSheet}"/>
<apex:insert name="header">
<c:SiteHeader />
</apex:insert>
<apex:insert name="body"/>
<apex:insert name="footer">
<c:SiteFooter />
<site:googleAnalyticsTracking />
</apex:insert>
</table>
</apex:page>