Page 1 of 1

How do I edit a standard system error message?

Posted: Sat Nov 29, 2008 2:00 pm
by mattstahl
I would simply like to shorten the present system error message "Username and password do not match or you do not have an account yet" to prevent a line break in my template. Have looked in all the obvious places and examined forum after forum for answers, but can't seem to locate the file that contains this text. Can one of you 1,000 IQ Joomla "Jeniouses" point me in the right direction? Thank you.

Re: How do I edit a standard system error message?

Posted: Sat Nov 29, 2008 6:15 pm
by infograf768
The string is located in language/en-GB/en-GB.ini

E_LOGIN_AUTHENTICATE=Username and password do not match or you do not have an account yet.

Re: How do I edit a standard system error message?

Posted: Sat Nov 29, 2008 7:28 pm
by mattstahl
Figures its the one file I didn't look at in the language directory. Thank you very much, "Einstein"

Re: How do I edit a standard system error message?

Posted: Mon Apr 27, 2009 8:21 pm
by imcabee
Is it possible to change the color of the error message?

Re: How do I edit a standard system error message?

Posted: Mon Apr 27, 2009 8:53 pm
by ot2sen
imcabee wrote:Is it possible to change the color of the error message?
You can use HTML tags like span in the ini-files.

Take the example above and want to make password show in blue text you could add a span color tag like this:

Code: Select all

E_LOGIN_AUTHENTICATE=Username and <span style="color:#0000CC">password</span> do not match or you do not have an account yet.

Re: How do I edit a standard system error message?

Posted: Wed Apr 29, 2009 4:01 pm
by rhrueda
Hi,

What if I want to redirect the user if the login is incorrect? For example to a custom login error page, or to the login page itself?

Thanks!

Re: How do I edit a standard system error message?

Posted: Wed May 27, 2009 12:26 am
by ems0925
I looked for hours for this, thank you! I have another question that has to do with this. I want to put the error message elsewhere on the site, like in another position. Where would I go to edit the position of the error message? if you go to buckalou.com/layout and put in a user/pass and hit submit, the message comes up, problem is, it's half way down the page and the common user might not think to scroll down, thats why I want to add it further up. Any help with this, would be much appreciated!

Re: How do I edit a standard system error message?

Posted: Wed May 27, 2009 5:49 am
by infograf768
Your template should include

<jdoc:include type="message" />

where you want the message to display.

Re: How do I edit a standard system error message?

Posted: Wed Apr 14, 2010 12:55 am
by jonnyslide
infograf768 wrote:Your template should include

<jdoc:include type="message" />

where you want the message to display.
How would you edit the index.php file if you wanted the error messages to show up on the bottom of the page.

Also, they seem to not want to disapear such as "Your session has expired" however I am still logged in to the restricted area's of my website.

Re: How do I edit a standard system error message?

Posted: Tue May 25, 2010 1:12 pm
by ampz21
To change the position of the messages, you need to edit the css file on your template, not the index file.

Re: How do I edit a standard system error message?

Posted: Sun Jun 06, 2010 5:12 am
by infograf768
jonnyslide wrote:
infograf768 wrote:Your template should include

<jdoc:include type="message" />

where you want the message to display.
How would you edit the index.php file if you wanted the error messages to show up on the bottom of the page.
Just place this code at the bottom of your template index,php in a div, below the footer.

Re: How do I edit a standard system error message?

Posted: Wed Apr 20, 2011 3:05 pm
by Ibou
I would like to edit the (French translation ) login error message
"Please login or register to view user profiles.
Please enter your username and password below to log in, or register for a new account. "
I have looked in all the obvious places a but can't locate the file that contains this text.
I just want to edit the error message on the French page.

What's the easiest way to locate it and edit it in English and in French ?

PLEASE HELP :-/

Re: How do I edit a standard system error message?

Posted: Wed Apr 20, 2011 3:42 pm
by infograf768
Which Joomla version are you using?
Also, do you use the default Joomla login?

Re: How do I edit a standard system error message?

Posted: Wed Apr 20, 2011 6:16 pm
by designcafe
Hi folks,

I need some assistants, I would like to know how to change this particular message.

I looked here in language/en-GB/en-GB.ini and still could not locate this message.

I have the image attached of the message.


Need someones help asap on how to change this message.


Thanks a bunch.

Re: How do I edit a standard system error message?

Posted: Thu Apr 21, 2011 6:31 am
by infograf768
[URL banned] wrote:Hi folks,

I need some assistants, I would like to know how to change this particular message.

I looked here in language/en-GB/en-GB.ini and still could not locate this message.

I have the image attached of the message.


Need someones help asap on how to change this message.


Thanks a bunch.
In 1.5, this string
E_NOLOGIN_BLOCKED=Login denied! Your account has either been blocked or you have not activated it yet. Did you not get an activation e-mail and follow the validation link?
is present in
language/en-GB/en-GB.ini

If it is not for you, I suggest you update your installation with a full 1.5.23 pack.

Re: How do I edit a standard system error message?

Posted: Tue Mar 13, 2012 2:26 pm
by lienime
Hi! I have a huge problem here that I cant figure out how to change... could someone give a hand?
I need to change the position where the messages appear at: http://programatecnologiasi.org.
Right now when you, for example, enter a wrong password signing in, you get an error message under the module of Ultimas Noticias. I need to change it to appear before that module and cant find where to do it
=(

Re: How do I edit a standard system error message?

Posted: Tue Mar 13, 2012 5:30 pm
by infograf768
lienime wrote:Hi! I have a huge problem here that I cant figure out how to change... could someone give a hand?
I need to change the position where the messages appear at: http://programatecnologiasi.org.
Right now when you, for example, enter a wrong password signing in, you get an error message under the module of Ultimas Noticias. I need to change it to appear before that module and cant find where to do it
=(

Change the place of this code in your template index.php

Code: Select all

 <jdoc:include type="message" />

Re: How do I edit a standard system error message?

Posted: Tue Mar 13, 2012 6:07 pm
by lienime
hi! My template index.php only has this:
<?php
/**
* @package yoo_corona
* @author YOOtheme http://www.yootheme.com
* @copyright Copyright (C) YOOtheme GmbH
* @license YOOtheme Proprietary Use License (http://www.yootheme.com/license)
*/

// no direct access
defined('_JEXEC') or die('Restricted access');

// include config
include_once(dirname(__FILE__).'/config.php');

// get warp
$warp =& Warp::getInstance();

// load main template file, located in /layouts/template.php
echo $warp->template->render('template');

=(
template.php doesnt have it either...

Re: How do I edit a standard system error message?

Posted: Tue Mar 13, 2012 6:08 pm
by lienime
Its here. on the component.php:

<?php
/**
* @package yoo_corona
* @author YOOtheme http://www.yootheme.com
* @copyright Copyright (C) YOOtheme GmbH
* @license YOOtheme Proprietary Use License (http://www.yootheme.com/license)
*/

// no direct access
defined( '_JEXEC' ) or die( 'Restricted access' );

$template_baseurl = $this->baseurl . '/templates/' . $this->template;

?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" dir="<?php echo $this->direction; ?>" >
<head>
<jdoc:include type="head" />
<link rel="stylesheet" href="<?php echo $template_baseurl ?>/css/popups.css" type="text/css" />
</head>
<body class="contentpane">
<jdoc:include type="message" />
<jdoc:include type="component" />
</body>
</html>

have no idea what to do...

Re: How do I edit a standard system error message?

Posted: Tue Mar 13, 2012 6:24 pm
by infograf768
You better ask Yootheme as they designed the template.

Re: How do I edit a standard system error message?

Posted: Wed Oct 22, 2014 9:56 am
by aGDm_Thabang
Hi, Can i edit the system message in the html folder in my template?

Re: How do I edit a standard system error message?

Posted: Wed Oct 22, 2014 9:59 am
by infograf768
aGDm_Thabang wrote:Hi, Can i edit the system message in the html folder in my template?
1. Which version of Joomla are you using?
2. Which messages do you want to edit?