The attached add-on files may be out of date. Please visit Devot-ee for the latest versions.
For use to build easily menus, contents and previous/next linking.
PARAMETERS (All optional) :
1) category - category id. “|” “not”, “&” supported.
2) weblog - weblog name. “|”, “not” supported. You also can use weblog ids instead of weblog names as the values of this parameter; you can even mix weblog names and weblog ids.
3) entry_series - allows you to specify pipe delimited series of
entry ids, e.g. entry_series=“78|95|54|22|156”. Entries will be outputted exactly
in the same order.
At least one out of “category”, “weblog”, “entry_series” parameters must be defined.
4) status
5) entry_id
6) sort - “asc” or “desc”.
7)orderby “date” or “title”. Default “date”.
8) site - site id. “|”, “not” supported.
9) per_page - how many items should be displayed on page. This parameter should not be confused with “limit” parameter.
10) limit - number of entries to be displayed. If “sort_separately” parameter has the value “weblogs” or “entries”, then the value of “limit” parameter applies to each weblog or category separately. “limit” parameter specifies how many items should be displayed at all, that is on all pages if there will be pagination.
11) date_format - ExpressionEngine’s date formatting code.
12) date_localize - specify if the date should be localized. Possible values - “yes” and “no”. Default “no”.
13) invalid_input - accepts two values: “alert” and “silence”. Default is “silence”.
14) aliases_only - accepts two values: “yes” and “no”. Default is “no”. If the value is “yes”, then variables {title}, {url_title}, {category_name} and {weblog_short_name} will not be parsed by the plugin; only their aliases will be parsed. If the value is “no”, then both variables {title}, {url_title} and {category_name} and their aliases
will be parsed. Set this parameter to “no” and use only aliases if you include {exp:entries_list} tag inside some other tag (e.g exp:weblog:entries) which parses these variables.
15) on_failure - what exp:entries_list tag should output in case no entry was found. If you set some string as the value of this parameter,then that string will be outputted. If you set “tagdata” as the value of this parameter, then the tag will output unmodified tagdata.
16) sort_separately - accepts two values: “weblogs” and “categories”. If the value is “weblogs”, then entries will be sorted for each weblog separately; if the value is “categories”, then entries will be sorted for each category separately.
This parameter having the value “weblogs” has the effect only if “weblog” parameter value is without “not” operator and has at least one pipe character. This parameter having the value “categories” has the effect only if “category” parameter value is without “not” operator and has at least one pipe character.
17) count_start_on - for use together with “sort_separately” parameter. It allows to specify which weblog or category counting should start from. You can use pipe character to stack several weblog short names or several category id numbers.
18) count_stop_before - for use together with “sort_separately” parameter. In case the latter has the value “weblogs”, it allows you to specify which weblog counting should stop before. You can use pipe character to stack several weblog short names or several category id numbers.
19) max_links - how many pagination links should be displayed. Default value is “2”.
VARIABLES:
1) entries_list_weblog_id
2) weblog_name
3) weblog_short_name - has alias {entries_list_weblog_short_name}.
4) weblog_url - outputs weblog url as specified in weblog preferences.
5) url_title - has alias {entries_list_url_title}.
6) category_name - has alias {entries_list_category_name}.
7) category_url_title - has alias {entries_list_category_url_title}.
8) title - has alias {entries_list_title}.
9) entry_id - has alias {entries_list_entry_id}.
10) entries_list_status
11) entry_date - has alias {entries_list_entry_date}. Can have “date_format” parameter.
12) entries_list_total_results
13) entries_list_count
14) entries_list_absolute_count
15) entries_list_separate_count
16) entries_list_weblog_count
17) entries_list_category_count
18) entries_list_entry_series_count
19) next_entry_id
20) next_entry_title
21) next_entry_url_title
22) next_entry_weblog_url
23) next_entry_weblog_name
24) next_entry_weblog_id
25) next_entry_weblog_shortname
26) next_entry_date - can have “date_format” parameter.
27) next_entry_weblog_count
28) next_entry_category_count
29) next_entry_entry_series_count
30) previous_entry_id
31) previous_entry_title
32) previous_entry_url_title
33) previous_entry_weblog_url
34) previous_entry_weblog_name
35) previous_entry_weblog_id
36) previous_entry_weblog_shortname
37) previous_entry_date - can have “date_format” parameter.
38) previous_entry_weblog_count
39) previous_entry_category_count
40) previous_entry_entry_series_count
41) entries_list_weblog_count_total
42) entries_list_category_count_total
43) entries_list_entry_series_count_total
44) entries_list_sort_separately_iteration
VARIABLE PAIRS
1) {entries_list_area}{/entries_list_area}
2) {entries_list_paginate_top}{/entries_list_paginate_top}
3) {entries_list_paginate_bottom}{/entries_list_paginate_bottom}
Variables available for use within last two variable pairs are:
1) entries_list_current_page
2) entries_list_total_pages
3) entries_list_pagination_links
EXAMPLE OF USAGE:
{exp:entries_list category="6" weblog="not weblog1|weblog4" sort="asc" site="1"}
{entries_list_paginate_top}{if entries_list_pagination_links != ""}Page {entries_list_current_page} of {entries_list_total_pages} pages {entries_list_pagination_links}{/if}{/entries_list_paginate_top}
{if weblog_short_name!="weblog3"}
<a >{title}</a><br>
{if:else}
<a >{category_name}: {title}</a><br>
{/if}
{/exp:entries_list}
