Would be possible to have the login access out of homepage? I'd like the people got the access to the content of homepage only after they logged in.
i know you can do it by the user administration, but it's not direct you have to click again on the button for go on the homepage and also i'd like the people don't see the admin page, just console admin login and go to the homepage
thanks and bye
I know this might be a little late for this reply.
I just did this today. It wasn't that bad to do.
I had to "hack" aka edit the index.php file
I edited the section
$tpl = new PMF_Template(array('index' => 'index.tpl',
'loginBox' => $login_tpl,
'rightBox' => $right_tpl,
'writeContent' => $inc_tpl),
$faqconfig->get('main.templateSet'));
to be
if (isset($auth)) {
$tpl = new PMF_Template(array('index' => 'index.tpl',
'loginBox' => $login_tpl,
'rightBox' => $right_tpl,
'writeContent' => $inc_tpl),
$faqconfig->get('main.templateSet'));
}
else {
$tpl = new PMF_Template(array('index' => 'indexmustlogin.tpl',
'loginBox' => $login_tpl,
'rightBox' => $right_tpl,
'writeContent' => $inc_tpl),
$faqconfig->get('main.templateSet'));
}
and made a new tpl file called "indexmustlogin.tpl" in our template directory.
with the below code as most of teh mainbody
<div class="columns">
<div class="leftcolumn">
<h2 class="invisible">Navigation</h2>
<div class="content">
<div id="categories">