cancel
Showing results for 
Search instead for 
Did you mean: 

How to change the forms of Alfresco's actions

boblast
Champ in-the-making
Champ in-the-making
Does anyone know how to change standard alfresco's form?

I tried doing this.
I also tried finding it on the forum.

but until now,I have not got any thing.

I have created a new functionality for alfresco but also I am in a need to modify the layout for alfresco's form rather than using a default one.

Who is able to help me?

Thank you in advance.
3 REPLIES 3

ddraper
World-Class Innovator
World-Class Innovator
A bit more information would be useful… for example there are hundreds of forms through Share, is there one form in particular that you want to change or are you trying to change the styling for forms overall (or something else?). When you say that you want to change the layout, what exactly are you trying to do?

You'll find most of the forms related code under "/Web Framework Commons/config/alfresco/site-webscripts/org/alfresco/components/form" in the source tree. The "/Web Framework Commons/source/java/org/alfresco/web/scripts/forms/FormUIGet.java" is the main class used by the forms webscript for getting the form data and most of the rendering is handled by macros defined in "/Web Framework Commons/config/alfresco/site-webscripts/org/alfresco/components/form/form.lib.ftl"

boblast
Champ in-the-making
Champ in-the-making
Sorry for not being specific on my ideas.

What I am trying to figure out is: I want to change any layout of document actions on Alfresco's menu which are:
Download
View in Browser
Copy to..
Move to.
and so on..

Do you know what I mean?

They have a default layout for their web pages when clicking on one of these buttons.

I am in a need to change them by somehow.

I hope you are going to be able to understand.

See you
Thank you very much for replying my question.




ddraper
World-Class Innovator
World-Class Innovator
You can update the XML configuration to alter the actions that are displayed in both the document library and document details pages… there are numerous blog posts on doing this, try these to start with to see if they provide the information that you need:
http://blogs.alfresco.com/wp/developer/2011/09/26/share-document-library-extensions-in-v4-0/
http://ecmstuff.blogspot.co.uk/2012/04/adding-document-library-actions-in.html