1

I copied the example in the documentation to display

{exp:comment:notification_links}
    {if subscribed}
            <h5><a href="{unsubscribe_link}">Unsubscribe to comment notification for this entry.</a></h5>
    {if:else}
            <h5><a href="{subscribe_link}">Subscribe to comment notification for this entry.</a></h5>
    {/if}
{/exp:comment:notification_links}

However, nothing is outputted.

Is this supposed to be inside a {exp:comment:entries} or {exp:channel:entries} tag?

2

If you're logged out, you shouldn't see anything, so make sure you're logged in. Second, this tag needs to be on a single entry page and it will try to figure out your entry ID by:

  • Checking to see if you used an entry_id= or url_title= parameter on the {exp:comment:notification_links} tag
  • Checking the URI to see if the entry ID shows up there

So, if your entry id or URL title is not in the URI, you should be using the entry_id= or url_title= parameters.

2
  • I did not put in the entry_id parameter because it wasn't really specified in the example. Thanks for clearing that up. – developarvin May 8 '14 at 22:46
  • @arvinsim I'll make sure to clarify that in the documentation. – Wes Baker May 9 '14 at 1:55

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.