How show error message?

General questions relating to Joomla! 2.5. Note: All 1.6 and 1.7 releases have reached end of life and should be updated to 2.5. There are other boards for more specific help on Joomla! features and extensions.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Danne V
Joomla! Intern
Joomla! Intern
Posts: 65
Joined: Wed Apr 19, 2006 4:24 am
Location: Karlstad, Sweden

How show error message?

Postby Danne V » Fri May 25, 2012 10:02 pm

Here's the situation:

Have Contacts restricted to registered only. On one page, I have a link to a contact in the Contacts.
If I'm logged in and click it, it shows up nicely. If I'm NOT logged in, I get the entire page with navbars, etc, but otherwise just empty.
How can I add some kind of error message like "You need to be a registered member and logged in to view this page"?
Last edited by humvee on Mon May 28, 2012 7:04 am, edited 1 time in total.
Reason: Marked as resolved
Just another grumpy old fart, trying to make ends meet....
----------------------------------
http://www.proformica.com

Danne V
Joomla! Intern
Joomla! Intern
Posts: 65
Joined: Wed Apr 19, 2006 4:24 am
Location: Karlstad, Sweden

Re: How show error message?

Postby Danne V » Mon May 28, 2012 6:50 am

Solved: I didn't have <jdoc:include type="message" /> in the template's index......
Just another grumpy old fart, trying to make ends meet....
----------------------------------
http://www.proformica.com


Return to “General Questions/New to Joomla! 2.5”

Who is online

Users browsing this forum: No registered users and 6 guests