Joomla 1.6 Help – I was asked – How to redirect a Joomla login group to an article not available via the menu pages, ie a secret area, not available in the menu? This literally means that you want to display an article that is only available to registered users.
I just noticed the commenter mentioned that there is no where to put a direct URL link. Actually there is, in the Login Menu item screen, the option ‘Login Redirect’ is where you can put a direct URL link. But the link has to be an internal link to your website.
Above is the quick answer, but if you want to know how to get there, below I will show you the steps on how to create a hidden article and how to add it as a redirect link for your registered users.
For example:
- I have login group – Registered
- I have article = Registered Group Welcome Page
- I want Registered logged in users to see the ‘Registered Group Welcome Page’ article after they log in
Overview on How to Redirect users to their Hidden Article:
1. Create a category for articles only available to Registered users named ‘Registered Category” – Category Manager
2. Create an article only available to Registered named ‘ Welcome Page’ – Content Manager
3. Create a Hidden Menu, for example named ‘Hidden Menu’ – Menu Manager
4. Create a ‘Single Article’ Menu item in that Hidden Menu, for example named ‘Welcome Menu’ – Menu Manager
5. Write down what the link is to the ‘Welcome Menu’ menu item.
6. Paste link in the login redirect menu item page – Menu Manager
Steps: How to Redirect users to Hidden Article: -Steps are using the example above. Replace the wording in italics with your own information related to your site.
1. Create Category in Category Manager
- Login to Joomla 1.6 Administrator panel
- Click on ‘Content’, ‘Category Manager’, ‘Add New Category’
- In the Details, set he following values:
- Title = Registered Category
- Parent = No Parent
- Access = Registered
- Click on ‘Save & Close’
2. Create Article in Article Manager
- Click on ‘Content’ , ‘Article Manager’, ‘Add New Article’
- In the New Article settings, set the following values:
- Title = Welcome Page
- Category = Registered Category
- Access = Registered
- In the Description area, type in your article or whatever you want to say users once they log in.
- Click on ‘Save & Close’
3. Create Hidden Menu in Menu Manager
- Click on ‘Menus’, ‘Add New Menu’
- In Menu Details, enter the following values:
- Title = Hidden Menu
- = hiddenmenu
- Click on ‘Save & Close’
4. Create Single Article Menu Item in Menu Manager
- Click on ‘Menus’, ‘Hidden Menu‘, ‘Add New Menu Item’
- In the Menu item details, enter the following values:
- Menu Item Type – Click on Select and choose = Single Article
- Menu Title = Welcome Menu
- Alias = welcomemenu
- Status = Published
- Access = Registered
- Menu Location = Hidden Menu
- In Required Settings, click on ‘Select/Change’
- Select Article – Click on ‘Select/Change’ and choose = Welcome Page
- Click on ‘Save & Close’
5. What is the Link to the Menu Item
- Your login screen will redirect users to the menu item. So you will need to find out – what is the link to the menu item.
- See the alias you created in Step 4 – alias = welcomemenu
- For example, my Joomla site is http://www.cmsmind.com, your link to the menu item will be ‘http://www.cmsmind.com/welcomemenu
6. Add redirect link to Login Menu Item in Menu Manager
- Click on ‘Menus’,’Main Menu’ (or menu where you put your login menu item)
- Edit the ‘Login’ menu item
- In Basic options, set the following values:
- Login Redirect = http://www.cmsmind.com/welcomemenu
- Click on ‘Save & Close’
AND…that’s it! Super long post but I hope it helps you. There are numerous ways to do this, you can also choose to use a category blog layout and show multiple articles in the ‘Registered Category’ when users login. You can also chose not to use a menu all together and just link directly to that article if you know the link to it.
Thanks,
Elaine@cmsmind.com
Nice and useful article. I was searching for a way to do exactly that.
Im wondering if we can do the same to create a “user private area”, that is, a page where the user can have a menu or a page that alow him to changer his profile settings like, password, email, adress, etc.
Thanks,
PeterN
Hi Elaine,
Been searching for directions on how to do this for months. Excellent and easy to follow. Thanks so much for doing this.
Sharon
Dear Elaine,
Congratulations for the very detailed and successful description of this very useful information!
Kind Regards,
Dimitris