Questions and Answers

How do I collect points?

  • +4
    Chosen as best answer
  • +1
    Posted answer
  • +1
    Posted question
  • +1
    Thumb up
  • -1
    Thumb down
2

by Jay in General about December 11, 2014 open - report

Make website members-only

Is there a way to disable access to all pages, except for members? I've found settings for each plugin separately. But even when I set it to "Members Only" it is still possible to access groups and events.

Answers: 2  •  Score 0  •  Views: 1190

2 Answers
Browse by
  • 1

    by Ferry van den Brand about February 1, 2015

    Modify the file application/modules/Core/widgets/menu-main/index.tpl 

    and write the following instead of the code you'll find in the original.

    <?php if( $this->viewer()->getIdentity() ):
    echo $this->navigation()
    ->menu()
    ->setContainer($this->navigation)
    ->setPartial(null)
    ->render(); ?>


    <?php endif; ?>
    • Score: 0
  • 263

    by Gaurav Sharma about December 11, 2014

    Hey 

     

    Check the member level setting of event/group(admin/event/settings/level/id/5)

    select the public member level and disbale the viewing of pages. Hopefully it will be helpful. 

    • Score: 0
You must login to post an answer.