Erki Laansalu
Clients
-
Joined
-
Last visited
Solutions
-
Erki Laansalu's post in Custom Home Page documentation and best practices for referral system was marked as the answerFor people who might have a similar need in the future. Our solution was to use code
{{if \IPS\Member::loggedIn()->member_id && !\IPS\Member::loggedIn()->inGroup([11])}}
{{\IPS\Output::i()->redirect( \IPS\Http\Url::internal( 'app=forums&module=forums&controller=index' ) );}}
{{else}}
Sample text
{{endif}}
Which in essence shows one home page for logged in account and other custom home page to guests and other member groups.
Both guest version and for logged in accounts home page can be edited thorugh invision community page editor.