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
imran Rahmanimran Rahman 

Manually mark active tab in Portal

My Customer Portal consists of 5 tabs, as expected when users click on the tab once the page is loaded the tab is highlighted to indicate which page they are on.
For one of my tabs, the links to the objects are displayed in a customer visual force page (using the same page template), as its a child of the Object I expected the objects tab to be highlighted it doesnt.

Is there a way on that particular VF page that I can set which tab to highlight?
Best Answer chosen by imran Rahman
imran Rahmanimran Rahman
The answer is actually in the link you provided:

<apex:Page ...attributes and stuff...  tabstyle="veryCustomVF__tab" ...more attributes and stuff... />

All Answers

Ashish_SFDCAshish_SFDC

Hi Imran, 


That depends on the Controller that you are using - for ex- if you are implementing Standard controller Account then the account Tab will be highlighet and the account theme and color will be implemented.

But this is currently not available for Custom  Visualforce pages, 

See the idea below and vote for the same. 

https://success.salesforce.com/ideaView?id=08730000000hyY5AAI


Regards,

Ashish

imran Rahmanimran Rahman
The answer is actually in the link you provided:

<apex:Page ...attributes and stuff...  tabstyle="veryCustomVF__tab" ...more attributes and stuff... />

This was selected as the best answer