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
bcallumbcallum 

Displaying Content page without Header or Sidebar

Hello,

 

Does anyone know how to display the Content / Workspaces / Subscriptions tabs without the Sidebar and Header?

 

I see that Salesforce has done it internally for their Partner Portal, the Apex page is called "PP2ContentFramePage", full link is:

 

/apex/PP2ContentFramePage?p=PP_Content&l=/sfc/#search

Pradeep_NavatarPradeep_Navatar

I have done it in the custom Visualforce page.  Use the following code to make the header and sidebar hidden in a Visualforce page :

 

 <apex:page showheader = "false" sidebar = "false"/>

 

Hope this helps.

bcallumbcallum

Hi Pradeep,

 

Thank you for the reply, but I don't believe you can build a Visualforce page that displays the standard content page.

 

If there is a way to do this please let me know.

 

Brendan