0

We have the following code in our templates,

 {exp:favorites:info
 entry_id="{embed:entry_id}"
 disable_pagination="yes"
 }
 {exp:favorites:edit
 favorite_id="{favorites:favorite_id}"
 return="{embed:return_url}"
 form:style="display:inline;"
 error_page="favorites/ajax_error"
 }

 {favorites:collection}     
 {/exp:favorites:edit}

{/exp:favorites:info}

Which works when we have an add or edit button, but if we want the collection name {favorites:collection} it simply spits out the curly braces:

collection name - curly braces

1
0

Sorry about that. The correct variable name should in fact be {favorites:collection_name} when used with in the Favorites:Info tag. I have updated the documentation now :) http://www.solspace.com/docs/favorites/info/#favorites_collection_name

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.