@@ -103,12 +103,12 @@
title); ?>
- get('rssitemdesc') && $text !== '') : ?>
+ get('rssitemdesc', 1) && $text !== '') : ?>
get('word_count'));
+ $text = JHtml::_('string.truncate', $text, $params->get('word_count', 0));
echo str_replace(''', "'", $text);
?>
diff --git a/modules/mod_finder/mod_finder.xml b/modules/mod_finder/mod_finder.xml
index f2e18279e71b0..30e39ec808f1c 100644
--- a/modules/mod_finder/mod_finder.xml
+++ b/modules/mod_finder/mod_finder.xml
@@ -36,6 +36,7 @@
label="MOD_FINDER_FIELDSET_BASIC_AUTOSUGGEST_LABEL"
description="MOD_FINDER_FIELDSET_BASIC_AUTOSUGGEST_DESCRIPTION"
default="1"
+ filter="integer"
class="btn-group btn-group-yesno"
>
@@ -48,6 +49,7 @@
label="MOD_FINDER_FIELDSET_BASIC_SHOW_ADVANCED_LABEL"
description="MOD_FINDER_FIELDSET_BASIC_SHOW_ADVANCED_DESCRIPTION"
default="0"
+ filter="integer"
>
@@ -70,6 +72,7 @@
description="MOD_FINDER_FIELDSET_ADVANCED_SHOW_LABEL_DESCRIPTION"
class="btn-group btn-group-yesno"
default="1"
+ filter="integer"
>
@@ -102,6 +105,7 @@
description="MOD_FINDER_FIELDSET_ADVANCED_SHOW_BUTTON_DESCRIPTION"
class="btn-group btn-group-yesno"
default="0"
+ filter="integer"
>
@@ -127,6 +131,7 @@
description="MOD_FINDER_FIELD_OPENSEARCH_DESCRIPTION"
class="btn-group btn-group-yesno"
default="1"
+ filter="integer"
>
@@ -145,6 +150,7 @@
label="MOD_FINDER_FIELDSET_ADVANCED_SETITEMID_LABEL"
description="MOD_FINDER_FIELDSET_ADVANCED_SETITEMID_DESCRIPTION"
default="0"
+ filter="integer"
>