How do I edit a standard system error message?
Moderator: General Support Moderators
-
- Joomla! Intern
- Posts: 68
- Joined: Sun Apr 23, 2006 2:35 am
How do I edit a standard system error message?
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.
- infograf768
- Joomla! Master
- Posts: 19133
- Joined: Fri Aug 12, 2005 3:47 pm
- Location: **Translation Matters**
Re: How do I edit a standard system error message?
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.
E_LOGIN_AUTHENTICATE=Username and password do not match or you do not have an account yet.
Jean-Marie Simonet / infograf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
-
- Joomla! Intern
- Posts: 68
- Joined: Sun Apr 23, 2006 2:35 am
Re: How do I edit a standard system error message?
Figures its the one file I didn't look at in the language directory. Thank you very much, "Einstein"
-
- Joomla! Apprentice
- Posts: 6
- Joined: Thu Aug 21, 2008 3:49 pm
Re: How do I edit a standard system error message?
Is it possible to change the color of the error message?
- ot2sen
- Joomla! Master
- Posts: 10381
- Joined: Thu Aug 18, 2005 9:58 am
- Location: Hillerød - Denmark
- Contact:
Re: How do I edit a standard system error message?
You can use HTML tags like span in the ini-files.imcabee wrote:Is it possible to change the color of the error message?
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.
Ole Bang Ottosen
Dansk frivillig Joomla! support websted - joomla.dk
OpenTranslators Core Team opentranslators.org
Dansk frivillig Joomla! support websted - joomla.dk
OpenTranslators Core Team opentranslators.org
-
- Joomla! Enthusiast
- Posts: 157
- Joined: Sat Dec 16, 2006 1:18 pm
Re: How do I edit a standard system error message?
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!
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!
nidcker
-
- Joomla! Apprentice
- Posts: 12
- Joined: Thu May 21, 2009 6:57 am
Re: How do I edit a standard system error message?
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!
- infograf768
- Joomla! Master
- Posts: 19133
- Joined: Fri Aug 12, 2005 3:47 pm
- Location: **Translation Matters**
Re: How do I edit a standard system error message?
Your template should include
<jdoc:include type="message" />
where you want the message to display.
<jdoc:include type="message" />
where you want the message to display.
Jean-Marie Simonet / infograf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
-
- Joomla! Apprentice
- Posts: 5
- Joined: Tue Apr 13, 2010 1:53 am
Re: How do I edit a standard system error message?
How would you edit the index.php file if you wanted the error messages to show up on the bottom of the page.infograf768 wrote:Your template should include
<jdoc:include type="message" />
where you want the message to display.
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.
-
- Joomla! Explorer
- Posts: 274
- Joined: Sat Apr 10, 2010 9:48 pm
Re: How do I edit a standard system error message?
To change the position of the messages, you need to edit the css file on your template, not the index file.
- infograf768
- Joomla! Master
- Posts: 19133
- Joined: Fri Aug 12, 2005 3:47 pm
- Location: **Translation Matters**
Re: How do I edit a standard system error message?
Just place this code at the bottom of your template index,php in a div, below the footer.jonnyslide wrote:How would you edit the index.php file if you wanted the error messages to show up on the bottom of the page.infograf768 wrote:Your template should include
<jdoc:include type="message" />
where you want the message to display.
Jean-Marie Simonet / infograf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
-
- Joomla! Fledgling
- Posts: 1
- Joined: Wed Apr 20, 2011 2:45 pm
Re: How do I edit a standard system error message?
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 :-/
"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 :-/
- infograf768
- Joomla! Master
- Posts: 19133
- Joined: Fri Aug 12, 2005 3:47 pm
- Location: **Translation Matters**
Re: How do I edit a standard system error message?
Which Joomla version are you using?
Also, do you use the default Joomla login?
Also, do you use the default Joomla login?
Jean-Marie Simonet / infograf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
-
- Joomla! Fledgling
- Posts: 1
- Joined: Wed Apr 20, 2011 5:58 pm
Re: How do I edit a standard system error message?
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.
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.
You do not have the required permissions to view the files attached to this post.
- infograf768
- Joomla! Master
- Posts: 19133
- Joined: Fri Aug 12, 2005 3:47 pm
- Location: **Translation Matters**
Re: How do I edit a standard system error message?
In 1.5, this string[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.
is present inE_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?
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.
Jean-Marie Simonet / infograf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
-
- Joomla! Apprentice
- Posts: 14
- Joined: Fri Oct 28, 2011 4:05 pm
Re: How do I edit a standard system error message?
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
=(
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
=(
- infograf768
- Joomla! Master
- Posts: 19133
- Joined: Fri Aug 12, 2005 3:47 pm
- Location: **Translation Matters**
Re: How do I edit a standard system error message?
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" />
Jean-Marie Simonet / infograf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
-
- Joomla! Apprentice
- Posts: 14
- Joined: Fri Oct 28, 2011 4:05 pm
Re: How do I edit a standard system error message?
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...
<?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...
-
- Joomla! Apprentice
- Posts: 14
- Joined: Fri Oct 28, 2011 4:05 pm
Re: How do I edit a standard system error message?
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...
<?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...
- infograf768
- Joomla! Master
- Posts: 19133
- Joined: Fri Aug 12, 2005 3:47 pm
- Location: **Translation Matters**
Re: How do I edit a standard system error message?
You better ask Yootheme as they designed the template.
Jean-Marie Simonet / infograf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
-
- Joomla! Fledgling
- Posts: 1
- Joined: Wed Oct 22, 2014 9:50 am
Re: How do I edit a standard system error message?
Hi, Can i edit the system message in the html folder in my template?
- infograf768
- Joomla! Master
- Posts: 19133
- Joined: Fri Aug 12, 2005 3:47 pm
- Location: **Translation Matters**
Re: How do I edit a standard system error message?
1. Which version of Joomla are you using?aGDm_Thabang wrote:Hi, Can i edit the system message in the html folder in my template?
2. Which messages do you want to edit?
Jean-Marie Simonet / infograf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group