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
Anuj Joshi 42Anuj Joshi 42 

Site templates used in vf page

Hi All,

We have a code where we are using site templates. I have to add one more div in the VF page. The site template is used in VF Page. I am not able to figure out where to add the div code. We have code like this.
<apex:composition template="{!$Site.Template}">
  <apex:define name="headerNav">
    <c:HeaderComponent id="headerComponent" displayContactUs="true" displayMyCases="true" displayMyProfile="true"/>
  </apex:define>
  <apex:define name="maincolumn">
        <a name="mainContent" id="mainContent"></a>
                           <div id="rn_dashboardwrapper">
                               <div id="rn_dashboard">
                                   <div style="padding-bottom: 10px;">
                                   <apex:outputLink value="{!$Page.InstantAnswers}"><apex:image alt="CertificationSupport" url="{!URLFOR($Resource.CiscoPortalResource, 'images/skin/CertificationsSupport.PNG')}" /></apex:outputLink>
                            <!-- banner start here on 7/21/2017 -->

I am not able to find where {$Site.Template} is used. I need to add the div code.

Thanks,
Anuj
 
jane1234jane1234
HEY anuj
its is used in first  line of code
<apex:composition template="{!$Site.Template}"> <apex:define name="headerNav">
Anuj Joshi 42Anuj Joshi 42
Hi Seethal,

I need to include SiteFooter component in the VF page. I have customized the sitefooter component and i am calling in Vf page. It is not coming on the UI.

Thanks,
Anuj
 
jane1234jane1234
HOW HAVE YOU CALLED SITE FOOTER COMPONENT?