Expand my Community achievements bar.

SOLVED

Default design paths change in sites

Avatar

Level 3

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";
1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @Ankan_Ghosh 

 

A similar thread in the past has been raised.

https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/editable-template-is-takin...

 

Please have a look, I hope it helps.

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

Hi @Ankan_Ghosh 

 

A similar thread in the past has been raised.

https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/editable-template-is-takin...

 

Please have a look, I hope it helps.

Avatar

Community Advisor

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