cancel
Showing results for 
Search instead for 
Did you mean: 

Active page problem

jelena
Champ in-the-making
Champ in-the-making
Hi,

I've created my custom page and added it on my site and everything works fine beside one thing.
When I'm on that newly created page I can't see that in navigation bar, for example if I'm using yellowTheme, title of my custom page isn't underlined when I'm on it.

So Share doesn't see that my page is curently active page.

Can someone help me please,

Thanks
4 REPLIES 4

mikeh
Star Contributor
Star Contributor
Make sure your template has the correct pageFamily set:
   <properties>
      <pageFamily>my-custom-page-name</pageFamily>
   </properties>
…and that it matches the SitePages section of share-config (that you'll extend in share-config-custom.xml)
   <config evaluator="string-compare" condition="SitePages">
      <pages>
         <page id="my-custom-page-name">my-custom-page-url</page>
      </pages>
   </config>

Thanks,
Mike

jelena
Champ in-the-making
Champ in-the-making
Hi,

Thanks for your really quick reply. Now it works.

So I was wondering is there any more detailed Share API to read about. Because I couldn't find anything about this on net so in case you haven't helped me, where could I find detailed informations about configurations (like this one issue) of pages, dashlets and stuff.

I think that documentation on Share is poorer than documentation of Alfresco itself.

Thanks again on your answer.

mikeh
Star Contributor
Star Contributor
Our Wrox "Professional Alfresco" book goes into great detail on Share customisations.

Thanks,
Mike

jelena
Champ in-the-making
Champ in-the-making
Yeah, I have that book but maybe I missed it.

Tnx