Tagger Lite
Contents
- Installation Instructions
- Primary Template Tag
- Parameters
- Variables
- Conditionals
- Tag Cloud
- Quick Tags
Installation For ExpressionEngine 1.6.8
- Copy ext.tagger_ext.php to your /system/extensions/ folder.
- Copy lang.tagger.php to your /system/language/english/ folder.
- Copy the folder tagger to your /system/modules/ folder.
- Copy the devdemon_themes folder to your /themes/ folder.
Installation For ExpressionEngine 2.x
- Copy tagger to your /system/expressionengine/third_party/ folder.
- Copy the devdemon_themes folder to your /themes/ folder.
Primary Template Tag
{exp:tagger:tags}
Tag Parameters
entry_id=""
url_title=""
weblog="" // Only works in conjunction with url_title
weblog_id="" // Only works in conjunction with url_title
orderby="" // Options: tag_name, entry_date, hits, total_entries, order -- Default = order
sort="" // Options: asc,desc -- Default = asc
limit="" // Default = 30
backspace="" // Default = 0
prefix=""
Special Note: Different variables and conditionals exist for ExpressionEngine 2.x. Please verify below that you are looking at the correct documentation for the version of ExpressionEngine you are using.
Variables
{tag_name}
{urlsafe_tagname}
{total_hits}
{total_items}
{count}
{total_tags}
Conditionals
{if no_tags} {/if}
Tag Cloud Creation
{exp:tagger:cloud}
Tag Cloud Parameters
rankby="" // Options: entries/hits -- Default = entries
max_size="" // Default = 32
min_size="" // Default = 12
orderby="" // Options: tag_name, entry_date, hits, total_entries, random -- Default = total_entries
sort="" // Options: asc,desc -- Default = desc
limit="" // Default = 30
backspace="" // Default = 0
prefix="" // In EE 2.x prefix="tagger" is set by default
Tag Cloud Variables
{tag_name}
{urlsafe_tagname}
{size}
{total_items}
{count}
Tag Cloud Conditionals
{if no_tags} {/if}
Tax Cloud Example
{exp:tagger:cloud limit="100" backspace="1" min_size="13" max_size="26" prefix="tags"}
<a href="/tag/{tags:urlsafe_tagname}/" title="{tags:tag_name}" style="font-size:{tags:size}px">{tags:tag_name}</a>
{/exp:tagger:cloud}
Quick Tag List
Generates a list of entry_id's (seperated by a |), associated with the specified tag.
{exp:tagger:entries_quick}
Quick Tag List Parameters
tag=""
prefix="" // In EE 2.x prefix="tagger" is set by default
limit="" // Default = 50
Quick Tag List Variables
{entry_ids}
{tag_name}
Quick Tag List Conditionals
{if no_items} {/if}
Quick Tag Example
{exp:tagger:entries_quick tag="{segment_3}"}
{exp:weblog:entries entry_id="{entry_ids}"}
<h4>{title}</h4>
{/exp:weblog:entries}
{/exp:tagger:entries_quick}
