cancel
Showing results for 
Search instead for 
Did you mean: 

Modify landing page when clicking Site

e-no91
Champ in-the-making
Champ in-the-making
Is there any way for for users to directly access to a sites's Document Library, instead of Site Dashboard, when a Site is clicked?

I've tried editing site-index.jsp and change the /dashboard to /documentlibrary, but nothing changed.

Thanks in advance!
6 REPLIES 6

afaust
Legendary Innovator
Legendary Innovator
Hello,

the site-index.jsp is - at least to my knowledge - not used at all in the out-of-the-box product. For your requirement it is necessary to customize Alfresco Share in a way that the URLs generated in the My Sites dashlet and Sites header menu link to the Document Library instead of the Dashboard. This will require customizing or even replacing the client side JS for these components. Also, it can potentially create issues since not all sites may actually provide a document library to link to.

The My Sites dashlet is handled by the YUI-based my-sites.js client side JavaScript file while the Site menu within the header is handled by the Dojo-based AlfSitesMenu.js. For header customizations also refer to the series of blog posts by Dave Draper, starting with <a href="http://blogs.alfresco.com/wp/developer/2013/09/04/customizing-the-share-header-menu-part-1/">Customizing the Share header - Part 1</a>

Regards
Axel

vivekthakur21
Champ in-the-making
Champ in-the-making
Did anyone get solution for the above query? I have the same requirement. Bit urgent one.

afaust
Legendary Innovator
Legendary Innovator
You should check out the new 5.1 release which includes a way to configure a custom landing page for sites out-of-the-box…

vivekthakur21
Champ in-the-making
Champ in-the-making
Thanks AFaust, i have checked 5.1 release and found very useful for my requirement. Is it possible to do in 5.0 version?

afaust
Legendary Innovator
Legendary Innovator
Only if you implement / backport that feature yourself. Alfresco is open source after all, so "anything is possible". 5.0 does not have this as an out-of-the-box feature.

dyvbird
Champ in-the-making
Champ in-the-making
Hi!
I try to resolve the same task.
I have Alfresco Community 5.1 and I try to use Aikau framework to change URLs in site menu.
I found the attribute "siteLandingPage" in the module "alfresco/header/AlfSitesMenu", but I don't know how can I change the default value.
I read Dave Draper's blog, but I don't understand do I need to create extension module to change default value and how to do this.
 
Could you help me?
Best regards, Yury.
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.