Readme.md 2.14 KB

How to install the Add-on

The detailed instructions can be found in the docs folder.

Copy the new files

Copy the new files to the source directory

If you are in Linux:

cp -r $PATH_TO _ADDON/setup-data/dspace-source/* $DSPACE_SRC/

Adding the new entries in the Messages.properties and in Messages_pt_PT.properties

Add the fowlowing messages to Messages.properties: Edit $DSPACE_SRC/dspace/dspace-api/src/main/resources/Messages.properties and add:

jsp.cookieconsent.message = This website uses cookies to ensure you get the best experience on our website.
jsp.cookieconsent.dismiss = Got it

Add the fowlowing messages to Messages_pt_PT.properties: Edit $DSPACE_SRC/dspace/dspace-api/src/main/resources/Messages_pt_PT.properties and add:

jsp.cookieconsent.message = Este website usa cookies para lhe garantir a melhor experi\u00EAncia poss\u00EDvel.
jsp.cookieconsent.dismiss = Entendi

Change header-default.jsp

Edit header-default.jsp in $DSPACE_SOURCE/dspace-jspui/src/main/webapp/header-default.jsp or on your custom layout Add just before </head>:

<!-- Begin Cookie Consent plugin by Silktide - http://silktide.com/cookieconsent --> /static/css/cookieconsent.min.css" /> /static/js/cookieconsent.min.js"> window.addEventListener("load", function(){ window.cookieconsent.initialise({ "palette": { "popup": { "background": "#000" }, "button": { "background": "#f1d600" } }, "showLink": false, "theme": "classic", "content": { "message": "", "dismiss": "!" } })}); <!-- End Cookie Consent plugin -->

Build DSpace

Proceed according to DSpace Documentation to build and update your DSpace installation.

Need help, or give any type of contribution?

Please contact us at FCT|FCCN or any commiter.

License

Please contact us at FCT|FCCN.