cancel
Showing results for 
Search instead for 
Did you mean: 

Custom theme creation - not in share folder

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

I'm in process of extending share by adding custom sites, pages, themes and other stuff.

What I want to do is put all of this extensions in shared folder of tomcat or in share-extension folder in ROOT. I don't want to put anything explicitly in share folder, just want the extensions.

I've managed to accomplish that with creation of custom pages but I haven't succeded doing the same with themes.

I've put my_theme.xml file in shared/classes/alfresco/web-extension/site-data/themes/my_theme.xml and Share succesfuly recognizes it and I can see my theme in drop down list of customization admin site. The actual code of theme i put in share-extension/themes/my_theme but when i change theme to my_theme Share can't locate my_theme folder because he tries to find it in share/themes/my_theme folder.

So my question is how can I change this path OR is there any other way to succed in uploading new theme without touching share folder

Thanks very much for your answer?

Jelena
1 REPLY 1

mikeh
Star Contributor
Star Contributor
This isn't possible in v3.3 or v3.4.a as Share expects the themes to be addressable as you state. The way to achieve this with those versions is by using an AMP and applying it to the share.war file.

For v3.4.b and above, you can use the surf jar extension point in shared/lib as each of the client resources is addressed via the /res/ servlet.

Thanks,
Mike