Password Module for Expression Engine?

后端 未结 2 639
心在旅途
心在旅途 2021-01-16 20:35

Just wondering if someone could help me approach a clients request.

Is there any modules for expression engine for password protected pages?

I need to set up

2条回答
  •  佛祖请我去吃肉
    2021-01-16 20:42

    Any content in EE can be wrapped in a conditional statement using the logged_in_group_id global variable, so a module isn't really needed.

    So you can have your users fill out a member registration form (I'd recommend the Solspace User module for this), setup to register them into your chosen member group.

    Then, wrap your members-only content like this (use the appropriate ID for your member group):

    {if logged_in_group_id == 6}
        Members-only content here.
    {/if}
    

    Alternately, you could use something like this: http://devot-ee.com/add-ons/entry-access/

提交回复
热议问题