2

{if author_id == logged_in_member_id OR logged_in_group_id == "1"} Edit This Page ⇑{/if}

I have added a second logged in group id "6" However, when I change this from 'logged_in_group_id == "1"' to 'logged_in_group_id == "1|6"'

it don't work…

how do I make this so both id == "1" and id == "6" can login?

4

Adding another OR should work:

{if author_id == logged_in_member_id OR 
    logged_in_group_id == "1" OR  
    logged_in_group_id == "6"
} 
    Edit This Page ⇑
{/if}
  • Thank you @Siebird! I'd posted from my phone and there aren't formatting options. – Anna_MediaGirl Dec 18 '13 at 16:54

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.