Shape 5

Joomla Templates => eTensity - May 08 - Club => : mikiah October 23, 2009, 09:43:42 PM



: Creating a splash-login/register page.
: mikiah October 23, 2009, 09:43:42 PM
I'm trying to create a members only site. When someone first lands on the site I want it to display a log in and request registration page.

So what I've done is actually installed a 3rd copy of the etensity dark template, I then created a new front page menu item, named it "splash" and assigned this third install to it, and restricted the original one to registered members only. I then published the log in module to this new menu and it is showing up on my quazi splash/login page.

All is good in joomla template land except for a couple things.

1) The template comes stock with that little house symbol in the menu bar. (even though I've disabled the menu in the 3rd template install) so if someone clicks on it it takes them to what seems to be a new default registration page. How can I crush that little house into oblivion? Or just getting rid of it will work too. :)

2) When I created the new menu with the word "splash" it obviously shows up in the menu when they click through to register.  I figured I could just make the new registration page show up in the new template install so the menu wouldn't show, but I can't for the death of me figure out where the heck that registration page is. Am I going about this all wrong? How can I make this work?

Thank you- off to drink heavily by myself.


: Re: Creating a splash-login/register page.
: jonahh October 26, 2009, 12:19:01 PM
Hello,

To answer your questions:

1.)  Look for the following in your index.php file of the splash template:

<div id="s5_homeicon" style="cursor:pointer;" onclick="window.document.location.href='<?php echo $this->baseurl ?>'"></div>

you can either remove this DIV completely or just remove the onclick function.

2.) The following may also be useful, you can wrap this around anything in the index.php file you don't want to show until the user is logged in.

<?php  if ( $my->id ) { } else {?>

      content to show when logged in.

   <?php } ?>