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.
Locked
Danne V
Joomla! Intern
Joomla! Intern
Posts: 82
Joined: Wed Apr 19, 2006 4:24 am
Location: Karlstad, Sweden

How show error message?

Post by 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....

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

Re: How show error message?

Post by 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....


Locked

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