0
Welcome Guest! Login
0 items Join Now

How to make frontpage/homepage into login screen!

  • How to make frontpage/homepage into login screen!

    Posted 16 years 3 months ago
    • Hey Rocket Theme!
      I was hoping to figure out how to make the first screen people arrive at inaccessible until they login.
      I would like the homepage/frontpage to just be the login/register component.

      How would I do this?
    • Rocket Theme Rokker
      Joomla! Roks
      I Rokk
      U Rokk
  • Re: How to make frontpage/homepage into login screen!

    Posted 16 years 3 months ago
    • Also why it says you are not authorized to view this resource on the following url

      index.php?option=com_comprofiler&task=login
    • Rocket Theme Rokker
      Joomla! Roks
      I Rokk
      U Rokk
  • Re: How to make frontpage/homepage into login screen!

    Posted 16 years 3 months ago
    • This is starting to suck.
      No one ever helps here.
    • The following users have thanked you: Matthew Johnson

    • Rocket Theme Rokker
      Joomla! Roks
      I Rokk
      U Rokk
    • Yves's Avatar
    • Yves
    • Preeminent Rocketeer
    • Posts: 9214
    • Thanks: 5

    Re: How to make frontpage/homepage into login screen!

    Posted 16 years 3 months ago
    • Christos DiCos wrote:
      No one ever helps here.

      LOL
    • The following users have thanked you: Matthew Johnson

    • Yves
    • matt.h's Avatar
    • matt.h
    • Sr. Rocketeer
    • Posts: 131
    • Thanks: 0

    Re: How to make frontpage/homepage into login screen!

    Posted 16 years 3 months ago
    • if (!$my->id) {
         //insert code here to display to all non-logged in users
      &nbsp; <?php mosLoadModules('user9',-2); ?>
      }
      The code above will load the module position 'user9'. Publish the login module in user9. When your user comes to the site they will see the login module. Once the login they will see the code below.
      if ( $my->id ) {
      &nbsp; &nbsp;//insert code here to display to all logged in users
      &nbsp; //normal template code can go here
      }
    • Matt H
      NinjaForge.com Open Source Joomla Extensions!
  • Re: How to make frontpage/homepage into login screen!

    Posted 16 years 3 months ago
    • Thanks For An Answer.
      I really do apreciate it.
      I don't really understand it.

      I only want a login module to show nothing else.
      No other modules no other menus no other content just a login page as the homepage/frontpage.
      Kinda like how /administrator is but for the frontend.
    • Rocket Theme Rokker
      Joomla! Roks
      I Rokk
      U Rokk
  • Re: How to make frontpage/homepage into login screen!

    Posted 16 years 3 months ago
    • Yves wrote:
      LOL

      HMM 98 Views and 0 Replys Not A Good Ratio.
    • Last Edit: 16 years 3 months ago by Christos DiCos.
    • The following users have thanked you: Matthew Johnson

    • Rocket Theme Rokker
      Joomla! Roks
      I Rokk
      U Rokk
    • matt.h's Avatar
    • matt.h
    • Sr. Rocketeer
    • Posts: 131
    • Thanks: 0

    Re: How to make frontpage/homepage into login screen!

    Posted 16 years 3 months ago
    • What I showed you above will do that. What template are you using? Email me the index.php file you are using and I will set it up for you. My email is matt.33(at)telus(dot)net
    • Matt H
      NinjaForge.com Open Source Joomla Extensions!
  • Re: How to make frontpage/homepage into login screen!

    Posted 16 years 3 months ago
    • matt.hayashida wrote:
      What I showed you above will do that. What template are you using? Email me the index.php file you are using and I will set it up for you. My email is matt.33(at)telus(dot)net
      OMG Thank You So Much!!!
      I'm Using jw_inetgazette
      and I just sent you the index.php!
    • Rocket Theme Rokker
      Joomla! Roks
      I Rokk
      U Rokk
    • John Hodgkinson's Avatar
    • John Hodgkinson
    • Hero Rocketeer
    • Posts: 421
    • Thanks: 0
    • Retired, but build and run websites for organisations of school leaders and others - e.g. http://www.icponline.org, http://www.aspa.asn.au, http://www.appa.asn.au

    Re: How to make frontpage/homepage into login screen!

    Posted 16 years 3 months ago
    • Christos DiCos wrote:
      Yves wrote:
      LOL

      HMM 98 Views and 0 Replys Not A Good Ratio.

      You are assuming that I, as a viewer, know the answer. I often read threads in which I don't know the answer, but I'd like to find out so that I can help others in the future.

      I'm glad that you have finally found the help that you seek. :)

Time to create page: 0.060 seconds