X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;ds=sidebyside;f=examples%2Fhtdocs%2Fmkws-widget-credo-bs.js;h=49651eac6ddf4e77b177cb2a1268c20278f87e94;hb=a89f7061db9e8f57087d6445eef11824e40a9aad;hp=d3f363e48de1d69fa7c6ab6c0f5c2f06215b9127;hpb=43c3d6b31556e4f1636f126a00e1d6ed26c0778c;p=mkws-moved-to-github.git
diff --git a/examples/htdocs/mkws-widget-credo-bs.js b/examples/htdocs/mkws-widget-credo-bs.js
index d3f363e..49651ea 100644
--- a/examples/htdocs/mkws-widget-credo-bs.js
+++ b/examples/htdocs/mkws-widget-credo-bs.js
@@ -25,14 +25,14 @@ mkws.registerWidgetType('Credo', function() {
var that = this;
this.team.registerTemplate('CredoImage', '\
-
\
+
\
');
@@ -54,17 +54,17 @@ mkws.registerWidgetType('Credo', function() {
s.push('
');
s.push('');
- s.push(section('image col-md-12', 'Images', this.subwidget('GoogleImage', { maxrecs: 4, template: 'CredoImage' })));
+ s.push(section('image col-md-12', 'Images', this.subwidget('GoogleImage', { maxrecs: 4, template: 'CredoImage', target: 'google_images_js' })));
s.push('
');
s.push('');
s.push(section('entries clearfix col-md-4 col-sm-6', 'News',
- this.subwidget('Records', { _team: 'news', targetfilter: 'categories=news' })));
+ this.subwidget('Records', { _team: 'news', targetfilter: 'categories=news', perpage: 10 })));
s.push(section('articles clearfix col-md-4 col-sm-6', 'Articles',
- this.subwidget('Records', { _team: 'articles', targetfilter: 'categories=articles' })));
+ this.subwidget('Records', { _team: 'articles', targetfilter: 'categories=articles', perpage: 10 })));
s.push(section('books clearfix col-md-4 col-sm-6', 'Books',
- this.subwidget('Records', { _team: 'books', targetfilter: 'categories=books' })));
+ this.subwidget('Records', { _team: 'books', targetfilter: 'categories=books', perpage: 10 })));
s.push(section('news col-md-4 col-sm-6', 'Results from all targets',
this.subwidget('Records', { _team: 'main' })));
s.push('
');