Default design paths change in sites | Community
Skip to main content
Ankan_Ghosh
Level 3
March 17, 2023
Solved

Default design paths change in sites

  • March 17, 2023
  • 2 replies
  • 814 views

In my project I have recently changed the path clientlib and design. Previously it was named etc/clientlibs/projectA and now due to some requirement we had to change it to etc/clientlibs/projectB and same with etc/designs/projectA. Now I am noticing that the favicons of our project is not rendering and rather the default favicon is rendering. That path that I am getting for the favicon is /etc/designs/default/favicon.ico although I want it to be /etc/designs/projectB/favicon.ico . There is no design path set in the page properties, neither was set previously but was rendering properly. Now after the etc/designs path change this issue I am facing. How is it taking /etc/designs/default/favicon.ico as default design path , can I change it to /etc/designs/projectB/favicon.ico ? I tried changing the design path from the page properties of a particular page for the favicon was showing , but changing it for every page one by one is not possible. what is a good solution ?

 

This is the jsp code through which the favicon is rendering

favIcon = currentDesign.getPath() + "/favicon.ico";
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Rohit_Utreja

Hi @ankan_ghosh 

 

A similar thread in the past has been raised.

https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/editable-template-is-taking-current-design-as-etc-design-default/m-p/369696

 

Please have a look, I hope it helps.

2 replies

Rohit_Utreja
Community Advisor
Rohit_UtrejaCommunity AdvisorAccepted solution
Community Advisor
March 17, 2023
Manu_Mathew_
Community Advisor
Community Advisor
March 18, 2023

@ankan_ghosh Not sure of the issue here, but you could probably make use of groovy scripting to update it for all pages.