How do I edit a standard system error message?

General questions regarding the use of languages in Joomla! 1.5.

Moderator: General Support Moderators

mattstahl
Joomla! Intern
Joomla! Intern
Posts: 68
Joined: Sun Apr 23, 2006 2:35 am

How do I edit a standard system error message?

Postby mattstahl » Sat Nov 29, 2008 2:00 pm

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.

User avatar
infograf768
Joomla! Master
Joomla! Master
Posts: 18044
Joined: Fri Aug 12, 2005 3:47 pm
Location: **Translation Matters**

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

Postby infograf768 » Sat Nov 29, 2008 6:15 pm

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.
Jean-Marie Simonet / infograf · http://www.info-graf.fr
Multilanguage in 2.5: http://help.joomla.org/files/EN-GB_multilang_tutorial.pdf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group

mattstahl
Joomla! Intern
Joomla! Intern
Posts: 68
Joined: Sun Apr 23, 2006 2:35 am

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

Postby mattstahl » Sat Nov 29, 2008 7:28 pm

Figures its the one file I didn't look at in the language directory. Thank you very much, "Einstein"

imcabee
Joomla! Apprentice
Joomla! Apprentice
Posts: 6
Joined: Thu Aug 21, 2008 3:49 pm

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

Postby imcabee » Mon Apr 27, 2009 8:21 pm

Is it possible to change the color of the error message?

User avatar
ot2sen
Joomla! Master
Joomla! Master
Posts: 10305
Joined: Thu Aug 18, 2005 9:58 am
Location: Hillerød - Denmark
Contact:

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

Postby ot2sen » Mon Apr 27, 2009 8:53 pm

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.
Ole Bang Ottosen
Dansk kommerciel support og kurser www.ot2sen.dk
Dansk frivillig Joomla! support websted - joomla.dk
OpenTranslators Core Team opentranslators.org

rhrueda
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 157
Joined: Sat Dec 16, 2006 1:18 pm

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

Postby rhrueda » Wed Apr 29, 2009 4:01 pm

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!
nidcker

ems0925
Joomla! Apprentice
Joomla! Apprentice
Posts: 12
Joined: Thu May 21, 2009 6:57 am

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

Postby ems0925 » Wed May 27, 2009 12:26 am

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!

User avatar
infograf768
Joomla! Master
Joomla! Master
Posts: 18044
Joined: Fri Aug 12, 2005 3:47 pm
Location: **Translation Matters**

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

Postby infograf768 » Wed May 27, 2009 5:49 am

Your template should include

<jdoc:include type="message" />

where you want the message to display.
Jean-Marie Simonet / infograf · http://www.info-graf.fr
Multilanguage in 2.5: http://help.joomla.org/files/EN-GB_multilang_tutorial.pdf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group

jonnyslide
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Tue Apr 13, 2010 1:53 am

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

Postby jonnyslide » Wed Apr 14, 2010 12:55 am

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.

ampz21
Joomla! Explorer
Joomla! Explorer
Posts: 274
Joined: Sat Apr 10, 2010 9:48 pm

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

Postby ampz21 » Tue May 25, 2010 1:12 pm

To change the position of the messages, you need to edit the css file on your template, not the index file.

User avatar
infograf768
Joomla! Master
Joomla! Master
Posts: 18044
Joined: Fri Aug 12, 2005 3:47 pm
Location: **Translation Matters**

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

Postby infograf768 » Sun Jun 06, 2010 5:12 am

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.
Jean-Marie Simonet / infograf · http://www.info-graf.fr
Multilanguage in 2.5: http://help.joomla.org/files/EN-GB_multilang_tutorial.pdf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group

Ibou
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Wed Apr 20, 2011 2:45 pm

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

Postby Ibou » Wed Apr 20, 2011 3:05 pm

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 :-/

User avatar
infograf768
Joomla! Master
Joomla! Master
Posts: 18044
Joined: Fri Aug 12, 2005 3:47 pm
Location: **Translation Matters**

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

Postby infograf768 » Wed Apr 20, 2011 3:42 pm

Which Joomla version are you using?
Also, do you use the default Joomla login?
Jean-Marie Simonet / infograf · http://www.info-graf.fr
Multilanguage in 2.5: http://help.joomla.org/files/EN-GB_multilang_tutorial.pdf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group

designcafe
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Wed Apr 20, 2011 5:58 pm

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

Postby designcafe » Wed Apr 20, 2011 6:16 pm

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.
You do not have the required permissions to view the files attached to this post.

User avatar
infograf768
Joomla! Master
Joomla! Master
Posts: 18044
Joined: Fri Aug 12, 2005 3:47 pm
Location: **Translation Matters**

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

Postby infograf768 » Thu Apr 21, 2011 6:31 am

designcafe 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.
Jean-Marie Simonet / infograf · http://www.info-graf.fr
Multilanguage in 2.5: http://help.joomla.org/files/EN-GB_multilang_tutorial.pdf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group

lienime
Joomla! Apprentice
Joomla! Apprentice
Posts: 14
Joined: Fri Oct 28, 2011 4:05 pm

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

Postby lienime » Tue Mar 13, 2012 2:26 pm

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
=(

User avatar
infograf768
Joomla! Master
Joomla! Master
Posts: 18044
Joined: Fri Aug 12, 2005 3:47 pm
Location: **Translation Matters**

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

Postby infograf768 » Tue Mar 13, 2012 5:30 pm

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 · http://www.info-graf.fr
Multilanguage in 2.5: http://help.joomla.org/files/EN-GB_multilang_tutorial.pdf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group

lienime
Joomla! Apprentice
Joomla! Apprentice
Posts: 14
Joined: Fri Oct 28, 2011 4:05 pm

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

Postby lienime » Tue Mar 13, 2012 6:07 pm

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

lienime
Joomla! Apprentice
Joomla! Apprentice
Posts: 14
Joined: Fri Oct 28, 2011 4:05 pm

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

Postby lienime » Tue Mar 13, 2012 6:08 pm

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

User avatar
infograf768
Joomla! Master
Joomla! Master
Posts: 18044
Joined: Fri Aug 12, 2005 3:47 pm
Location: **Translation Matters**

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

Postby infograf768 » Tue Mar 13, 2012 6:24 pm

You better ask Yootheme as they designed the template.
Jean-Marie Simonet / infograf · http://www.info-graf.fr
Multilanguage in 2.5: http://help.joomla.org/files/EN-GB_multilang_tutorial.pdf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group

aGDm_Thabang
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Wed Oct 22, 2014 9:50 am

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

Postby aGDm_Thabang » Wed Oct 22, 2014 9:56 am

Hi, Can i edit the system message in the html folder in my template?

User avatar
infograf768
Joomla! Master
Joomla! Master
Posts: 18044
Joined: Fri Aug 12, 2005 3:47 pm
Location: **Translation Matters**

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

Postby infograf768 » Wed Oct 22, 2014 9:59 am

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?
Jean-Marie Simonet / infograf · http://www.info-graf.fr
Multilanguage in 2.5: http://help.joomla.org/files/EN-GB_multilang_tutorial.pdf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group


Return to “Language - Joomla! 1.5”

Who is online

Users browsing this forum: No registered users and 4 guests