All Low add-ons are now owned by EEHarbor. Read the blog post.

Support archive

excluding collections

Marco Godles 5 Sep 2014 13:12 question, complete

Hi!
Im trying to exclude certain collections that can be only accessed if your logged in. is there an exclude collections tag or something similar? I have about 20 collections, and only want 2 hidden unless your logged in.

Replies

  1. Low 6 Sep 2014 09:26

    You could try and set a hidden input field in the form and use {if logged_in} conditionals to populate its value.

    If you want to set the parameter value on the Results tag, you'd have to approach it in the same way you would a channel:entries tag. For example, use preload replace vars and (simpe) conditionals to set the collection param value.