0
Welcome Guest! Login
0 items Join Now

Two Frontpages, Public and Registered

  • Two Frontpages, Public and Registered

    Posted 16 years 10 months ago
    • I am getting really frustrated trying to create a frontpage for the general user (Public) and another one for when a person Registers. It seems to me that there should be two options for the Frontpage with two different pages depending on the users status. How do you create a frontpage using Chromatophore, which is my main template, where the code being presented depends on whether the person is logged in or just the general public? Is there code or other options that I can use to create two different frontpages, depending on whether the person is logged in or not? Maybe an if else statement that determines the status of the person?

      I am using Joomla 1.5. I can get close by pointing to two different menus, after login and logout, but these stay visible on the menu screen, which is not practical. If the menus would not publish but still be availble for redirection, I could get it to work. Anyone have any ideas how to use Chormoatophore, or for that matter any template, and create two frontpages depending on a users status (public or registered)?

      Steve
    • Aurora's Avatar
    • Aurora
    • Elite Rocketeer
    • Posts: 903
    • Thanks: 0

    Re: Two Frontpages, Public and Registered

    Posted 16 years 9 months ago
    • Steve Overton wrote:
      I am getting really frustrated trying to create a frontpage for the general user (Public) and another one for when a person Registers. It seems to me that there should be two options for the Frontpage with two different pages depending on the users status. How do you create a frontpage using Chromatophore, which is my main template, where the code being presented depends on whether the person is logged in or just the general public? Is there code or other options that I can use to create two different frontpages, depending on whether the person is logged in or not? Maybe an if else statement that determines the status of the person?

      I am using Joomla 1.5. I can get close by pointing to two different menus, after login and logout, but these stay visible on the menu screen, which is not practical. If the menus would not publish but still be availble for redirection, I could get it to work. Anyone have any ideas how to use Chormoatophore, or for that matter any template, and create two frontpages depending on a users status (public or registered)?

      Steve

      what you have to do is make a new menu one potin to the comfrontpage component and another pointing to a static page, what u do is you would have the menu show up only when they register and the public one show up all the time, to do that, the one that show up when registered you would set it to registered only and not public access, then you would basically set up that page with the mods u want on it, like going into the module and select the mainmain u want the mod to show up on, if registered. you can also change the modules to registered or public. u can make copies of the modules to show up on the page u want registered users to see when they login just remember to change to registered and not public
  • Re: Two Frontpages, Public and Registered

    Posted 16 years 9 months ago
    • I tried what you said but it does not work. You can only assign one default page and what you get is both menu items when you sign in registered. I've tried several combinations but you are restricted to one default page and that will show whether signed in or not.

      I created two menus: Home Guest (static page) and Home Registered (frontpage). I assinged one as the default (tried both). When not signed in you get the sign in page both on the left and as the body of the screen when Home Guest. You sign in and you get the Home Guest (static page) and now the Home Registered menu appears. On the mod_login I even tried redirecting login to Home Registered and logout to Home Guest but still will not work as it should.

      I am sure I am doing something wrong, but this should not be that difficult but appears to be. I cannot get it to work.

      Steve Overton
    • GollumX's Avatar
    • GollumX
    • Elite Rocketeer
    • Posts: 2817
    • Thanks: 0

    Re: Two Frontpages, Public and Registered

    Posted 16 years 9 months ago
  • Re: Two Frontpages, Public and Registered

    Posted 16 years 9 months ago
    • I downloaded the "Now You See Me" mod and installed it, enabled it, and followed the instructions for creating two mods (used copy for the second mod) with Registered and Guest. I have two menus, IDs 1 ( Access Level Registered) and 60 (Access Level Public), and set those in each mod: Registered (ID 1) to Registered only and Guest (ID 60) to Guest only. Both menus are Menu Item Type Front Page Blog Layout and both are published.

      When not logged in I get the Guest menu item at the top but the main part of the screen is the log in request instead of the articlle. I am using SignalLogin mod. I can click the Guest menu and the frontpage appears but I would prefer it to appear when first entering URL but it does not. When I log in, I get the Registered menu at the top and the main frontpage as expected. But this worked this way without "Now You See Me". The second problem is that I still have the Guest menu at the top. It appears "Now You See Me" is not working. It is enabled and pointing to the right menus. I can only guess that the free mod does not work with Joomla 1.5.

      Any ideas as to what I might be doing wrong?

      Steve Overton
    • GollumX's Avatar
    • GollumX
    • Elite Rocketeer
    • Posts: 2817
    • Thanks: 0

    Re: Two Frontpages, Public and Registered

    Posted 16 years 9 months ago
    • It is J1.5 native and works fine. The 1.5 version which you installed has been tested by a couple o' hundred people.

      It's been a while since I used it, so can't be sure what you're missing.
      When not logged in I get the Guest menu item at the top but the main part of the screen is the log in request instead of the articlle.
      This suggests that you've probably mis-configured it.

      "Now You See Me" just decides what pages the module you put in it appear on. It doesn't affect the rest of the page.

      You should really ask on the nj forums where the developer can help. Run over and post a screenshot of the module settings.
    • Say no to Internet Explorer 6.
      twitter.com/mark_up
  • Re: Two Frontpages, Public and Registered

    Posted 16 years 9 months ago
    • Will do and thanks for the help.

      Steve Overton

Time to create page: 0.114 seconds