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
HayaHaya 

Landing page problem in customer portal - only partial view

In a customer portal I assigned a page as the landing page in Customize Portal Tabs

I assigned the landing page to be the home page in Page Layouts Assignment.

The page consists of a content area and a navigation area (component) .  

When I click on the page’s tab – not the Home tab – I see the whole page.

When I click on the Home tab - only the content area is displayed, not the navigation area.

 

My page:

 

 <apex:page docType="html-5.0" showHeader="true" standardStylesheets="false" sidebar="true">
<apex:stylesheet value="{!URLFOR($Resource.ForteStyles)}" />
<head>
</head>
<body>
<div id="headDiv">
<h1 style="font-weight:bold;color: #5f9bbf; font-size: 1em;">Simple Workflow and Work-class Content</h1><br />
<h2 style="font-weight:bold;font-style:italic; color: #79aac9; ; font-size: .7em;">A customized development plan that supports the most frequent development needs</h2></div>
<div id="containerDiv">
<div id="mainDiv">
<img src="https://cs3.salesforce.com/resource/1375345300000/portal_page_1" />
</div>
<div id="navDiv">
<c:forte_navigation />
</div>
<div class='clear'></div>
</div>
<div id="footDiv" >
</div>
</body>
</apex:page>

 

The navigation component:

 

<apex:component >
<style type="text/css">
#navDiv {width: 250px; margin-left: 25px; float: left; background-color: #d9d9d9; }
#navDivInner { margin: 0 auto; }
.navigTitle {height:40px; text-align:center; background-color:#008699; color:#ffffff;
  font-size:21px; font-family:"Times New Roman", Times, serif; font-weight: bold;
  padding-top: 10px; }
.menu {text-align: center; margin: 0 auto; padding: 0; }
.menu ul {display: inline-block; margin: 0; padding: .5em 10px; }
li.leaf { border: 1px solid #dddddd; background-color: white; color: #008699; display: block;
  margin: .5em 0; padding: 10px; font-weight:bold;
  list-style-position:inside; list-style-type: none; }
li.leaf a:link, li.leaf a:visited { color: #008699; text-decoration: none; }
li.leaf a:hover,li.leaf a:active { color: #000000; text-decoration: underline; }  
</style>
<div id="navDivInner">
<p class="navigTitle">
Powered by Lominger
</p>
<div class="menu">
<ul>
<li class="leaf"><a href="/apex/ForteOverview">Overview</a></li>
<li class="leaf"><a href="/apex/fortehome">Development Plan</a></li>
<li class="leaf"><a href="/apex/competency_library">Competency Library</a></li>
<li class="leaf"><a href="/apex/Success_Profiles">Success Profiles</a></li>
<li class="leaf"><a href="/apex/ProSpective_Assessment">ProSpective Assessment</a></li>
<li class="leaf"><a href="/apex/FYI_Development">FYI Development</a></li>
</ul> 
</div>
</div>  
</apex:component>

 

What am I doing wrong?

Thank you,

Haya

HayaHaya

I got rid of the component and are using instead an include page that has the menu.

 

I assigned the main page  to be the Landing page, and that works fine under it's own tab.

 

How do I assign the page to the Home tab?

 

When I go to: Customize -> Home -> Home Page Layouts -> Page Layouts Assignment

The page is not one of the items I can choose.

 

Any help would be greatly appreciated.

 

This is my page now:

 

<apex:page docType="html-5.0" showHeader="true" standardStylesheets="false" sidebar="true">
<apex:stylesheet value="{!URLFOR($Resource.ForteStyles)}" />
<head>
</head>
<body>
<div id="headDiv">
<h1 style="font-weight:bold;color: #5f9bbf; font-size: 1em;">Simple Workflow and Work-class Content</h1><br />
<h2 style="font-weight:bold;font-style:italic; color: #79aac9; ; font-size: .7em;">A customized development plan that supports the most frequent development needs</h2></div>
<div id="containerDiv">
<div id="mainDiv">
<img src="https://cs3.salesforce.com/resource/1375345300000/portal_page_1" />
</div>
<div id="navDiv">
<apex:include pageName="ForteHomeMenu" />
</div>
<div class='clear'></div>
</div>
<div id="footDiv" >
</div>
</body>
</apex:page>

 

HayaHaya

People here has been very helpful to me and I am grateful.

I would very much appreciate help with this issue. I am trying different things and nothing is resolving my problem.

Thank you for sharing your knowledge,

Haya