X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;ds=inline;f=examples%2Fhtdocs%2Fmkws-widget-credo.js;h=0d8c3e68b85ef37c06acec3cc2e12d2183f8c82b;hb=7d7a5862b72296ef76b6f4f5cfb7b0e89147b6a3;hp=052aaec0f682fb49a9b2005504d7d912f28d5f31;hpb=ea8a7ef33c27b8b1b1db76e2197e256496c481ad;p=mkws-moved-to-github.git diff --git a/examples/htdocs/mkws-widget-credo.js b/examples/htdocs/mkws-widget-credo.js index 052aaec..0d8c3e6 100644 --- a/examples/htdocs/mkws-widget-credo.js +++ b/examples/htdocs/mkws-widget-credo.js @@ -36,6 +36,9 @@ mkws.registerWidgetType('Credo', function() { \ '); + // Inhibit the display of the sole facet's title. + this.team.registerTemplate('facetTitle-Subject', 'doo'); + var s = [] s.push('
'); s.push(section('topics', 'Related Topics', - this.subwidget('Facet', { _team: 'main', facet: 'subject' }))); + this.subwidget('Facet', { _team: 'main', facet: 'subject', template: 'CredoFacet' }))); s.push(' | '); s.push('');