Where to find a default theme in a SDK All-In-One project for creating a custom theme?

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Active Member II

Where to find a default theme in a SDK All-In-One project for creating a custom theme?

Hi,

do I have to copy a theme from a running production environment to have a startpoint for a custom theme? In the documention/turoial about creating a theme in Alfresco Content Services 6.2 the following information is written:

"As you might have guessed, this requires you to actually download and install Alfresco Content Services. To avoid having to do that you can also run the all-in-one project once and you will have the required theme resources in all-in-one/share/target/share/themes"

However this folder does not exist in sdk4.x based projects (probably because it´s docker based?).

I hope someone can give me an hint,

Florian

1 Reply
Highlighted
Moderator
Moderator

Re: Where to find a default theme in a SDK All-In-One project for creating a custom theme?

Well any default theme won't exist in sdk itself. In prior versions of sdk (sdk 3.x and below), acs and share used to run in embeded tomcat within sdk, then it was possible to get ootb items within sdk.

SDK 4.x based out of docker containers so you have to look for the default themes in share container at this path:

/usr/local/tomcat/webapps/share/themes

You can copy the default themes from there and create your custom theme by taking reference from there. 

Or if have share war file, you can extract and get the default themes:

War download link:

https://artifacts.alfresco.com/nexus/content/repositories/releases/org/alfresco/share/6.2.1/share-6....

Follow these documentations and develop your custom theme:

https://docs.alfresco.com/6.1/concepts/dev-extensions-share-themes.html

https://docs.alfresco.com/6.1/tasks/dev-extensions-share-tutorials-add-theme.html

Have a look at this thread, it may be helpful:

https://hub.alfresco.com/t5/alfresco-content-services-forum/footer-alfresco/m-p/302216/highlight/tru...

You can also find some theme demo project here for reference: https://github.com/abhinavmishra14/share-theme-demo/tree/master/share62-theme-demo

~Abhinav
(ACSCE, AWS SAA-C02, GAIQ)