AnsweredAssumed Answered

package Alfresco 4 customizations in jar

Question asked by shazada on Jul 17, 2012
Latest reply on Jul 17, 2012 by shazada
Hi,

Let me first start, that's extremely unclear how to package customization for Alfresco 4 version. I've checked the wiki/blogs/docs and It's still not working.

I've made modifications that the "create site" is disabled for a certain group or admin and I've changed the copy URL. So I've got a working jar file which deploys well in 3.4. And in 4 the disablement of "create site" is working, but changing the copy url not because that freemarker is pointing to a client side javascript.
I'd like some help to know how to deploy this in Alfresco 4.


This is my current folder structure in the jar file:
    alfresco
      web-extension
        site-webscripts
          org
            alfresco
              components
                document-details
                  document-links.get.head.ftl
                  document-links.get.html.ftl
    META-INF
      extras
        components
          document-details
            document-links.js
            document-links-min.js
The document-links.get.head.ftl points to my modified client-side Javascript.
I've tried a lot, even putting a .xml file with the module and extension, but it's not working.

Somehow Alfresco 4 isn't picking up my client-side Javascript.

Outcomes