cancel
Showing results for 
Search instead for 
Did you mean: 

extension mechanism for other folders

mrksjs
Champ on-the-rise
Champ on-the-rise
hello,


i seem to be familiar with the extension mechanism for alfresco quite well now, however i did not find out yet how if its possible to extend:
/tomcat/webapps/share/WEB-INF/classes/alfresco/templates/org/alfresco/include/alfresco-template.ftl
this freemarker template. can this be put into /shared as well? couldnt find an answer to that in docs/wiki.
thanks.
4 REPLIES 4

ddraper
World-Class Innovator
World-Class Innovator
I'm not really sure what you're trying to do here…

If you're using 4.x then it's possible to extend via the <@markup> and <@region> directives. It's not possible to copy to the web-extension path because alfresco-template.ftl is a relative include from templates.
If you're using 3.4.x then your only option is really to completely override the default file.

A little bit of context on what you're trying to achieve would be useful for us to be able to help you better,

Regards,
Dave

mrksjs
Champ on-the-rise
Champ on-the-rise
sorry. my question is regarding alfresco 3.x
i need to make my installation internet explorer 9 usable.

i changed the line
<meta http-equiv="X-UA-Compatible" content="IE=Edge" /> 
to
<meta http-equiv="X-UA-Compatible" content="E=EmulateIE8" />

in the default file. which is bad, i assume, but there is no other option, right? if i upgrade from 3.4.10 to 3.4.11 i would have to keep that change in that file in mind

ddraper
World-Class Innovator
World-Class Innovator
Unfortunately yes, you'd need to remember that change if you upgrade. However… this might be a candidate for a fix - I'd recommend raising this in JIRA: https://issues.alfresco.com

Regards,
Dave

mrksjs
Champ on-the-rise
Champ on-the-rise
i think this is already dealt with in 4.x, right?

anyway, will keep that in mind. thanks Dave!