Permalink
Browse files

[#30453] Tags: Pagination not working when linking to a tag.

  • Loading branch information...
1 parent dba18d1 commit 7d119bc7037a9423c0d80e6041f449719ffccae4 @dextercowley dextercowley committed Apr 6, 2013
View
332 administrator/components/com_tags/config.xml
@@ -6,24 +6,28 @@
description="COM_TAGS_CONFIG_TAG_SETTINGS_DESC">
<field
- name="tag_layout" type="componentlayout"
- label="JGLOBAL_FIELD_LAYOUT_LABEL"
- description="JGLOBAL_FIELD_LAYOUT_DESC"
+ type="componentlayout"
+ label="COM_TAGS_CONFIG_TAGGED_ITEMS_FIELD_LAYOUT_LABEL"
+ description="COM_TAGS_CONFIG_TAGGED_ITEMS_FIELD_LAYOUT_DESC"
menuitems="true"
extension="com_tags"
view="tag"
/>
-
- <field name="return_any_or_all" type="radio" class="btn-group"
- label="COM_TAGS_SEARCH_TYPE_LABEL"
- description="COM_TAGS_SEARCH_TYPE_DESC"
- default="1"
+
+ <field
+ name="show_tag_title"
+ type="radio" class="btn-group"
+ label="COM_TAGS_SHOW_TAG_TITLE_LABEL"
+ description="COM_TAGS_SHOW_TAG_TITLE_DESC"
+ default="0"
>
- <option value="0">COM_TAGS_ALL</option>
- <option value="1">COM_TAGS_ANY</option>
+ <option value="0">JHIDE</option>
+ <option value="1">JSHOW</option>
</field>
- <field name="tag_list_show_tag_image" type="radio" class="btn-group"
+ <field
+ name="tag_list_show_tag_image"
+ type="radio" class="btn-group"
description="COM_TAGS_SHOW_TAG_IMAGE_DESC"
label="COM_TAGS_SHOW_TAG_IMAGE_LABEL"
default="1"
@@ -32,7 +36,10 @@
<option value="1">JSHOW</option>
</field>
- <field name="tag_list_show_tag_description" type="radio" class="btn-group"
+ <field
+ name="tag_list_show_tag_description"
+ type="radio"
+ class="btn-group"
description="COM_TAGS_SHOW_TAG_DESCRIPTION_DESC"
label="COM_TAGS_SHOW_TAG_DESCRIPTION_LABEL"
default="1"
@@ -41,29 +48,41 @@
<option value="1">JSHOW</option>
</field>
- <field name="tag_list_image" type="media"
+ <field
+ name="tag_list_image"
+ type="media"
description="COM_TAGS_TAG_LIST_MEDIA_DESC"
label="COM_TAGS_TAG_LIST_MEDIA_LABEL"
/>
- <field name="tag_list_description" type="textarea"
- description="COM_TAGS_TAG_LIST_DESCRIPTION_DESC"
- label="COM_TAGS_SHOW_TAG_LIST_DESCRIPTION_LABEL"
- class="inputbox"
- rows="3" cols="30" filter="safehtml"
- />
-
+
+ <field
+ name="show_tag_num_items"
+ type="radio"
+ class="btn-group"
+ label="COM_TAGS_NUMBER_TAG_ITEMS_LABEL"
+ description="COM_TAGS_NUMBER_TAG_ITEMS_DESC"
+ default="0"
+ >
+ <option value="0">JHIDE</option>
+ <option value="1">JSHOW</option>
+ </field>
+
<field name="tag_list_orderby"
type="list"
default="title"
label="JGLOBAL_FIELD_FIELD_ORDERING_LABEL"
description="JGLOBAL_FIELD_FIELD_ORDERING_DESC">
<option value="title">JGLOBAL_TITLE</option>
- <option value="created_date">JGLOBAL_CREATED_DATE</option>
- <option value="modified_date">JGLOBAL_MODIFIED_DATE</option>
+ <option value="match_count">COM_TAGS_MATCH_COUNT</option>
+ <option value="created_time">JGLOBAL_CREATED_DATE</option>
+ <option value="modified_time">JGLOBAL_MODIFIED_DATE</option>
<option value="publish_up">JGLOBAL_PUBLISHED_DATE</option>
</field>
- <field name="tag_list_orderby_direction" type="radio" class="btn-group"
+ <field
+ name="tag_list_orderby_direction"
+ type="radio"
+ class="btn-group"
description="JGLOBAL_ORDER_DIRECTION_DESC"
label="JGLOBAL_ORDER_DIRECTION_LABEL"
default="ASC"
@@ -72,50 +91,104 @@
<option value="DESC">JGLOBAL_ORDER_DESCENDING</option>
</field>
- <field name="include_children" type="list"
- description="COM_TAGS_INCLUDE_CHILDREN_DESC"
- label="COM_TAGS_INCLUDE_CHILDREN_LABEL"
- default="0"
+ <field
+ name="show_headings"
+ type="radio"
+ class="btn-group"
+ default="1"
+ description="JGLOBAL_SHOW_HEADINGS_DESC"
+ label="JGLOBAL_SHOW_HEADINGS_LABEL"
>
- <option value="0">COM_TAGS_EXCLUDE</option>
- <option value="1">COM_TAGS_INCLUDE</option>
+
+ <option value="0">JHIDE</option>
+ <option value="1">JSHOW</option>
</field>
- <field name="tag_list_show_date"
+ <field
+ name="tag_list_show_date"
type="list"
default="0"
label="JGLOBAL_SHOW_DATE_LABEL"
- description="JGLOBAL_SHOW_DATE_DESC">
+ description="JGLOBAL_SHOW_DATE_DESC"
+ >
<option value="0">JHIDE</option>
- <option value="created_date">JGLOBAL_CREATED</option>
- <option value="modified_date">JGLOBAL_MODIFIED</option>
- <option value="publish_up">JPUBLISHED</option>
+ <option value="created">JGLOBAL_CREATED</option>
+ <option value="modified">JGLOBAL_MODIFIED</option>
+ <option value="published">JPUBLISHED</option>
</field>
- <field name="tag_list_show_item_image" type="radio" class="btn-group"
+
+ <field
+ name="tag_list_show_item_image"
+ type="radio"
+ class="btn-group"
description="COM_TAGS_SHOW_ITEM_IMAGE_DESC"
label="COM_TAGS_SHOW_ITEM_IMAGE_LABEL"
default="1"
>
<option value="0">JHIDE</option>
<option value="1">JSHOW</option>
</field>
-
- <field name="tag_field_ajax_mode" type="radio" class="btn-group"
- description="COM_TAGS_TAG_FIELD_MODE_DESC"
- label="COM_TAGS_TAG_FIELD_MODE_LABEL"
- default="1"
+
+ <field
+ name="tag_list_show_item_description"
+ type="list"
+ label="COM_TAGS_TAG_LIST_SHOW_ITEM_DESCRIPTION_LABEL"
+ description="COM_TAGS_TAG_LIST_SHOW_ITEM_DESCRIPTION_DESC"
>
- <option value="1">COM_TAGS_TAG_FIELD_MODE_AJAX</option>
- <option value="0">COM_TAGS_TAG_FIELD_MODE_NESTED</option>
+ <option value="0">JHIDE</option>
+ <option value="1">JSHOW</option>
</field>
+
<field
name="tag_list_item_maximum_characters"
type="text"
filter="integer"
label="COM_TAGS_LIST_MAX_CHARACTERS_LABEL"
description="COM_TAGS_LIST_MAX_CHARACTERS_DESC">
</field>
- <field name="tag_list_language_filter"
+
+ </fieldset>
+
+ <fieldset
+ name="tagselection"
+ label="COM_TAGS_CONFIG_SELECTION_SETTINGS_LABEL"
+ description="COM_TAGS_CONFIG_SELECTION_SETTINGS_DESC">
+
+ <field
+ name="return_any_or_all"
+ type="radio"
+ class="btn-group"
+ label="COM_TAGS_SEARCH_TYPE_LABEL"
+ description="COM_TAGS_SEARCH_TYPE_DESC"
+ default="1"
+ >
+ <option value="0">COM_TAGS_ALL</option>
+ <option value="1">COM_TAGS_ANY</option>
+ </field>
+
+ <field
+ name="include_children"
+ type="radio"
+ class="btn-group"
+ description="COM_TAGS_INCLUDE_CHILDREN_DESC"
+ label="COM_TAGS_INCLUDE_CHILDREN_LABEL"
+ default="0"
+ >
+ <option value="0">COM_TAGS_EXCLUDE</option>
+ <option value="1">COM_TAGS_INCLUDE</option>
+ </field>
+
+ <field
+ name="maximum"
+ type="text"
+ default="200"
+ filter="integer"
+ label="COM_TAGS_LIST_MAX_LABEL"
+ description="COM_TAGS_LIST_MAX_DESC">
+ </field>
+
+ <field
+ name="tag_list_language_filter"
type="contentlanguage"
default="all"
label="COM_TAGS_FIELD_LANGUAGE_FILTER_LABEL"
@@ -124,63 +197,42 @@
<option value="current_language">JCURRENT</option>
</field>
- </fieldset>
+
+ </fieldset>
<fieldset
name="alltags"
label="COM_TAGS_CONFIG_ALL_TAGS_SETTINGS_LABEL"
description="COM_TAGS_CONFIG_ALL_TAGS_SETTINGS_DESC">
<field
- name="tags_layout" type="componentlayout"
- label="JGLOBAL_FIELD_LAYOUT_LABEL"
- description="JGLOBAL_FIELD_LAYOUT_DESC"
+ name="tags_layout"
+ type="componentlayout"
+ label="COM_TAGS_CONFIG_ALL_TAGS_FIELD_LAYOUT_LABEL"
+ description="COM_TAGS_CONFIG_ALL_TAGS_FIELD_LAYOUT_DESC"
menuitems="true"
extension="com_tags"
view="tags"
/>
- <field name="all_tags_show_description_image" type="radio" class="btn-group"
- description="COM_TAGS_SHOW_ALL_TAGS_IMAGE_DESC"
- label="COM_TAGS_SHOW_ALL_TAGS_IMAGE_LABEL"
- default="1"
- >
- <option value="0">JHIDE</option>
- <option value="1">JSHOW</option>
- </field>
-
- <field name="all_tags_description" type="textarea"
- description="COM_TAGS_ALL_TAGS_DESCRIPTION_DESC"
- label="COM_TAGS_SHOW_ALL_TAGS_DESCRIPTION_LABEL"
- class="inputbox"
- rows="3" cols="30" filter="safehtml"
- />
- <field name="all_tags_image" type="media"
- description="COM_TAGS_ALL_TAGS_MEDIA_DESC"
- label="COM_TAGS_ALL_TAGS_MEDIA_LABEL"
- />
-
- <field name="all_tags_show_description" type="radio" class="btn-group"
- description="COM_TAGS_SHOW_ALL_TAGS_DESCRIPTION_DESC"
- label="COM_TAGS_SHOW_ALL_TAGS_DESCRIPTION_LABEL"
- default="1"
- >
- <option value="0">JHIDE</option>
- <option value="1">JSHOW</option>
- </field>
- <field name="all_tags_orderby"
+ <field
+ name="all_tags_orderby"
type="list"
default="title"
label="JGLOBAL_FIELD_FIELD_ORDERING_LABEL"
- description="JGLOBAL_FIELD_FIELD_ORDERING_DESC">
+ description="JGLOBAL_FIELD_FIELD_ORDERING_DESC"
+ >
<option value="title">JGLOBAL_TITLE</option>
<option value="hits">JGLOBAL_HITS</option>
- <option value="created_date">JGLOBAL_CREATED_DATE</option>
- <option value="modified_date">JGLOBAL_MODIFIED_DATE</option>
+ <option value="created_time">JGLOBAL_CREATED_DATE</option>
+ <option value="modified_time">JGLOBAL_MODIFIED_DATE</option>
<option value="publish_up">JGLOBAL_PUBLISHED_DATE</option>
</field>
- <field name="all_tags_orderby_direction" type="radio" class="btn-group"
+ <field
+ name="all_tags_orderby_direction"
+ type="radio"
+ class="btn-group"
description="JGLOBAL_ORDER_DIRECTION_DESC"
label="JGLOBAL_ORDER_DIRECTION_LABEL"
default="ASC"
@@ -189,7 +241,10 @@
<option value="DESC">JGLOBAL_ORDER_DESCENDING</option>
</field>
- <field name="all_tags_show_tag_image" type="radio" class="btn-group"
+ <field
+ name="all_tags_show_tag_image"
+ type="radio"
+ class="btn-group"
description="COM_TAGS_SHOW_ITEM_IMAGE_DESC"
label="COM_TAGS_SHOW_ITEM_IMAGE_LABEL"
default="1"
@@ -198,38 +253,131 @@
<option value="1">JSHOW</option>
</field>
- <field name="all_tags_show_tag_descripion" type="radio" class="btn-group"
+ <field
+ name="all_tags_show_tag_descripion"
+ type="radio"
+ class="btn-group"
description="COM_TAGS_SHOW_ITEM_DESCRIPTION_DESC"
label="COM_TAGS_SHOW_ITEM_DESCRIPTION_LABEL"
default="1"
>
<option value="0">JHIDE</option>
<option value="1">JSHOW</option>
</field>
+
<field
name="all_tags_tag_maximum_characters"
type="text"
filter="integer"
label="COM_TAGS_LIST_MAX_CHARACTERS_LABEL"
description="COM_TAGS_LIST_MAX_CHARACTERS_DESC"
/>
- <field name="all_tags_show_tag_hits" type="list"
+
+ <field
+ name="all_tags_show_tag_hits"
+ type="radio"
+ class="btn-group"
description="COM_TAGS_FIELD_CONFIG_HITS_DESC"
label="JGLOBAL_HITS"
+ default="0"
>
- <option value="">JGLOBAL_USE_GLOBAL</option>
<option value="0">JHIDE</option>
<option value="1">JSHOW</option>
</field>
- <field
- name="compact_columns"
- type="text"
- default="4"
- filter="integer"
- label="COM_TAGS_COMPACT_COLUMNS_LABEL"
- description="COM_TAGS_NUMBER_COLUMNS_DESC">
- </field>
+ </fieldset>
+ <fieldset
+ name="shared"
+ label="COM_TAGS_CONFIG_SHARED_SETTINGS_LABEL"
+ description="COM_TAGS_CONFIG_SHARED_SETTINGS_DESC">
+
+ <field
+ name="filter_field"
+ type="radio"
+ class="btn-group"
+ default="0"
+ description="JGLOBAL_FILTER_FIELD_DESC"
+ label="JGLOBAL_FILTER_FIELD_LABEL"
+ >
+ <option value="0">JHIDE</option>
+ <option value="1">JSHOW</option>
+ </field>
+
+ <field
+ name="show_pagination_limit"
+ type="radio"
+ default="1"
+ class="btn-group"
+ description="JGLOBAL_DISPLAY_SELECT_DESC"
+ label="JGLOBAL_DISPLAY_SELECT_LABEL"
+ >
+ <option value="0">JHIDE</option>
+ <option value="1">JSHOW</option>
+ </field>
+
+ <field
+ name="show_pagination"
+ type="list"
+ default="2"
+ description="JGLOBAL_PAGINATION_DESC"
+ label="JGLOBAL_PAGINATION_LABEL"
+ >
+ <option value="0">JHIDE</option>
+ <option value="1">JSHOW</option>
+ <option value="2">JGLOBAL_AUTO</option>
+ </field>
+
+ <field
+ name="show_pagination_results"
+ type="radio"
+ class="btn-group"
+ default="1"
+ label="JGLOBAL_PAGINATION_RESULTS_LABEL"
+ description="JGLOBAL_PAGINATION_RESULTS_DESC"
+ >
+ <option value="0">JHIDE</option>
+ <option value="1">JSHOW</option>
+ </field>
+
+ </fieldset>
+
+ <fieldset
+ name="data_entry"
+ label="COM_TAGS_CONFIG_DATA_ENTRY_SETTINGS_LABEL"
+ description="COM_TAGS_CONFIG_DATA_ENTRY_SETTINGS_LABEL">
+
+ <field
+ name="tag_field_ajax_mode"
+ type="radio"
+ class="btn-group"
+ description="COM_TAGS_TAG_FIELD_MODE_DESC"
+ label="COM_TAGS_TAG_FIELD_MODE_LABEL"
+ default="1"
+ >
+ <option value="1">COM_TAGS_TAG_FIELD_MODE_AJAX</option>
+ <option value="0">COM_TAGS_TAG_FIELD_MODE_NESTED</option>
+ </field>
+
+
+
+ </fieldset>
+
+ <fieldset
+ name="integration"
+ label="JGLOBAL_INTEGRATION_LABEL"
+ description="COM_TAGS_CONFIG_INTEGRATION_SETTINGS_DESC"
+ >
+
+ <field
+ name="show_feed_link"
+ type="radio"
+ class="btn-group"
+ default="1"
+ label="JGLOBAL_SHOW_FEED_LINK_LABEL"
+ description="JGLOBAL_SHOW_FEED_LINK_DESC">
+ <option value="0">JHIDE</option>
+ <option value="1">JSHOW</option>
+ </field>
</fieldset>
View
321 administrator/components/com_tags/models/forms/tag.xml
@@ -3,220 +3,250 @@
<fields name="urls">
<field
name="urla"
- type="hidden"/>
+ type="hidden"
+ />
</fields>
+
<field
name="id"
type="text"
- default="0"
+ class="readonly"
label="JGLOBAL_FIELD_ID_LABEL"
description ="JGLOBAL_FIELD_ID_DESC"
- class="readonly"
- readonly="true"/>
+ default="0"
+ readonly="true"
+ />
<field
name="hits"
type="text"
- default="0"
+ class="readonly"
label="JGLOBAL_HITS"
description ="COM_TAGS_FIELD_HITS_DESC"
- class="readonly"
- readonly="true"/>
+ default="0"
+ readonly="true"
+ />
<field
name="parent_id"
type="tag"
- mode="nested"
+ class="span12 small"
label="COM_TAGS_FIELD_PARENT_LABEL"
description="COM_TAGS_FIELD_PARENT_DESC"
+ mode="nested"
validate="notequals"
field="id"
- class="span12 small">
- <option value="1">JNone</option>
- </field>
+ >
+ <option value="1">JNONE</option>
+ </field>
<field
name="lft"
type="hidden"
- filter="unset"/>
+ filter="unset"
+ />
<field
name="rgt"
type="hidden"
- filter="unset"/>
+ filter="unset"
+ />
<field
name="level"
type="hidden"
- filter="unset"/>
+ filter="unset"
+ />
<field
name="path"
type="text"
+ class="readonly"
label="CATEGORIES_PATH_LABEL"
description="CATEGORIES_PATH_DESC"
- class="readonly"
size="40"
- readonly="true"/>
+ readonly="true"
+ />
<field
name="title"
type="text"
+ class="inputbox"
label="JGLOBAL_TITLE"
description="JFIELD_TITLE_DESC"
- class="inputbox"
size="40"
- required="true"/>
+ required="true"
+ />
<field
name="note"
type="text"
+ class="inputbox"
label="JFIELD_NOTE_LABEL"
description="JFIELD_NOTE_DESC"
- class="inputbox"
- size="40"/>
+ size="40"
+ />
<field
name="description"
type="editor"
+ class="inputbox"
label="JGLOBAL_DESCRIPTION"
description="COM_TAGS_DESCRIPTION_DESC"
- class="inputbox"
filter="JComponentHelper::filterText"
buttons="true"
- hide="readmore,pagebreak"/>
+ hide="readmore,pagebreak"
+ />
<field
name="published"
type="list"
class="span12 small"
+ label="JSTATUS"
+ description="JFIELD_PUBLISHED_DESC"
default="1"
size="1"
- label="JSTATUS"
- description="JFIELD_PUBLISHED_DESC">
- <option
- value="1">
- JPUBLISHED</option>
- <option
- value="0">
- JUNPUBLISHED</option>
- <option
- value="2">
- JARCHIVED</option>
- <option
- value="-2">
- JTRASHED</option>
+ >
+ <option value="1">JPUBLISHED</option>
+ <option value="0">JUNPUBLISHED</option>
+ <option value="2">JARCHIVED</option>
+ <option value="-2">JTRASHED</option>
</field>
<field
name="buttonspacer"
+ type="spacer"
label="JGLOBAL_ACTION_PERMISSIONS_LABEL"
description="JGLOBAL_ACTION_PERMISSIONS_DESCRIPTION"
- type="spacer" />
+ />
<field
name="checked_out"
type="hidden"
- filter="unset"/>
+ filter="unset"
+ />
<field
name="checked_out_time"
type="hidden"
- filter="unset"/>
+ filter="unset"
+ />
<field
name="access"
type="accesslevel"
label="JFIELD_ACCESS_LABEL"
description="JFIELD_ACCESS_DESC"
- class="span12 small"/>
+ class="span12 small"
+ />
<field
name="metadesc"
type="textarea"
label="JFIELD_META_DESCRIPTION_LABEL"
description="JFIELD_META_DESCRIPTION_DESC"
rows="3"
- cols="40"/>
+ cols="40"
+ />
<field
name="metakey"
type="textarea"
label="JFIELD_META_KEYWORDS_LABEL"
description="JFIELD_META_KEYWORDS_DESC"
rows="3"
- cols="40"/>
+ cols="40"
+ />
<field
name="alias"
type="text"
+ class="inputbox"
label="JFIELD_ALIAS_LABEL"
description="JFIELD_ALIAS_DESC"
- class="inputbox"
- size="40"/>
+ size="40"
+ />
<field
name="created_user_id"
type="user"
label="JGLOBAL_FIELD_CREATED_BY_LABEL"
desc="JGLOBAL_FIELD_CREATED_BY_DESC"
- />
- <field name="created_by_alias"
- type="text"
- label="COM_TAGS_FIELD_CREATED_BY_ALIAS_LABEL"
- description="COM_TAGS_FIELD_CREATED_BY_ALIAS_DESC"
- class="inputbox"
- size="20"
- labelclass="control-label" />
+ />
+
+ <field
+ name="created_by_alias"
+ type="text"
+ class="inputbox"
+ labelclass="control-label"
+ label="COM_TAGS_FIELD_CREATED_BY_ALIAS_LABEL"
+ description="COM_TAGS_FIELD_CREATED_BY_ALIAS_DESC"
+ size="20"
+ />
+
<field
name="created_time"
type="calendar"
- label="JGLOBAL_CREATED_DATE"
class="readonly"
+ label="JGLOBAL_CREATED_DATE"
filter="unset"
- readonly="true" />
+ readonly="true"
+ />
<field
name="modified_user_id"
type="user"
- label="JGLOBAL_FIELD_MODIFIED_BY_LABEL"
class="readonly"
+ label="JGLOBAL_FIELD_MODIFIED_BY_LABEL"
readonly="true"
- filter="unset"/>
+ filter="unset"
+ />
<field
name="modified_time"
type="calendar"
- label="JGLOBAL_FIELD_MODIFIED_LABEL"
class="readonly"
+ label="JGLOBAL_FIELD_MODIFIED_LABEL"
filter="unset"
- readonly="true" />
+ readonly="true"
+ />
<field
name="language"
type="contentlanguage"
+ class="span12 small"
label="JFIELD_LANGUAGE_LABEL"
description="COM_TAGS_FIELD_LANGUAGE_DESC"
- class="span12 small">
+ >
<option value="*">JALL</option>
</field>
<fields name="params">
<fieldset
- name="basic">
+ name="basic"
+ >
- <field name="tag_layout" type="componentlayout"
+ <field
+ name="tag_layout"
+ type="componentlayout"
+ labelclass="control-label"
label="JFIELD_ALT_LAYOUT_LABEL"
description="JFIELD_ALT_COMPONENT_LAYOUT_DESC"
useglobal="true"
- extension="com_tags" view="tag" labelclass="control-label" />
+ extension="com_tags"
+ view="tag"
+ />
- <field name="tag_link_class" type="text"
+ <field
+ name="tag_link_class"
+ type="text"
+ class="inputbox"
+ labelclass="control-label"
label="COM_TAGS_FIELD_TAG_LINK_CLASS"
description="COM_TAGS_FIELD_TAG_LINK_CLASS_DESC"
- class="inputbox"
size="20"
- labelclass="control-label" default="label label-info" />
+ default="label label-info"
+ />
</fieldset>
</fields>
@@ -228,9 +258,11 @@
type="text"
label="JAUTHOR"
description="JFIELD_METADATA_AUTHOR_DESC"
- size="30"/>
+ size="30"
+ />
- <field name="robots"
+ <field
+ name="robots"
type="list"
label="JFIELD_METADATA_ROBOTS_LABEL"
description="JFIELD_METADATA_ROBOTS_DESC"
@@ -242,73 +274,94 @@
<option value="noindex, nofollow">JGLOBAL_NOINDEX_NOFOLLOW</option>
</field>
</fields>
+
<fields name="images">
- <field
- name="image_intro"
- type="media"
- label="COM_TAGS_FIELD_INTRO_LABEL"
- description="COM_TAGS_FIELD_INTRO_DESC"
- labelclass="control-label"/>
- <field
- name="float_intro"
- type="list"
- label="COM_TAGS_FLOAT_LABEL"
- description="COM_TAGS_FLOAT_DESC"
- labelclass="control-label">
- <option value="">JGLOBAL_USE_GLOBAL</option>
- <option value="right">COM_TAGS_RIGHT</option>
- <option value="left">COM_TAGS_LEFT</option>
- <option value="none">COM_TAGS_NONE</option>
- </field>
- <field name="image_intro_alt"
- type="text"
- label="COM_TAGS_FIELD_IMAGE_ALT_LABEL"
- description="COM_TAGS_FIELD_IMAGE_ALT_DESC"
- class="inputbox"
- size="20"
- labelclass="control-label"/>
- <field name="image_intro_caption"
- type="text"
- label="COM_TAGS_FIELD_IMAGE_CAPTION_LABEL"
- description="COM_TAGS_FIELD_IMAGE_CAPTION_DESC"
- class="inputbox"
- size="20"
- labelclass="control-label"/>
- <field
- name="spacer1"
- type="spacer"
- hr="true"
- />
- <field
- name="image_fulltext"
- type="media"
- label="COM_TAGS_FIELD_FULL_LABEL"
- description="COM_TAGS_FIELD_FULL_DESC"
- labelclass="control-label"/>
- <field
- name="float_fulltext"
- type="list"
- label="COM_TAGS_FLOAT_LABEL"
- description="COM_TAGS_FLOAT_DESC"
- labelclass="control-label">
- <option value="">JGLOBAL_USE_GLOBAL</option>
- <option value="right">COM_TAGS_RIGHT</option>
- <option value="left">COM_TAGS_LEFT</option>
- <option value="none">COM_TAGS_NONE</option>
- </field>
- <field name="image_fulltext_alt"
- type="text"
- label="COM_TAGS_FIELD_IMAGE_ALT_LABEL"
- description="COM_TAGS_FIELD_IMAGE_ALT_DESC"
- class="inputbox"
- size="20"
- labelclass="control-label"/>
- <field name="image_fulltext_caption"
- type="text"
- label="COM_TAGS_FIELD_IMAGE_CAPTION_LABEL"
- description="COM_TAGS_FIELD_IMAGE_CAPTION_DESC"
- class="inputbox"
- size="20"
- labelclass="control-label"/>
+ <field
+ name="image_intro"
+ type="media"
+ label="COM_TAGS_FIELD_INTRO_LABEL"
+ labelclass="control-label"
+ description="COM_TAGS_FIELD_INTRO_DESC"
+ />
+
+ <field
+ name="float_intro"
+ type="list"
+ labelclass="control-label"
+ label="COM_TAGS_FLOAT_LABEL"
+ description="COM_TAGS_FLOAT_DESC"
+ >
+ <option value="">JGLOBAL_USE_GLOBAL</option>
+ <option value="right">COM_TAGS_RIGHT</option>
+ <option value="left">COM_TAGS_LEFT</option>
+ <option value="none">COM_TAGS_NONE</option>
+ </field>
+
+ <field
+ name="image_intro_alt"
+ type="text"
+ class="inputbox"
+ labelclass="control-label"
+ label="COM_TAGS_FIELD_IMAGE_ALT_LABEL"
+ description="COM_TAGS_FIELD_IMAGE_ALT_DESC"
+ size="20"
+ />
+
+ <field
+ name="image_intro_caption"
+ type="text"
+ class="inputbox"
+ labelclass="control-label"
+ label="COM_TAGS_FIELD_IMAGE_CAPTION_LABEL"
+ description="COM_TAGS_FIELD_IMAGE_CAPTION_DESC"
+ size="20"
+ />
+
+ <field
+ name="spacer1"
+ type="spacer"
+ hr="true"
+ />
+
+ <field
+ name="image_fulltext"
+ type="media"
+ label="COM_TAGS_FIELD_FULL_LABEL"
+ labelclass="control-label"
+ description="COM_TAGS_FIELD_FULL_DESC"
+ />
+
+ <field
+ name="float_fulltext"
+ type="list"
+ labelclass="control-label"
+ label="COM_TAGS_FLOAT_LABEL"
+ description="COM_TAGS_FLOAT_DESC"
+ >
+ <option value="">JGLOBAL_USE_GLOBAL</option>
+ <option value="right">COM_TAGS_RIGHT</option>
+ <option value="left">COM_TAGS_LEFT</option>
+ <option value="none">COM_TAGS_NONE</option>
+ </field>
+
+ <field
+ name="image_fulltext_alt"
+ type="text"
+ class="inputbox"
+ labelclass="control-label"
+ label="COM_TAGS_FIELD_IMAGE_ALT_LABEL"
+ description="COM_TAGS_FIELD_IMAGE_ALT_DESC"
+ size="20"
+ />
+
+ <field
+ name="image_fulltext_caption"
+ type="text"
+ class="inputbox"
+ labelclass="control-label"
+ label="COM_TAGS_FIELD_IMAGE_CAPTION_LABEL"
+ description="COM_TAGS_FIELD_IMAGE_CAPTION_DESC"
+ size="20"
+ />
</fields>
</form>
View
62 administrator/language/en-GB/en-GB.com_tags.ini
@@ -5,9 +5,10 @@
COM_TAGS="Tags"
COM_TAGS_ALL="All"
-COM_TAGS_ALL_TAGS_DESCRIPTION_DESC="Description to display at top of tags list"
-COM_TAGS_ALL_TAGS_MEDIA_DESC="The image to display at the top of the tags list"
-COM_TAGS_ALL_TAGS_MEDIA_LABEL="Tags Image"
+COM_TAGS_ALL_TAGS_DESCRIPTION_DESC="Description to display at the heading of tags list"
+COM_TAGS_ALL_TAGS_DESCRIPTION_LABEL="Heading Description"
+COM_TAGS_ALL_TAGS_MEDIA_DESC="The image to display in the heading of the tags list"
+COM_TAGS_ALL_TAGS_MEDIA_LABEL="Heading Image File"
COM_TAGS_ANY="Any"
COM_TAGS_BASE_ADD_TITLE="Tag Manager: Add New Tag"
COM_TAGS_BASE_EDIT_TITLE="Tag Manager: Edit Tag"
@@ -17,10 +18,22 @@ COM_TAGS_BATCH_CANNOT_EDIT="You are not allowed to edit tags."
COM_TAGS_BATCH_OPTIONS="Batch process the selected tags"
COM_TAGS_BATCH_TIP="Actions will apply to chosen Tags."
COM_TAGS_COMPACT_COLUMNS_LABEL="Number of columns"
-COM_TAGS_CONFIG_ALL_TAGS_SETTINGS_DESC="Global settings for the Tags List layout"
-COM_TAGS_CONFIG_ALL_TAGS_SETTINGS_LABEL="Tags list"
-COM_TAGS_CONFIG_TAG_SETTINGS_DESC="Configuration Settings"
-COM_TAGS_CONFIG_TAG_SETTINGS_LABEL="General Settings"
+COM_TAGS_CONFIG_ALL_TAGS_FIELD_LAYOUT_DESC="Choose a default layout for List of all tags."
+COM_TAGS_CONFIG_ALL_TAGS_FIELD_LAYOUT_LABEL="Default List All Tags Layout"
+COM_TAGS_CONFIG_ALL_TAGS_SETTINGS_DESC="These settings apply for a List of all Tags unless they are changed for a specific menu item."
+COM_TAGS_CONFIG_ALL_TAGS_SETTINGS_LABEL="List All Tags Options"
+COM_TAGS_CONFIG_DATA_ENTRY_SETTINGS_DESC="These settings control the way tags are entered."
+COM_TAGS_CONFIG_DATA_ENTRY_SETTINGS_LABEL="Data Entry Options"
+COM_TAGS_CONFIG_INTEGRATION_SETTINGS_DESC="These settings determine how the Tags Component will integrate with other extensions."
+COM_TAGS_CONFIG_NUMBER_OF_ITEMS="Number of Items Tagged"
+COM_TAGS_CONFIG_SELECTION_SETTINGS_DESC="These settings control which items get selected in the Tagged Items list layouts."
+COM_TAGS_CONFIG_SELECTION_SETTINGS_LABEL="Item Selection Options"
+COM_TAGS_CONFIG_SHARED_SETTINGS_DESC="These settings apply to all tag layouts unless they are changed for a specific menu item."
+COM_TAGS_CONFIG_SHARED_SETTINGS_LABEL="Shared Layout Options"
+COM_TAGS_CONFIG_TAG_SETTINGS_DESC="These settings apply for a Tagged Items List or Compact List of Tagged Items unless they are changed for a specific menu item."
+COM_TAGS_CONFIG_TAG_SETTINGS_LABEL="Tagged Items Options"
+COM_TAGS_CONFIG_TAGGED_ITEMS_FIELD_LAYOUT_DESC="Choose a default layout for tagged items. This layout will be used when a user clicks on a tag that doesn't have a menu item defined."
+COM_TAGS_CONFIG_TAGGED_ITEMS_FIELD_LAYOUT_LABEL="Default Tagged Items Layout"
COM_TAGS_CONFIGURATION="Tags Configuration"
COM_TAGS_DELETE_NOT_ALLOWED="Delete not allowed for tag %s. "
COM_TAGS_DESCRIPTION_DESC="Enter an optional tag description in the text-area."
@@ -46,7 +59,7 @@ COM_TAGS_FIELD_INTRO_LABEL="Teaser image"
COM_TAGS_FIELD_ITEM_BODY_DESC="Show the body for each item."
COM_TAGS_FIELD_LANGUAGE_DESC="Assign a language to this tag."
COM_TAGS_FIELD_LANGUAGE_FILTER_DESC="Optionally filter the list of tags based on language"
-COM_TAGS_FIELD_LANGUAGE_FILTER_LABEL="Language filter"
+COM_TAGS_FIELD_LANGUAGE_FILTER_LABEL="Language Filter"
COM_TAGS_FIELD_PARENT_DESC="Select a Parent tag"
COM_TAGS_FIELD_PARENT_LABEL="Parent"
COM_TAGS_FIELD_PARENT_TAG_DESC="If set only tags that are direct children of the selected tag will be displayed."
@@ -70,16 +83,19 @@ COM_TAGS_HAS_SUBCATEGORY_ITEMS="%d items are assigned to this tag's subtags."
COM_TAGS_HAS_SUBCATEGORY_ITEMS_1="%d item is assigned to one of this tag's subtags."
COM_TAGS_INCLUDE="Include"
COM_TAGS_INCLUDE_CHILDREN_DESC="Include or exclude child tags from the result list for a tag"
-COM_TAGS_INCLUDE_CHILDREN_LABEL="Child tags"
+COM_TAGS_INCLUDE_CHILDREN_LABEL="Child Tags"
COM_TAGS_ITEM_ASSOCIATIONS_FIELDSET_DESC="Multilanguage only! This choice will only display if the Language Filter parameter 'Item Associations' is set to 'Yes'. Choose a category item for the target language. This association will let the Language Switcher module redirect to the associated category item in another language. If used, make sure to display the Language switcher module on the concerned pages. A category item set to language 'All' can't be associated."
COM_TAGS_ITEM_ASSOCIATIONS_FIELDSET_LABEL="Tag Item Associations"
COM_TAGS_ITEM_FIELD_ASSOCIATION_NO_VALUE="- No association -"
+COM_TAGS_ITEM_OPTIONS="Item Options"
COM_TAGS_ITEMS_SEARCH_FILTER="Search"
COM_TAGS_LEFT="Left"
+COM_TAGS_LIST_ALL_SELECTION_OPTIONS="Selection Options"
COM_TAGS_LIST_MAX_CHARACTERS_DESC="The maximum number of characters to display from the description in each tag."
-COM_TAGS_LIST_MAX_CHARACTERS_LABEL="Maximum characters"
+COM_TAGS_LIST_MAX_CHARACTERS_LABEL="Maximum Characters"
COM_TAGS_LIST_MAX_DESC="The maximum number of results to return"
-COM_TAGS_LIST_MAX_LABEL="Maximum"
+COM_TAGS_LIST_MAX_LABEL="Maximum Items"
+COM_TAGS_LIST_SELECTION_OPTIONS="Item Selection Options"
COM_TAGS_MANAGER_TAGS="Tags"
COM_TAGS_MATCH_COUNT="Number of matching tags"
COM_TAGS_N_ITEMS_ARCHIVED="%d tags successfully archived"
@@ -100,47 +116,49 @@ COM_TAGS_NUMBER_COLUMNS_DESC="Number of columns to arrange the tags in. Note tha
COM_TAGS_NUMBER_TAG_ITEMS_DESC="Shows the number of items with a given tag"
COM_TAGS_NUMBER_TAG_ITEMS_LABEL="Show number of items"
COM_TAGS_OPTIONS="Tag Options"
+COM_TAGS_PAGINATION_OPTIONS="Pagination Options"
COM_TAGS_REBUILD_FAILURE="Failed rebuilding Tags tree data."
COM_TAGS_REBUILD_SUCCESS="Tags tree data successfully rebuilt."
COM_TAGS_RIGHT="Right"
COM_TAGS_SAVE_SUCCESS="Tag successfully saved"
COM_TAGS_SEARCH_TYPE_DESC="All will return items that have all of the tags. Any will return items that have at least one of the tags."
COM_TAGS_SEARCH_TYPE_LABEL="Match Type"
-COM_TAGS_SHOW_ALL_TAGS_DESCRIPTION_DESC="Shows a description at the top of the tags list"
-COM_TAGS_SHOW_ALL_TAGS_DESCRIPTION_LABEL="Description"
-COM_TAGS_SHOW_ALL_TAGS_IMAGE_DESC="Shows an image at the top of the tags list."
-COM_TAGS_SHOW_ALL_TAGS_IMAGE_LABEL="Tags Image"
+COM_TAGS_SHOW_ALL_TAGS_DESCRIPTION_DESC="Optional description to show at the top of the all tags list"
+COM_TAGS_SHOW_ALL_TAGS_DESCRIPTION_LABEL="Heading Description"
+COM_TAGS_SHOW_ALL_TAGS_IMAGE_DESC="Shows an image at the heading of the tags list."
+COM_TAGS_SHOW_ALL_TAGS_IMAGE_LABEL="Show Heading Image"
COM_TAGS_SHOW_EMPTY_TAG_DESC="Show empty tags"
COM_TAGS_SHOW_ITEM_BODY_DESC="Show or hide the body text for the tagged items"
COM_TAGS_SHOW_ITEM_BODY_LABEL="Item body"
COM_TAGS_SHOW_ITEM_DESCRIPTION_DESC="Shows or hides the description for each tag listed"
-COM_TAGS_SHOW_ITEM_DESCRIPTION_LABEL="Tag descriptions"
+COM_TAGS_SHOW_ITEM_DESCRIPTION_LABEL="Tag Descriptions"
COM_TAGS_SHOW_ITEM_IMAGE_DESC="Shows the first image for each item in the list"
-COM_TAGS_SHOW_ITEM_IMAGE_LABEL="Tag image"
+COM_TAGS_SHOW_ITEM_IMAGE_LABEL="Item Images"
COM_TAGS_SHOW_TAG_BODY_DESC="For a layout with one tag, show the tag description."
COM_TAGS_SHOW_TAG_BODY_LABEL="Show tag description"
COM_TAGS_SHOW_TAG_DESCRIPTION_DESC="Show or hide the description for the tag (only used when a single tag is selected)"
COM_TAGS_SHOW_TAG_DESCRIPTION_LABEL="Tag Description"
COM_TAGS_SHOW_TAG_IMAGE_DESC="For a layout with one tag, show the image for the tag"
-COM_TAGS_SHOW_TAG_IMAGE_LABEL="Show image"
+COM_TAGS_SHOW_TAG_IMAGE_LABEL="Tag Image"
COM_TAGS_SHOW_TAG_LIST_DESCRIPTION_LABEL="Description"
COM_TAGS_SHOW_TAG_TITLE_DESC="For a layout with one tag, show the tag name"
COM_TAGS_SHOW_TAG_TITLE_LABEL="Show tag name"
COM_TAGS_SUBSLIDER_DRILL_TAG_LIST_LABEL="Options for each item in the list."
COM_TAGS_TAG_FIELD_MODE_AJAX="AJAX"
COM_TAGS_TAG_FIELD_MODE_DESC="Ajax mode searches tags while typing and allows you on the fly tag creation. Nested tags show you a nested view with all the available tags"
-COM_TAGS_TAG_FIELD_MODE_LABEL="Tag field mode"
+COM_TAGS_TAG_FIELD_MODE_LABEL="Tag Entry Mode"
COM_TAGS_TAG_FIELD_MODE_NESTED="Nested"
-COM_TAGS_TAG_LIST_DESCRIPTION_DESC="Show or hide the description for the tag"
+COM_TAGS_TAG_LIST_DESCRIPTION_DESC="Optional description to show at the top of the list. For example, this can be used when you have a layout that includes more than one tag."
+COM_TAGS_TAG_LIST_DESCRIPTION_LABEL="Layout Description"
COM_TAGS_TAG_LIST_FIELD_ITEM_DESCRIPTION_LABEL="Item body"
COM_TAGS_TAG_LIST_ITEM_DESCRIPTION_DESC="Shows the body text for the individual items (depends on the source table)"
COM_TAGS_TAG_LIST_ITEM_HITS_DESC="Shows the number of hits for each individual item"
COM_TAGS_TAG_LIST_MEDIA_DESC="Show the tag image (full image)"
COM_TAGS_TAG_LIST_MEDIA_LABEL="Image"
COM_TAGS_TAG_LIST_SHOW_ITEM_IMAGE_DESC="Shows the image for each item"
COM_TAGS_TAG_LIST_SHOW_ITEM_IMAGE_LABEL="Item image"
-COM_TAGS_TAG_LIST_SHOW_TAG_DESCRIPTION_DESC="Shows the description for the tag defining the list (only applies for single tag lists)."
-COM_TAGS_TAG_LIST_SHOW_TAG_DESCRIPTION_LABEL="Item description"
+COM_TAGS_TAG_LIST_SHOW_ITEM_DESCRIPTION_DESC="Whether to show or hide the description for each item in the list. The length may be limited using the Maximum Characters option."
+COM_TAGS_TAG_LIST_SHOW_ITEM_DESCRIPTION_LABEL="Item description"
COM_TAGS_TAG_VIEW_LIST_DESC="Displays a compact list of items that have been tagged with the selected tags"
COM_TAGS_TAG_VIEW_LIST_OPTION="List view options"
COM_TAGS_TAG_VIEW_LIST_TITLE="Tagged items list"
View
97 components/com_tags/models/tag.php
@@ -35,6 +35,44 @@ class TagsModelTag extends JModelList
protected $items = null;
/**
+ * Constructor.
+ *
+ * @param array An optional associative array of configuration settings.
+ * @see JController
+ * @since 3.1
+ */
+ public function __construct($config = array())
+ {
+ if (empty($config['filter_fields']))
+ {
+ $config['filter_fields'] = array(
+ 'core_content_id', 'c.core_content_id',
+ 'core_title', 'c.core_title',
+ 'core_type_alias', 'c.core_type_alias',
+ 'core_checked_out_user_id', 'c.core_checked_out_user_id',
+ 'core_checked_out_time', 'c.core_checked_out_time',
+ 'core_catid', 'c.core_catid',
+ 'core_state', 'c.core_state',
+ 'core_access', 'c.core_access',
+ 'core_created_user_id', 'c.core_created_user_id',
+ 'core_created_time', 'c.core_created_time',
+ 'core_modified_time', 'c.core_modified_time',
+ 'core_ordering', 'c.core_ordering',
+ 'core_featured', 'c.core_featured',
+ 'core_language', 'c.core_language',
+ 'core_hits', 'c.core_hits',
+ 'core_publish_up', 'c.core_publish_up',
+ 'core_publish_down', 'c.core_publish_down',
+ 'core_images', 'c.core_images',
+ 'core_urls', 'c.core_urls',
+ 'match_count',
+ );
+ }
+
+ parent::__construct($config);
+ }
+
+ /**
* Method to get a list of items for a list of tags.
*
* @return mixed An array of objects on success, false on failure.
@@ -54,7 +92,7 @@ public function getItems()
$item->link = 'index.php?option=' . $explodedTypeAlias[0] . '&view=' . $explodedTypeAlias[1] . '&id=' . $item->content_item_id . ':' . $item->core_alias;
// Get display date
- switch ($this->state->params->get('list_show_date'))
+ switch ($this->state->params->get('tag_list_show_date'))
{
case 'modified':
$item->displayDate = $item->core_modified_time;
@@ -92,9 +130,9 @@ protected function getListQuery()
$tagId = $this->getState('tag.id') ? : '';
$typesr = $this->getState('tag.typesr');
- $orderByOption = $this->getState('params')->get('tag_list_orderby', 'title');
+ $orderByOption = $this->getState('list.ordering', 'c.core_title');
$includeChildren = $this->state->params->get('include_children', 0);
- $orderDir = $this->getState('params')->get('tag_list_orderby_direction', 'ASC');
+ $orderDir = $this->getState('list.direction', 'ASC');
$matchAll = $this->getState('params')->get('return_any_or_all', 1);
$language = $this->getState('tag.language');
$stateFilter = $this->getState('tag.state');
@@ -107,6 +145,10 @@ protected function getListQuery()
$listQuery = New JHelperTags;
$query = $listQuery->getTagItemsQuery($tagId, $typesr, $includeChildren, $orderByOption, $orderDir, $matchAll, $language, $stateFilter);
+ if ($this->state->get('list.filter'))
+ {
+ $query->where($this->_db->quoteName('c.core_title') . ' LIKE ' . $this->_db->quote('%' . $this->state->get('list.filter') . '%'));
+ }
return $query;
}
@@ -123,10 +165,14 @@ protected function getListQuery()
*
* @since 3.1
*/
- protected function populateState($ordering = null, $direction = null)
+ protected function populateState($ordering = 'c.core_title', $direction = 'ASC')
{
$app = JFactory::getApplication('site');
+ // Load the parameters.
+ $params = $app->getParams();
+ $this->setState('params', $params);
+
// Load state from the request.
$pk = $app->input->getObject('id');
$pk = (array) $pk;
@@ -151,17 +197,50 @@ protected function populateState($ordering = null, $direction = null)
$language = $app->input->getString('tag_list_language_filter');
$this->setState('tag.language', $language);
+ // List state information
+ $format = $app->input->getWord('format');
+ if ($format == 'feed')
+ {
+ $limit = $app->getCfg('feed_limit');
+ }
+ else
+ {
+ if ($this->state->params->get('show_pagination_limit'))
+ {
+ $limit = $app->getUserStateFromRequest('global.list.limit', 'limit', $app->getCfg('list_limit'), 'uint');
+ }
+ else
+ {
+ $limit = $this->state->params->get('maximum', 20);
+ }
+ }
+ $this->setState('list.limit', $limit);
+
$offset = $app->input->get('limitstart', 0, 'uint');
- $this->setState('list.offset', $offset);
+ $this->setState('list.start', $offset);
- // Load the parameters.
- $params = $app->getParams();
- $this->setState('params', $params);
+ $itemid = $pkString . ':' . $app->input->get('Itemid', 0, 'int');
+ $orderCol = $app->getUserStateFromRequest('com_tags.tag.list.' . $itemid . '.filter_order', 'filter_order', '', 'string');
+ $orderCol = !$orderCol ? $this->state->params->get('tag_list_orderby','c.core_title') : $orderCol;
+ if (!in_array($orderCol, $this->filter_fields))
+ {
+ $orderCol = 'c.core_title';
+ }
+ $this->setState('list.ordering', $orderCol);
+
+ $listOrder = $app->getUserStateFromRequest('com_tags.tag.list.' . $itemid . '.filter_order_direction', 'filter_order_Dir', '', 'string');
+ $listOrder = !$listOrder ? $this->state->params->get('tag_list_orderby_direction','ASC') : $listOrder;
+ if (!in_array(strtoupper($listOrder), array('ASC', 'DESC', '')))
+ {
+ $listOrder = 'ASC';
+ }
+ $this->setState('list.direction', $listOrder);
$this->setState('tag.state', 1);
// Optional filter text
- $this->setState('list.filter', $app->input->getString('filter-search'));
+ $filterSearch = $app->getUserStateFromRequest('com_tags.tag.list.' . $itemid . '.filter_search', 'filter-search', '', 'string');
+ $this->setState('list.filter', $filterSearch);
}
/**
View
12 components/com_tags/views/tag/tmpl/default.php
@@ -11,15 +11,15 @@
// Note that there are certain parts of this layout used only when there is exactly one tag.
JHtml::addIncludePath(JPATH_COMPONENT.'/helpers');
-
+$isSingleTag = (count($this->item) == 1);
?>
<div class="tag-category<?php echo $this->pageclass_sfx; ?>">
<?php if ($this->params->get('show_page_heading')) : ?>
<h1>
<?php echo $this->escape($this->params->get('page_heading')); ?>
</h1>
<?php endif; ?>
-<?php if($this->state->get('show_tag_title', 1)) : ?>
+<?php if($this->params->get('show_tag_title', 1)) : ?>
<h2>
<?php echo JHtml::_('content.prepare', $this->document->title, '', 'com_tag.tag'); ?>
</h2>
@@ -31,19 +31,19 @@
<?php if ($this->params->get('tag_list_show_tag_image', 1) == 1 && !empty($images->image_fulltext)) : ?>
<img src="<?php echo htmlspecialchars($images->image_fulltext);?>">
<?php endif; ?>
- <?php $this->params->get('tag_list_show_tag_description'); ?>
<?php if ($this->params->get('tag_list_show_tag_description') == 1 && $this->item[0]->description) : ?>
<?php echo JHtml::_('content.prepare', $this->item[0]->description, '', 'com_tags.tag'); ?>
<?php endif; ?>
<div class="clr"></div>
</div>
+<?php endif; ?>
<?php // If there are multiple tags and a description or image has been supplied use that. ?>
-<?php elseif ($this->params->get('tag_list_show_tag_description', 1) || $this->params->get('show_description_image', 1)): ?>
+<?php if ($this->params->get('tag_list_show_tag_description', 1) || $this->params->get('show_description_image', 1)): ?>
<?php if ($this->params->get('show_description_image', 1) == 1 && $this->params->get('tag_list_image')) :?>
<img src="<?php echo $this->params->get('tag_list_image');?>">
<?php endif; ?>
- <?php if ($this->state->params->get('show_description', 1) == 1 && $this->state->params->get('tag_list_description')) :?>
- <?php echo JHtml::_('content.prepare', $this->state->params->get('tag_list_description'), '', 'com_tags.tag'); ?>
+ <?php if ($this->params->get('tag_list_description', '') > '') :?>
+ <?php echo JHtml::_('content.prepare', $this->params->get('tag_list_description'), '', 'com_tags.tag'); ?>
<?php endif; ?>
<?php endif; ?>
View
213 components/com_tags/views/tag/tmpl/default.xml
@@ -13,43 +13,46 @@
<fields name="request">
<fieldset name="request">
- <field name="id" type="tag" custom="deny"
- description="COM_TAGS_FIELD_SELECT_TAG_DESC"
+ <field
+ name="id"
+ type="tag"
label="COM_TAGS_FIELD_TAG_LABEL"
+ description="COM_TAGS_FIELD_SELECT_TAG_DESC"
+ custom="deny"
required="true"
multiple="true"
/>
- <field name="types" type="contenttype"
- description="COM_TAGS_FIELD_TYPE_DESC"
+
+ <field
+ name="types"
+ type="contenttype"
label="COM_TAGS_FIELD_TYPE_LABEL"
+ description="COM_TAGS_FIELD_TYPE_DESC"
multiple="true"
- >
-
- </field>
- <field name="tag_list_language_filter"
+ />
+
+ <field
+ name="tag_list_language_filter"
type="contentlanguage"
- default=""
label="COM_TAGS_FIELD_LANGUAGE_FILTER_LABEL"
- description="COM_TAGS_FIELD_LANGUAGE_FILTER_DESC">
+ description="COM_TAGS_FIELD_LANGUAGE_FILTER_DESC"
+ default=""
+ >
<option value="">JGLOBAL_USE_GLOBAL</option>
<option value="all">JALL</option>
<option value="current_language">JCURRENT</option>
</field>
+
</fieldset>
</fields>
<!-- Add fields to the parameters object for the layout. -->
<fields name="params">
<fieldset name="basic" label="COM_TAGS_OPTIONS">
- <field name="return_any_or_all" type="list"
- label="COM_TAGS_SEARCH_TYPE_LABEL"
- description="COM_TAGS_SEARCH_TYPE_DESC"
- >
- <option value="">JGLOBAL_USE_GLOBAL</option>
- <option value="0">COM_TAGS_ALL</option>
- <option value="1">COM_TAGS_ANY</option>
- </field>
- <field name="show_tag_title" type="list"
+
+ <field
+ name="show_tag_title"
+ type="list"
label="COM_TAGS_SHOW_TAG_TITLE_LABEL"
description="COM_TAGS_SHOW_TAG_TITLE_DESC"
>
@@ -58,35 +61,49 @@
<option value="1">JSHOW</option>
</field>
- <field name="tag_list_show_tag_image" type="list"
- description="COM_TAGS_SHOW_TAG_IMAGE_DESC"
+ <field
+ name="tag_list_show_tag_image"
+ type="list"
label="COM_TAGS_SHOW_TAG_IMAGE_LABEL"
+ description="COM_TAGS_SHOW_TAG_IMAGE_DESC"
>
<option value="">JGLOBAL_USE_GLOBAL</option>
<option value="0">JHIDE</option>
<option value="1">JSHOW</option>
</field>
- <field name="tag_list_show_tag_description" type="list"
- description="COM_TAGS_SHOW_TAG_DESCRIPTION_DESC"
+ <field
+ name="tag_list_show_tag_description"
+ type="list"
label="COM_TAGS_SHOW_TAG_DESCRIPTION_LABEL"
+ description="COM_TAGS_SHOW_TAG_DESCRIPTION_DESC"
>
<option value="">JGLOBAL_USE_GLOBAL</option>
<option value="0">JHIDE</option>
<option value="1">JSHOW</option>
</field>
- <field name="tag_list_image" type="media"
- description="COM_TAGS_TAG_LIST_MEDIA_DESC"
+
+ <field
+ name="tag_list_image"
+ type="media"
label="COM_TAGS_TAG_LIST_MEDIA_LABEL"
+ description="COM_TAGS_TAG_LIST_MEDIA_DESC"
/>
- <field name="tag_list_description" type="textarea"
- description="COM_TAGS_TAG_LIST_DESCRIPTION_DESC"
- label="COM_TAGS_SHOW_TAG_LIST_DESCRIPTION_LABEL"
+
+ <field
+ name="tag_list_description"
+ type="textarea"
class="inputbox"
- rows="3" cols="30" filter="safehtml"
+ label="COM_TAGS_SHOW_TAG_LIST_DESCRIPTION_LABEL"
+ description="COM_TAGS_TAG_LIST_DESCRIPTION_DESC"
+ rows="3"
+ cols="30"
+ filter="safehtml"
/>
- <field name="show_tag_num_items" type="list"
+ <field
+ name="show_tag_num_items"
+ type="list"
label="COM_TAGS_NUMBER_TAG_ITEMS_LABEL"
description="COM_TAGS_NUMBER_TAG_ITEMS_DESC"
>
@@ -95,20 +112,13 @@
<option value="1">JSHOW</option>
</field>
- <field
- name="maximum"
- type="text"
- default="200"
- filter="integer"
- label="COM_TAGS_LIST_MAX_LABEL"
- description="COM_TAGS_LIST_MAX_DESC">
- </field>
-
- <field name="tag_list_orderby"
+ <field
+ name="tag_list_orderby"
type="list"
- default="title"
label="JGLOBAL_FIELD_FIELD_ORDERING_LABEL"
- description="JGLOBAL_FIELD_FIELD_ORDERING_DESC">
+ description="JGLOBAL_FIELD_FIELD_ORDERING_DESC"
+ default=""
+ >
<option value="">JGLOBAL_USE_GLOBAL</option>
<option value="title">JGLOBAL_TITLE</option>
<option value="match_count">COM_TAGS_MATCH_COUNT</option>
@@ -117,48 +127,50 @@
<option value="publish_up">JGLOBAL_PUBLISHED_DATE</option>
</field>
- <field name="tag_list_orderby_direction" type="list"
- description="JGLOBAL_ORDER_DIRECTION_DESC"
+ <field
+ name="tag_list_orderby_direction"
+ type="list"
label="JGLOBAL_ORDER_DIRECTION_LABEL"
- default="ASC"
+ description="JGLOBAL_ORDER_DIRECTION_DESC"
>
<option value="">JGLOBAL_USE_GLOBAL</option>
<option value="ASC">JGLOBAL_ORDER_ASCENDING</option>
<option value="DESC">JGLOBAL_ORDER_DESCENDING</option>
</field>
- <field name="include_children" type="list"
- description="COM_TAGS_INCLUDE_CHILDREN_DESC"
- label="COM_TAGS_INCLUDE_CHILDREN_LABEL"
- default="1"
- >
- <option value="">JGLOBAL_USE_GLOBAL</option>
- <option value="0">COM_TAGS_EXCLUDE</option>
- <option value="1">COM_TAGS_INCLUDE</option>
- </field>
</fieldset>
- <fieldset name="advanced" label="JGLOBAL_LIST_LAYOUT_OPTIONS">
- <field name="spacer2" type="spacer" class="text"
- label="COM_TAGS_SUBSLIDER_DRILL_TAG_LIST_LABEL"
+ <fieldset name="advanced" label="COM_TAGS_ITEM_OPTIONS">
+
+ <field
+ name="spacer2"
+ type="spacer"
+ class="text"
+ label="COM_TAGS_SUBSLIDER_DRILL_TAG_LIST_LABEL"
/>
- <field name="tag_list_show_item_image" type="list"
+
+ <field
+ name="tag_list_show_item_image"
+ type="list"
+ label="COM_TAGS_TAG_LIST_SHOW_ITEM_IMAGE_LABEL"
description="COM_TAGS_TAG_LIST_SHOW_ITEM_IMAGE_DESC"
- label="COM_TAGS_TAG_LIST_SHOW_ITEM_IMAGE_LABEL"
>
<option value="">JGLOBAL_USE_GLOBAL</option>
<option value="0">JHIDE</option>
<option value="1">JSHOW</option>
</field>
- <field name="tag_list_show_item_description" type="list"
- description="COM_TAGS_TAG_LIST_SHOW_TAG_DESCRIPTION_DESC"
- label="COM_TAGS_TAG_LIST_SHOW_TAG_DESCRIPTION_LABEL"
+ <field
+ name="tag_list_show_item_description"
+ type="list"
+ label="COM_TAGS_TAG_LIST_SHOW_ITEM_DESCRIPTION_LABEL"
+ description="COM_TAGS_TAG_LIST_SHOW_ITEM_DESCRIPTION_DESC"
>
<option value="">JGLOBAL_USE_GLOBAL</option>
<option value="0">JHIDE</option>
<option value="1">JSHOW</option>
</field>
+
<field
name="tag_list_item_maximum_characters"
type="text"
@@ -167,7 +179,24 @@
description="COM_TAGS_LIST_MAX_CHARACTERS_DESC"
/>
- <field name="show_pagination_limit" type="list"
+ <field
+ name="filter_field"
+ type="list"
+ default=""
+ label="JGLOBAL_FILTER_FIELD_LABEL"
+ description="JGLOBAL_FILTER_FIELD_DESC"
+ >
+ <option value="">JGLOBAL_USE_GLOBAL</option>
+ <option value="0">JHIDE</option>
+ <option value="1">JSHOW</option>
+ </field>
+ </fieldset>
+
+ <fieldset name="pagination" label="COM_TAGS_PAGINATION_OPTIONS">
+
+ <field
+ name="show_pagination_limit"
+ type="list"
label="JGLOBAL_DISPLAY_SELECT_LABEL"
description="JGLOBAL_DISPLAY_SELECT_DESC"
>
@@ -176,31 +205,73 @@
<option value="1">JSHOW</option>
</field>
- <field name="show_pagination" type="list"
- description="JGLOBAL_PAGINATION_DESC"
+ <field
+ name="show_pagination"
+ type="list"
label="JGLOBAL_PAGINATION_LABEL"
+ description="JGLOBAL_PAGINATION_DESC"
>
<option value="">JGLOBAL_USE_GLOBAL</option>
<option value="0">JHIDE</option>
<option value="1">JSHOW</option>
<option value="2">JGLOBAL_AUTO</option>
</field>
- <field name="show_pagination_results" type="list"
+ <field
+ name="show_pagination_results"
+ type="list"
label="JGLOBAL_PAGINATION_RESULTS_LABEL"
description="JGLOBAL_PAGINATION_RESULTS_DESC">
<option value="">JGLOBAL_USE_GLOBAL</option>
<option value="0">JHIDE</option>
<option value="1">JSHOW</option>
</field>
-
-
+
</fieldset>
-
+
+ <fieldset name="selection" label="COM_TAGS_LIST_SELECTION_OPTIONS">
+
+ <field
+ name="return_any_or_all"
+ type="list"
+ label="COM_TAGS_SEARCH_TYPE_LABEL"
+ description="COM_TAGS_SEARCH_TYPE_DESC"
+ >
+ <option value="">JGLOBAL_USE_GLOBAL</option>
+ <option value="0">COM_TAGS_ALL</option>
+ <option value="1">COM_TAGS_ANY</option>
+ </field>
+
+ <field
+ name="include_children"
+ type="list"
+ label="COM_TAGS_INCLUDE_CHILDREN_LABEL"
+ description="COM_TAGS_INCLUDE_CHILDREN_DESC"
+ default="1"
+ >
+ <option value="">JGLOBAL_USE_GLOBAL</option>
+ <option value="0">COM_TAGS_EXCLUDE</option>
+ <option value="1">COM_TAGS_INCLUDE</option>
+ </field>
+
+ <field
+ name="maximum"
+ type="text"
+ default="200"
+ filter="integer"
+ label="COM_TAGS_LIST_MAX_LABEL"
+ description="COM_TAGS_LIST_MAX_DESC">
+ </field>
+
+ </fieldset>
+
<fieldset name="integration">
- <field name="show_feed_link" type="list"
- description="JGLOBAL_SHOW_FEED_LINK_DESC"
+
+ <field
+ name="show_feed_link"
+ type="list"
label="JGLOBAL_SHOW_FEED_LINK_LABEL"
+ description="JGLOBAL_SHOW_FEED_LINK_DESC"
>
<option value="">JGLOBAL_USE_GLOBAL</option>
<option value="0">JHIDE</option>
View
41 components/com_tags/views/tag/tmpl/default_items.php
@@ -23,11 +23,40 @@
$canEditState = $user->authorise('core.edit.state', 'com_tags');
$items = $this->items;
$n = count($this->items);
+
?>
-<?php if ($this->items == false || $n == 0) : ?>
- <p> <?php echo JText::_('COM_TAGS_NO_ITEMS'); ?></p>
-<?php else : ?>
+<form action="<?php echo htmlspecialchars(JUri::getInstance()->toString()); ?>" method="post" name="adminForm" id="adminForm" class="form-inline">
+ <?php if ($this->params->get('show_headings') || $this->params->get('filter_field') !== '0' || $this->params->get('show_pagination_limit')) :?>
+ <fieldset class="filters btn-toolbar">
+ <?php if ($this->params->get('filter_field') != 'hide') :?>
+ <div class="btn-group">
+ <label class="filter-search-lbl element-invisible" for="filter-search">
+ <?php echo JText::_('COM_TAGS_TITLE_FILTER_LABEL').'&#160;'; ?>
+ </label>
+ <input type="text" name="filter-search" id="filter-search" value="<?php echo $this->escape($this->state->get('list.filter')); ?>" class="inputbox" onchange="document.adminForm.submit();" title="<?php echo JText::_('COM_TAGS_FILTER_SEARCH_DESC'); ?>" placeholder="<?php echo JText::_('COM_TAGS_TITLE_FILTER_LABEL'); ?>" />
+ </div>
+ <?php endif; ?>
+ <?php if ($this->params->get('show_pagination_limit')) : ?>
+ <div class="btn-group pull-right">
+ <label for="limit" class="element-invisible">
+ <?php echo JText::_('JGLOBAL_DISPLAY_NUM'); ?>
+ </label>
+ <?php echo $this->pagination->getLimitBox(); ?>
+ </div>
+ <?php endif; ?>
+
+ <input type="hidden" name="filter_order" value="" />
+ <input type="hidden" name="filter_order_Dir" value="" />
+ <input type="hidden" name="limitstart" value="" />
+ <input type="hidden" name="task" value="" />
+ <div class="clearfix"></div>
+ </fieldset>
+ <?php endif; ?>
+
+ <?php if ($this->items == false || $n == 0) : ?>
+ <p> <?php echo JText::_('COM_TAGS_NO_ITEMS'); ?></p>
+ <?php else : ?>
<ul class="category list-striped list-condensed">
<?php foreach ($items as $i => $item) : ?>
@@ -57,15 +86,17 @@
<?php endforeach; ?>
</ul>
- <?php if ($this->state->get('show_pagination')) : ?>
+ <?php if ($this->params->get('show_pagination')) : ?>
<div class="pagination">
- <?php if ($this->params->def('show_pagination_results', 1)) : ?>
+ <?php if ($this->params->get('show_pagination_results', 1)) : ?>
<p class="counter">
<?php echo $this->pagination->getPagesCounter(); ?>
</p>
<?php endif; ?>
<?php echo $this->pagination->getPagesLinks(); ?>
</div>
+ </br>
<?php endif; ?>
+</form>
<?php endif; ?>
View
14 components/com_tags/views/tag/tmpl/list.php
@@ -19,7 +19,7 @@
<?php echo $this->escape($this->params->get('page_heading')); ?>
</h1>
<?php endif; ?>
-<?php if($this->state->get('show_tag_title', 1)) : ?>
+<?php if($this->params->get('show_tag_title', 1)) : ?>
<h2>
<?php echo JHtml::_('content.prepare', $this->document->title, '', 'com_tag.tag'); ?>
</h2>
@@ -29,23 +29,23 @@
<div class="category-desc">
<?php $images = json_decode($this->item[0]->images); ?>
<?php if ($this->params->get('tag_list_show_tag_image', 1) == 1 && !empty($images->image_fulltext)) :?>
- <img src="<?php echo $images->image_fulltext;?>">
+ <img src="<?php echo htmlspecialchars($images->image_fulltext);?>">
<?php endif; ?>
<?php if ($this->params->get('tag_list_show_tag_description') == 1 && $this->item[0]->description) : ?>
<?php echo JHtml::_('content.prepare', $this->item[0]->description, '', 'com_tags.tag'); ?>
<?php endif; ?>
<div class="clr"></div>
</div>
+<?php endif; ?>
<?php // If there are multiple tags and a description or image has been supplied use that. ?>
-<?php elseif ($this->params->get('tag_list_show_tag_description', 1) || $this->params->get('show_description_image', 1)): ?>
+<?php if ($this->params->get('tag_list_show_tag_description', 1) || $this->params->get('show_description_image', 1)): ?>
<?php if ($this->params->get('show_description_image', 1) == 1 && $this->params->get('tag_list_image')) :?>
<img src="<?php echo $this->params->get('tag_list_image');?>">
<?php endif; ?>
- <?php if ($this->state->params->get('show_description', 1) == 1 && $this->state->params->get('tag_list_description')) :?>
- <?php echo JHtml::_('content.prepare', $this->state->params->get('tag_list_description'), '', 'com_tags.tag'); ?>
+ <?php if ($this->params->get('tag_list_description', '') > '') :?>
+ <?php echo JHtml::_('content.prepare', $this->params->get('tag_list_description'), '', 'com_tags.tag'); ?>
<?php endif; ?>
<?php endif; ?>
-<?php echo $this->loadTemplate('item'); ?>
-</div>
+<?php echo $this->loadTemplate('items'); ?>
View
233 components/com_tags/views/tag/tmpl/list.xml
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="UTF-8"?>
+<?xml version="1.0" encoding="utf-8"?>
<metadata>
<layout title="com_tags_tag_view_list_compact_title" option="com_tags_tag_view_list_compact_option">
<help
@@ -13,40 +13,45 @@
<fields name="request">
<fieldset name="request">
- <field name="id" type="tag" custom="deny"
- description="COM_TAGS_FIELD_SELECT_TAG_DESC"
+ <field
+ name="id"
+ type="tag"
label="COM_TAGS_FIELD_TAG_LABEL"
+ description="COM_TAGS_FIELD_SELECT_TAG_DESC"
+ custom="deny"
required="true"
multiple="true"
/>
- <field name="types" type="contenttype"
- description="COM_TAGS_FIELD_TYPE_DESC"
+
+ <field
+ name="types"
+ type="contenttype"
label="COM_TAGS_FIELD_TYPE_LABEL"
+ description="COM_TAGS_FIELD_TYPE_DESC"
multiple="true"
/>
- <field name="tag_list_language_filter"
+
+ <field
+ name="tag_list_language_filter"
type="contentlanguage"
- default=""
label="COM_TAGS_FIELD_LANGUAGE_FILTER_LABEL"
- description="COM_TAGS_FIELD_LANGUAGE_FILTER_DESC">
+ description="COM_TAGS_FIELD_LANGUAGE_FILTER_DESC"
+ default=""
+ >
<option value="">JGLOBAL_USE_GLOBAL</option>
<option value="all">JALL</option>
<option value="current_language">JCURRENT</option>
</field>
+
</fieldset>
</fields>
<!-- Add fields to the parameters object for the layout. -->
-<fields name="params">
- <fieldset name="basic" label="COM_TAGS_OPTIONS">
- <field name="return_any_or_all" type="list"
- label="COM_TAGS_SEARCH_TYPE_LABEL"
- description="COM_TAGS_SEARCH_TYPE_DESC"
- >
- <option value="">JGLOBAL_USE_GLOBAL</option>
- <option value="0">COM_TAGS_ALL</option>
- <option value="1">COM_TAGS_ANY</option>
- </field>
- <field name="show_tag_title" type="list"
+ <fields name="params">
+ <fieldset name="basic" label="COM_TAGS_OPTIONS">
+
+ <field
+ name="show_tag_title"
+ type="list"
label="COM_TAGS_SHOW_TAG_TITLE_LABEL"
description="COM_TAGS_SHOW_TAG_TITLE_DESC"
>
@@ -55,56 +60,64 @@
<option value="1">JSHOW</option>
</field>
- <field name="tag_list_show_tag_image" type="list"
- description="COM_TAGS_SHOW_TAG_IMAGE_DESC"
+ <field
+ name="tag_list_show_tag_image"
+ type="list"
label="COM_TAGS_SHOW_TAG_IMAGE_LABEL"
+ description="COM_TAGS_SHOW_TAG_IMAGE_DESC"
>
<option value="">JGLOBAL_USE_GLOBAL</option>
<option value="0">JHIDE</option>
<option value="1">JSHOW</option>
</field>
- <field name="tag_list_show_tag_description" type="list"
- description="COM_TAGS_SHOW_TAG_DESCRIPTION_DESC"
+ <field
+ name="tag_list_show_tag_description"
+ type="list"
label="COM_TAGS_SHOW_TAG_DESCRIPTION_LABEL"
+ description="COM_TAGS_SHOW_TAG_DESCRIPTION_DESC"
>
<option value="">JGLOBAL_USE_GLOBAL</option>
<option value="0">JHIDE</option>
<option value="1">JSHOW</option>
</field>
- <field name="tag_list_image" type="media"
- description="COM_TAGS_TAG_LIST_MEDIA_DESC"
+
+ <field
+ name="tag_list_image"
+ type="media"
label="COM_TAGS_TAG_LIST_MEDIA_LABEL"
+ description="COM_TAGS_TAG_LIST_MEDIA_DESC"
/>
- <field name="tag_list_description" type="textarea"
- description="COM_TAGS_TAG_LIST_DESCRIPTION_DESC"
- label="COM_TAGS_SHOW_TAG_LIST_DESCRIPTION_LABEL"
+
+ <field
+ name="tag_list_description"
+ type="textarea"
class="inputbox"
- rows="3" cols="30" filter="safehtml"
+ label="COM_TAGS_SHOW_TAG_LIST_DESCRIPTION_LABEL"
+ description="COM_TAGS_TAG_LIST_DESCRIPTION_DESC"
+ rows="3"
+ cols="30"
+ filter="safehtml"
/>
- <field name="show_tag_num_items" type="list"
+ <field
+ name="show_tag_num_items"
+ type="list"
label="COM_TAGS_NUMBER_TAG_ITEMS_LABEL"
description="COM_TAGS_NUMBER_TAG_ITEMS_DESC"
>
<option value="">JGLOBAL_USE_GLOBAL</option>
<option value="0">JHIDE</option>
<option value="1">JSHOW</option>
</field>
- <field
- name="maximum"
- type="text"
- default="200"
- filter="integer"
- label="COM_TAGS_LIST_MAX_LABEL"
- description="COM_TAGS_LIST_MAX_DESC">
- </field>
- <field name="tag_list_orderby"
+ <field
+ name="tag_list_orderby"
type="list"
- default="title"
label="JGLOBAL_FIELD_FIELD_ORDERING_LABEL"
- description="JGLOBAL_FIELD_FIELD_ORDERING_DESC">
+ description="JGLOBAL_FIELD_FIELD_ORDERING_DESC"
+ default=""
+ >
<option value="">JGLOBAL_USE_GLOBAL</option>
<option value="title">JGLOBAL_TITLE</option>
<option value="match_count">COM_TAGS_MATCH_COUNT</option>
@@ -113,69 +126,108 @@
<option value="publish_up">JGLOBAL_PUBLISHED_DATE</option>
</field>
- <field name="tag_list_orderby_direction" type="list"
- description="JGLOBAL_ORDER_DIRECTION_DESC"
+ <field
+ name="tag_list_orderby_direction"
+ type="list"
label="JGLOBAL_ORDER_DIRECTION_LABEL"
- default="ASC"
+ description="JGLOBAL_ORDER_DIRECTION_DESC"
>
<option value="">JGLOBAL_USE_GLOBAL</option>
<option value="ASC">JGLOBAL_ORDER_ASCENDING</option>
<option value="DESC">JGLOBAL_ORDER_DESCENDING</option>
</field>
- <field name="include_children" type="list"
- description="COM_TAGS_INCLUDE_CHILDREN_DESC"
- label="COM_TAGS_INCLUDE_CHILDREN_LABEL"
- default="1"
+
+ </fieldset>
+
+ <fieldset name="advanced" label="JGLOBAL_LIST_LAYOUT_OPTIONS">
+
+ <field
+ name="spacer2"
+ type="spacer"
+ class="text"
+ label="COM_TAGS_SUBSLIDER_DRILL_TAG_LIST_LABEL"
+ />
+
+ <field
+ name="tag_list_show_item_image"
+ type="list"
+ label="COM_TAGS_TAG_LIST_SHOW_ITEM_IMAGE_LABEL"
+ description="COM_TAGS_TAG_LIST_SHOW_ITEM_IMAGE_DESC"
>
<option value="">JGLOBAL_USE_GLOBAL</option>
- <option value="0">COM_TAGS_EXCLUDE</option>
- <option value="1">COM_TAGS_INCLUDE</option>
+ <option value="0">JHIDE</option>
+ <option value="1">JSHOW</option>
</field>
- </fieldset>
- <fieldset name="advanced" label="JGLOBAL_LIST_LAYOUT_OPTIONS">
- <field name="spacer2" type="spacer" class="text"