Metadata

Distro Index Owner:
eea
Home Page:
Products.EEATemplatesService
License
GPL
Version:
6.0
Last updated:
2017-05-22
Keywords:
EEA Templates Service Add-ons Plone Zope

Products.EEATemplatesService

Files

Indexes

EEA Templates Service is a products that provides simple http services for the templates of a plone site

EEA Template Services

http://ci.eionet.europa.eu/job/Products.EEATemplatesService-www/badge/icon http://ci.eionet.europa.eu/job/Products.EEATemplatesService-plone4/badge/icon

EEATemplatesService is a product that provieds simple HTTP service for the templates from the plone site.

The template service will be able to deploy templates elements on-the-fly by simple HTTP requests. There is no need to use a more advanced technique like SOAP or XML-RPC at this stage.

getRequiredHead getHeader getFooter getBaseBreadcrumb

EEATemplatesService is based on DIYPloneStyle 1.0.4, a skeleton product ready for building new graphical designs for Plone.

Installation

Place EEATemplatesService in the Products directory of your Zope instance and restart the server.

In Plone go to the 'Site Setup' page and click on the 'Add/Remove Products' link.

Choose EEATemplatesService (check its checkbox) and click the 'Install' button.

You may have to empty your browser cache to see the effects of the product installation/uninstallation.

Uninstall -- This can be done from the same management screen.

Selecting a skin

Depending on the value given to SELECTSKIN (in config.py), the skin will be selected (or not) as default one while installing the product. If you need to switch from a default skin to another, go to the 'Site Setup' page, and choose 'Skins' (as portal manager). You can also decide from that page if members can choose their preferred skin and, in that case, if the skin cookie should be persistent.

Note -- Don't forget to perform a full refresh of the page or reload all images (not from browser cache) after selecting a skin. In Firefox, you can do so by pressing the 'shift' key while reloading the page. In IE, use the key combination <Ctrl-F5>.

Source code

Funding

EEA - European Environment Agency (EU)

Changelog

6.0 - (2017-05-22)

  • Change: fixed PyLint warnings and errors [eduard-fironda refs #84949]

5.9 - (2017-04-24)

  • Change: updated package information [eduard-fironda]

5.8 - (2017-03-27)

  • Bugfix: Add the EEA Google Analytics as a required js so that it is on all elastic apps. Moved required js in getRequiredHead where it should be. [demarant refs #83417]

5.7 - (2017-02-14)

  • Change: added render_full_html parameter to getFooter and getHeader which if passed with False will render only the template markup instead of containing the html, head and body tag [ichim-david refs #82166]

5.6 - (2017-01-30)

  • Change: removed sitemap logic as we have the plone sitemap and sitemap_view is no longer [ichim-david refs #80210]

5.5 - (2016-05-19)

  • Bug fix: Fix pylint warnings [ichim-david refs #71940]

5.4 - (2016-02-15)

  • Change: added eea-responsive.js to the js files that should be loaded by eea_header.pt [ichimdav refs #68007]

5.3 - (2015-10-05)

  • Bugfix: set socket timeout to prevent Zope instances hanging out when the external service is not responding using eventlet [lucas refs #29063]

5.2 - (2015-07-28)

  • Fix: getRequestHead now is calleble via ajax [lucas refs #27218]

5.1 - (2015-07-09)

  • Bug fix: adjust responsive template [lucas refs #27270]

5.0 - (2015-03-17)

  • Change: Switched to curl in the jenkins build install script [olimpiurob refs #22402]
  • Change: Changed fetch url for jenkins build install script to the install script from the main EEA CPB repository [olimpiurob refs #22402]

4.9 - (2013-11-20)

  • Bug fix: patch for losing css/js registry on submit after ac cookie expired [simiamih refs #17259]
  • Change: more clean up after kss removal [simiamih refs #17259]

4.8 - (2013-05-24)

  • Change: removed site related logic from getHeader since it was deprecated logic [ichimdav #14567]
  • Bug fix: return only resources through getRequiredHead avoiding extra unneeded tags and metadata [ichimdav #14567]

4.7 - (2013-04-17)

  • Bug fix: remove login tab from getHeader call [szabozo0 refs #14002]
  • Bug fix: remove title tag, generator and viewport meta tags from getRequiredHead call [szabozo0 refs #14002]

4.6 - (2012-08-27)

  • Bug fix: avoid adding html tags for getHeader and getFooter, thus making it easier to simply insert the output within external templates [ichim-david refs #82166]
  • Bug fix: remove login via lxml introduced by design feature #5443 refs #5446. [demarant closes #5443]

4.5 - (2012-07-16)

  • Bug fix: Quickfix for empty html tags [szabozo0 refs #5358]

4.4 - (2012-07-09)

  • Bug fix: fixed not closed tags on external templates [szabozo0 refs #5095]
  • Bug fix: fixed markup of HISTORY.txt file [ciobabog refs #5231]

4.3 - (2012-05-15)

  • Upgrade step: - Publish /code/templates/template-service-api-v2 - Set /code/templates/template-services page as default view for /code/templates

4.2 - (2012-05-09)

  • Feature: updated external templates for new headers and footers [szabozo0 #5095]
  • Feature: modified getRequiredHead to have the possibility to disable all kss & js [szabozo0 #5095]

4.1 - (2011-11-18)

  • Rerelease broken egg

4.0 - (2011-11-18)

  • TODO: clean tests and replace CMFSquid logic with plone.app.caching, plone4
  • Feature: patched KSSRegistryTool to invalidate cache after save [ghicaale #4395]
  • Change: removed dependency to eea.monkeypatch [ghicaale #4312]
  • Cleanup: of pyflakes compiler errors [ichimdav #4141]
  • Cleanup: of pylint violations [ichimdav #4140]
  • Feature: Added upgrade steps [voineali #4392]
  • Feature: Plone 4.x compatible release [ichimdav #4312]

1.1 - (2011-02-15)

  • Feature: eggified package to Products.EEATemplatesService [ichimdav #2931]
  • Feature: rewrite patches to use collective.monkeypatcher and eea.monkeypatch [tiberich #4066]
  • Feature: trigger ObjectModifiedEvent when saving in portal resource registries [tiberich #4085]

1.0

  • Generated skeleton product from DIYPloneStyle.