10-01-2020 08:21 AM
Hello
I want to modify footer alfresco I create a new ftl contains the desired changes in the site-webscript / fr / component. also I created an extension:
<targetPackageRoot> org.alfresco.components.footer </targetPackageRoot>
<sourcePackageRoot> en.components.footer </sourcePackageRoot>
when deploiment alfresco displays native alfresco footer, it does not take into account my changes and my extension.
Thank you
10-01-2020 10:37 AM
You should consider developing a custom theme and make all changes pertaining to logo, background, color, header, footer etc. within your custom theme. This gives you ability to apply the themes dynamically. You can develop one or more themes as per your requirement.
See this documentation:
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
This discussion may be helpful for you to use custom favicon and custom footer images: https://hub.alfresco.com/t5/alfresco-content-services-forum/change-favicon-and-footer-image-on-chang...
Discussion around custom background color can be found here: https://hub.alfresco.com/t5/alfresco-content-services-forum/alfresco-background-color-change/td-p/30...
You can also find some theme demo project here for reference: https://github.com/abhinavmishra14/share-theme-demo/tree/master/share52-theme-demo
10-01-2020 09:00 AM
Sup,
What you want to change?
The footer you can changeg using this site:
https://flex-solution.com/theme/
when you use that you need to compilate a new amp. Amps files, are located in <instalationDir> in folder amps to contents for alfresco, and amps share to contents for alfresco share, you need to read the name of package, if it have share you put it on amps_share... if you want have a nice doc about it.. afte> you need to compile the new amps, in <instalationDir>dir>apply_amp.sh
Or
use this for reference;
https://blog.arvixe.com/customize-alfresco-share-footer-and-logo/
10-01-2020 09:01 AM
obs: Take a careful with amps, its can break you application... When its happen use the alfresco.bak and share.bak to restore the version
10-01-2020 09:38 AM
Hello
thank you for reply.
my objective is changed in the code using the extentions so I can modify all the native alfresco pages like ( footer, header ....) without directly touching the native.
10-01-2020 10:05 AM
Hi @ALfreSara
This blog post is still an excellent guide.
HTH,
10-01-2020 10:37 AM
You should consider developing a custom theme and make all changes pertaining to logo, background, color, header, footer etc. within your custom theme. This gives you ability to apply the themes dynamically. You can develop one or more themes as per your requirement.
See this documentation:
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
This discussion may be helpful for you to use custom favicon and custom footer images: https://hub.alfresco.com/t5/alfresco-content-services-forum/change-favicon-and-footer-image-on-chang...
Discussion around custom background color can be found here: https://hub.alfresco.com/t5/alfresco-content-services-forum/alfresco-background-color-change/td-p/30...
You can also find some theme demo project here for reference: https://github.com/abhinavmishra14/share-theme-demo/tree/master/share52-theme-demo
Explore our Alfresco products with the links below. Use labels to filter content by product module.