cancel
Showing results for 
Search instead for 
Did you mean: 

Custom documentlibrary toolbar

dalfonso
Champ in-the-making
Champ in-the-making
Hello,
I am working with Alfresco 4 and we are trying to customize the toolbar.
What we want is to create a button that triggers an action, but only in certain kind of folders.

I have managed to have the button and run the action, but it appears in all the folders.
Anyway, to have this working I have needed to modify a los of .js and other files. I'm sure that in version 4 there is a easiest way to do that, but I couldn't find information.

Can someone help me?

Thanks
4 REPLIES 4

ddraper
World-Class Innovator
World-Class Innovator
Hi,

Have you read through the series of blogs on the new extensibility/customization features for Share in 4.0 (starting here: http://blogs.alfresco.com/wp/ddraper/2011/07/22/how-to-add-content-to-an-alfresco-share-page/ ) in particular you'll want to read up about dynamically evaluating modules to have customizations appear in different circumstances.

How have you achieved your customizations so far? Have you completed overridden the default Document Library toolbar WebScript?

Thanks,
Dave

mtw999
Champ in-the-making
Champ in-the-making
How do you override the default toolbar WebScript?

dalfonso
Champ in-the-making
Champ in-the-making
Hi,

I will have a look to this posts. Maybe it will take a time to understand the new extensibility features.

I suppose I have to guess how to implement this customization in the toolbar a an independent module, because as you have imagined the customization I have  by the moment has been achieved overriding the toolbar.js file.

Thanks, and I'll be back if i get stuck with this (and if succeed i will put my solution)

tapan_d_thakkar
Champ in-the-making
Champ in-the-making
Hi,

I have the similar requirement. displaying my custom toolbar button for some folder, not for all.

please provide your inputs/suggestion.

thanks.