Usage

Using Shortlist consists of two parts :

  1. Adding items to a list
  2. Displaying items from a list

Briefly :

1. Adding items to a list

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.

2. Displaying items from a list

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.

Going Further

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.