Ticket #2798 (new enhancement)

Opened 6 months ago

Last modified 6 months ago

YUI features in templating

Reported by: douglas Assigned to: anonymous
Priority: normal Milestone: zero
Component: Template Engine Version: none
Severity: feature Keywords:


Now that we are using the YUI framework for our AJAXy goodness, we should agree on a way to call these functions from Campsite templates as well.

One idea involves somehow maintaining a register of installed functions and then the ability to call them as includes from the templates with a directive that may look like:

{{ include yui_component=button type=submit }}

with the related directives included inside that are related to the component (stylesheet, data source/data destination, etc.)


The main idea is that if we have all of these functions available in a directory within the instance, and are using them on the admin interface, they should also be made available to template makers.

Change History

03/23/09 15:36:59 changed by mugur

  • version changed from 3.2.0 to none.
  • milestone changed from bugreports to zero.