Forum Support

Shape 5
March 29, 2024, 03:24:56 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Shape 5 Forum
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Creating a splash-login/register page.  (Read 383 times)
mikiah
Jr. Member
**
Offline Offline

Posts: 18



« on: 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. Smiley

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.
Logged
jonahh
Administrator
*****
Offline Offline

Posts: 23789



WWW
« Reply #1 on: 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 } ?>   
Logged

Jonah Hall
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Looking for the largest variety in template designs? Look no more. Never buy 1 theme again. Signups start at just $89 for access to all of our themes.
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.