cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to update html template file

baki1983
Champ on-the-rise
Champ on-the-rise

Hi,

I'm trying to update my-tasks.get.html.ftl file on one of my Tomcat, but I when I log in I cannot see any changes. I'm simply trying to add another button (<span> element) in this file, and I have uploaded the modified version inside :

d:\alfresco-community\tomcat\webapps\share\WEB-INF\classes\alfresco\site-webscripts\org\alfresco\components\dashlets\

But it doesn't work - old content is still shown. When I log out and log in again, I can still see the old version of my dashlet. I've tried everything :

- restarted Tomcat - nothing

- removed and re-added dashlet again - still the same

- went to share/page/index and clicked "Refresh Web Scripts" blue button at the bottom - still the same

- went to alfresco/service/index and clicked on the same button - again, not updated

i haven't modified anything else.

Am I missing something? How can I update this HTML presentation part of my tasks dashlet?

I'm using Alfresco Community 5.2 installed on Windows 7 as a service.

Thanks in advance

1 ACCEPTED ANSWER

baki1983
Champ on-the-rise
Champ on-the-rise

Just realized problem was smth completely else. I tottaly forgot I had an extra share JAR module installed (it's in WEB-INF\lib under share) and it had another copy of this file, clearly unmodified. This version takes presence over anything that's inside share.war (and tomcat\shared as well). This copy didn't show in my file searches because it was inside JAR file (module).

I can now finally close this thread.

View answer in original post

12 REPLIES 12

baki1983
Champ on-the-rise
Champ on-the-rise

Just realized problem was smth completely else. I tottaly forgot I had an extra share JAR module installed (it's in WEB-INF\lib under share) and it had another copy of this file, clearly unmodified. This version takes presence over anything that's inside share.war (and tomcat\shared as well). This copy didn't show in my file searches because it was inside JAR file (module).

I can now finally close this thread.

Latence132
Champ in-the-making
Champ in-the-making

Could be useful:

I had the same issue with no problems on the jars. The error was on the alf_data_dev which was no updated and contained an older version of the .ftl. I deleted the folder alf_data_dev and restarted the application to solve the problem

EddieMay
World-Class Innovator
World-Class Innovator

Hi @baki1983 ,

Glad you got it sorted & thanks for updating us on how your resolved it - can be really useful to other users in a similar situation.

Digital Community Manager, Alfresco Software.
Problem solved? Click Accept as Solution!