10-05-2020 09:29 AM
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
10-05-2020 10:00 AM
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:
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:
You can also find some theme demo project here for reference: https://github.com/abhinavmishra14/share-theme-demo/tree/master/share62-theme-demo
Explore our Alfresco products with the links below. Use labels to filter content by product module.