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.
Note: Check out the new extra options for sharing available in 2.x
Lists can be shared freely. You need to add ways to do two things :
Lists are shared via their {list_id}. To share a list you'd create a similar to :
{exp:shortlist:view} {if count==1} <a href="{site_url}share/{list_id}">Share this list</a> {/if} {/exp:shortlist:view}
Which would result in :
<a href="http://site.url/share/NXfVVO5sihRFsGlC">Share this list</a>
This is very similar to the way to view the current user's list. All you need to do to view a shared list is supply the extra parameter on the :view tag :
{exp:shortlist:view list_id="{segment_3}"} … {/exp:shortlist:view}
In addition to being able to view a list, you can allow other users to use items in the shared list for their own lists. A few additional variables come in handy here :
View full documentation of the tags available in the :view loop
Additionally you can allow a user to clone all them items in a shared list in a single click. Use the {clone_url} within the :view loop to get the url for this link. You can also get the same url using the standalone tag {exp:shortlist:clone_url}
When a list is cloned all the items from the list are added to the current user's list. Any items that are already in the user's list are skipped.