cancel
Showing results for 
Search instead for 
Did you mean: 

Site custom page title in navigation bar

barad
Champ in-the-making
Champ in-the-making
Hi,

I have been creating some custom pages to be added on my sites and everything looked fine with pages. However I noticed that when I click on my custom page title to navigate to my page on navigation bar, the page title's label is not highlighted in white color unlike default pages such as: Site Dashboard, Document Library, etc.

I was wondering wether this is a default behavior or I might require some extra configuration to apply page selection effect for Page title within navigation bar.

I also noticed the Alfresco Share documentation's screenshot indicates similar issue when custom page is selected:
[img]http://docs.alfresco.com/3.4/topic/com.alfresco.Enterprise_3_4_0.doc/images/kb-site-page.png[/img]

Image from:
http://docs.alfresco.com/3.4/topic/com.alfresco.Enterprise_3_4_0.doc/tasks/kb-page-add.html

Appreciate any help or suggestion.
1 REPLY 1

lementree
Champ on-the-rise
Champ on-the-rise
Hi,

When we are creating Template Instance for the custom page we have to define the Page Family.
Whatever the value you have given in the page family that page will be highlighted.

Please find the sample code
<?xml version='1.0' encoding='UTF-8'?>
<template-instance>
   <template-type>org/alfresco/my-status</template-type>
   <description>My Status page</description>
   <properties>
      <pageFamily>my-status</pageFamily>
   </properties>
   <components>

      <!– Title –>
      <component>
         <region-id>title</region-id>
         <url>/components/title/collaboration-title</url>
      </component>
</components>
</template-instance>