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