cancel
Showing results for 
Search instead for 
Did you mean: 

Add own content types to Create Content menu

huima
Champ in-the-making
Champ in-the-making
Hi,

I just started to do modifications to Share 3.4a ( Community ) and wondered whether people have experience on what is the proper way to add your own content types into Share's 'Create content'-menu?

As I read through the codebase, I found places where things happen:

- toolbar.lib.ftl template, which draws the menu and lists items, which have links to create content page

- create-content page which uses forms component and has hardcoded configuration to create cm:content


What I had in mind was an ugly hack:

1) hard code my own content item into the menu and create link to create-my-content page

2) create new page to share, which would instead of cm:content be creating our content type


As this includes writing over Share's own files, it does not feel quite good - but should work.

Does anyone else know a better way to do the same thing?

-huima
10 REPLIES 10

nancyaggarwal
Champ in-the-making
Champ in-the-making
hello all

i am using alfresco community edition 4.2b and i want to add create docx file option in create content menu drop-down.

Does anyone know how can i achieve this?

Nancy Aggarwal
Dell International Services