Ticket #233 (new enhancement) — at Version 1

Opened 4 years ago

Last modified 4 years ago

Allow simple site-specific customization/overriding of templates

Reported by: rgrp Owned by: rgrp
Priority: major Milestone: v1.1
Component: ckan Keywords:
Cc: Repository:
Theme:

Description (last modified by rgrp) (diff)

Options:

  1. Allow for specification of genshi template paths to search in config. This way people can introduce their own templates and these templates can selectively override existing templates. (Already implemented this in shakespeare and it works)
  1. Include an extra site-specific genshi template which can then be used to customize site (e.g. by having specific calls to py:def that user can define but which are ignored if they don't exist).

Can do this using:

<xi:include href="base.html"><xi:fallback /></xi:include>

Change History

comment:1 Changed 4 years ago by rgrp

  • Priority changed from awaiting triage to major
  • Summary changed from Allow simple site-specific customization of template using an extra include file to Allow simple site-specific customization/overriding of templates
  • Description modified (diff)
  • Milestone set to v1.1

Introduction option 1.

Note: See TracTickets for help on using tickets.