EEA Template Services
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.
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.
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>.
The Initial Owner of the Original Code is European Environment Agency (EEA).
All Rights Reserved.
The EEA Templates Service (the Original Code) is free software;
you can redistribute it and/or modify it under the terms of the GNU
General Public License as published by the Free Software Foundation;
either version 2 of the License, or (at your option) any later
version.
More details under docs/License.txt
EEA - European Environment Agency (EU)
- Upgrade step: Within "Plone > Site setup > Add-ons" click on
upgrade button available for EEA Templates Service
[avoinea refs #104872]
- Change: Include raven.min.js from eea.sentry within external_templates_scripts.js
[avoinea refs #104872]
Upgrade step: Within "Plone > Site setup > Add-ons" click on
upgrade button available for EEA Templates Service
[ichim-david refs #105453]
- Feature: introduced css_stack request parameter, if passed with
css_stack=external_templates instead of all of the site css only those
defined in css_libs will be used
System Message: WARNING/2 (<string>, line 111)
Definition list ends without a blank line; unexpected unindent.
[ichim-david refs #105453]
Feature: added external_templates_styles.css browser
view which can be used to register css that can be
packed into a single css file
[ichim-david refs #105453]
Change: jslint ignores
[alecghica refs #105453]
- Upgrade step: Within "Plone > Site setup > Add-ons" click on
upgrade button available for EEA Templates Service
[avoinea refs #102916]
- Feature: Template v3
[avoinea refs #102916]
- Jenkins: Add sonarqube step
[avoinea refs #101552]
- Change: updated URLs pointing to eea.europa.eu with https://
[alecghica refs #95849]
- Change: updated patches
[alecghica refs #97573]
- Change: replaced the old invalidate cache method footer.
[alecghica refs #95020]
- Change: Replace eeacms/zptlint with eeacms/plone-test:4 zptlint
[avoinea refs #90415]
- Change: eea_header.pt merged from /custom
[alecghica refs #89967]
- Feature: added cssonly option to getRequiredHead?cssonly=true
which if passed will only output the css for the eea header since we should
have the ability to output css in a different position from the js
[ichim-david refs #88482]
- Feature: added jsonly option to getRequiredHead?jsonly=true
which if passed will only output the js for the eea header since we should
have the ability to output js in a different position from the css
[ichim-david refs #88482]
- Feature: added js_libs list property to template_service portal_properties which
if added will override the js resources that will be concatenated when calling
external_templates_scripts.js browserView
[ichim-david refs #88482]
- Change: fixed PyLint warnings and errors
[eduard-fironda refs #84949]
- Change: updated package information
[eduard-fironda]
- 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]
- 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]
- Change: removed sitemap logic as we have the plone sitemap and
sitemap_view is no longer
[ichim-david refs #80210]
- Bug fix: Fix pylint warnings
[ichim-david refs #71940]
- Change: added eea-responsive.js to the js files that should be loaded by
eea_header.pt
[ichimdav refs #68007]
- Bugfix: set socket timeout to prevent Zope instances hanging out when the external service is not responding using eventlet
[lucas refs #29063]
- Fix: getRequestHead now is calleble via ajax
[lucas refs #27218]
- Bug fix: adjust responsive template
[lucas refs #27270]
- 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]
- 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]
- 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]
- 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]
- 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]
- Bug fix: Quickfix for empty html tags
[szabozo0 refs #5358]
- Bug fix: fixed not closed tags on external templates
[szabozo0 refs #5095]
- Bug fix: fixed markup of HISTORY.txt file
[ciobabog refs #5231]
- Upgrade step:
- Publish /code/templates/template-service-api-v2
- Set /code/templates/template-services page as default view for /code/templates
- 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]
- 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]
- 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]
- Generated skeleton product from DIYPloneStyle.