1. daweser
  2. Free Templates / Extensions
  3. Thursday, 29 November 2012
  4.  Subscribe via email
When you select an Article to be registered, the default message on the page before logging in is rather harsh with the red imposing banner: "You are not authorized to view this resource."

Is there a way to edit it to something more inviting like "Please log-in to view this page."

I know that you can add Pre text in the Module Manager, but the red banner is like a matador red cape in front of a bull!
Accepted Answer Pending Moderation
0
Votes
Undo
You can edit the default Joomla error warning colors by adding the following to the Custom CSS field of your templates parameters...

[code type=css]#system-message > .error > ul {
background-color: #E6C0C0;
border-color: #DE7A7B;
color: #FFFFFF;
}[/code]
.. where #FFFFFF is your text color, #E6C0C0 your background and #DE7A7B your border. Edit these to your own taste.

Ciarán
  1. more than a month ago
  2. Free Templates / Extensions
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
What about editing the default warning itself?
  1. more than a month ago
  2. Free Templates / Extensions
  3. # 2
Accepted Answer Pending Moderation
0
Votes
Undo
As in editing the actual warning text or the original CSS styling the warning?

Ciarán
  1. more than a month ago
  2. Free Templates / Extensions
  3. # 3
Accepted Answer Pending Moderation
0
Votes
Undo
Editing the text in the warning to say something like: Please login to view this resource.
  1. more than a month ago
  2. Free Templates / Extensions
  3. # 4
Accepted Answer Pending Moderation
0
Votes
Undo
You will find error messages like this stored in Joomlas language files. Try editing the folloiwng in ../language/xx-XX/xx-XX.com_content.ini (LINE 21).

COM_CONTENT_ERROR_LOGIN_TO_VIEW_ARTICLE="Please login to view the article"

Ciarán
  1. more than a month ago
  2. Free Templates / Extensions
  3. # 5
Accepted Answer Pending Moderation
0
Votes
Undo
ciaran

Any idea where in Joomla I might find that code?
  1. more than a month ago
  2. Free Templates / Extensions
  3. # 6
Accepted Answer Pending Moderation
0
Votes
Undo
Try editing the folloiwng in ../language/xx-XX/xx-XX.com_content.ini (LINE 21).

You will need FTP access to the root of your Joomla installation to access your langauges folder.

Ciarán
  1. more than a month ago
  2. Free Templates / Extensions
  3. # 7
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!

Join Our Newsletter

* indicates required
We respect your privacy and do not tolerate spam and will never sell, rent, lease or give away your information (name, email, number, etc.) to any third party. Nor will we send you unsolicited email.
Joomla51 - Mullaghmore, Co. Sligo, Ireland
Joomla51.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by
Open Source Matters
the trademark holder in the United States and other countries.

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.

Ok