Our EE Addons have Moved!
Our ExpressionEngine Add-ons have been acquired by EE Harbor. Head over there for documentation, info and support.
Our ExpressionEngine Add-ons have been acquired by EE Harbor. Head over there for documentation, info and support.
Using Shortlist consists of two parts :
Briefly :
There are two options for adding an item to a list. The simplest is to use the direct single tag {exp:shortlist:add}. Usage is like this :
{exp:shortlist:add entry_id="10"}
Which returns a url similar to :
http://site.url/?ACT=12&p=YTo2Ont …
There are some requirements to using the add tag. View the full add tag details.
A more flexible option way to add items is via the {exp:shortlist:item} loop. The item loop also allows you to see if the user already has the item in their list so you can change the output as required. View the full item tag details.
The basic list tag is {exp:shortlist:view}. Basic usage is :
{exp:shortlist:view} {title}, {entry_id} {/exp:shortlist:view}
The :view tag loop can do a lot more than the most basic usage above. For full details, and how to handle external content see the full view tag details.
Shortlist also allows you to share and clone lists, handle external content seamlessly and perform every action via ajax with json callbacks. See how to do all this with the provided Examples.