Ticket #889 (closed enhancement: fixed)
Support extra footer material in config option (e.g. for google analytics)
Reported by: | rgrp | Owned by: | rgrp |
---|---|---|---|
Priority: | major | Milestone: | ckan-v1.3-sprint-2 |
Component: | ckan | Keywords: | |
Cc: | Repository: | ||
Theme: |
Description
Add a config option 'template_footer_end' which is inserted in layout_template just before </body>.
This allows sysadmins to add extra items, especially, scripts directly into site without having to do any theming and is especially useful for things like google analytics.
Aside: going forward may want to turn this into a extension.
Cost: 1h
Change History
Note: See
TracTickets for help on using
tickets.
Done in cset:cdbb2e6128b3 (had added item to template earlier pulling from 'g' object but had not tied that up to config as yet). Also added test and also removed existing google analytics code -- so need to explicitly set this in config from now on.