The Joomla! Forum ™






Post new topic Reply to topic  [ 22 posts ] 
Author Message
PostPosted: Sat Nov 29, 2008 2:00 pm 
Joomla! Intern
Joomla! Intern

Joined: Sun Apr 23, 2006 2:35 am
Posts: 68
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.


Top
 Profile  
 
PostPosted: Sat Nov 29, 2008 6:15 pm 
User avatar
Joomla! Master
Joomla! Master

Joined: Fri Aug 12, 2005 3:47 pm
Posts: 17372
Location: **Translation Matters**
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
---------------------------------
Joomla Translation Coordination Team • Joomla! Production Working Group


Top
 Profile  
 
PostPosted: Sat Nov 29, 2008 7:28 pm 
Joomla! Intern
Joomla! Intern

Joined: Sun Apr 23, 2006 2:35 am
Posts: 68
Figures its the one file I didn't look at in the language directory. Thank you very much, "Einstein"


Top
 Profile  
 
PostPosted: Mon Apr 27, 2009 8:21 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Thu Aug 21, 2008 3:49 pm
Posts: 6
Is it possible to change the color of the error message?


Top
 Profile  
 
PostPosted: Mon Apr 27, 2009 8:53 pm 
User avatar
Joomla! Master
Joomla! Master

Joined: Thu Aug 18, 2005 9:58 am
Posts: 10137
Location: Hillerød - Denmark
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:
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
redCOMPONENT Community Manager http://redcomponent.com
Personligt site www.ot2sen.dk
Dansk Joomla! support websted - joomla.dk


Top
 Profile  
 
PostPosted: Wed Apr 29, 2009 4:01 pm 
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Sat Dec 16, 2006 1:18 pm
Posts: 157
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


Top
 Profile  
 
PostPosted: Wed May 27, 2009 12:26 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Thu May 21, 2009 6:57 am
Posts: 12
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!


Top
 Profile  
 
PostPosted: Wed May 27, 2009 5:49 am 
User avatar
Joomla! Master
Joomla! Master

Joined: Fri Aug 12, 2005 3:47 pm
Posts: 17372
Location: **Translation Matters**
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
---------------------------------
Joomla Translation Coordination Team • Joomla! Production Working Group


Top
 Profile  
 
PostPosted: Wed Apr 14, 2010 12:55 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Tue Apr 13, 2010 1:53 am
Posts: 5
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.


Top
 Profile  
 
PostPosted: Tue May 25, 2010 1:12 pm 
Joomla! Explorer
Joomla! Explorer

Joined: Sat Apr 10, 2010 9:48 pm
Posts: 274
To change the position of the messages, you need to edit the css file on your template, not the index file.


Top
 Profile  
 
PostPosted: Sun Jun 06, 2010 5:12 am 
User avatar
Joomla! Master
Joomla! Master

Joined: Fri Aug 12, 2005 3:47 pm
Posts: 17372
Location: **Translation Matters**
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
---------------------------------
Joomla Translation Coordination Team • Joomla! Production Working Group


Top
 Profile  
 
PostPosted: Wed Apr 20, 2011 3:05 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Wed Apr 20, 2011 2:45 pm
Posts: 1
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 :-/


Top
 Profile  
 
PostPosted: Wed Apr 20, 2011 3:42 pm 
User avatar
Joomla! Master
Joomla! Master

Joined: Fri Aug 12, 2005 3:47 pm
Posts: 17372
Location: **Translation Matters**
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
---------------------------------
Joomla Translation Coordination Team • Joomla! Production Working Group


Top
 Profile  
 
PostPosted: Wed Apr 20, 2011 6:16 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Wed Apr 20, 2011 5:58 pm
Posts: 1
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.


Top
 Profile  
 
PostPosted: Thu Apr 21, 2011 6:31 am 
User avatar
Joomla! Master
Joomla! Master

Joined: Fri Aug 12, 2005 3:47 pm
Posts: 17372
Location: **Translation Matters**
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
Quote:
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
---------------------------------
Joomla Translation Coordination Team • Joomla! Production Working Group


Top
 Profile  
 
PostPosted: Tue Mar 13, 2012 2:26 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Fri Oct 28, 2011 4:05 pm
Posts: 14
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
=(


Top
 Profile  
 
PostPosted: Tue Mar 13, 2012 5:30 pm 
User avatar
Joomla! Master
Joomla! Master

Joined: Fri Aug 12, 2005 3:47 pm
Posts: 17372
Location: **Translation Matters**
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:
 <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
---------------------------------
Joomla Translation Coordination Team • Joomla! Production Working Group


Top
 Profile  
 
PostPosted: Tue Mar 13, 2012 6:07 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Fri Oct 28, 2011 4:05 pm
Posts: 14
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...


Top
 Profile  
 
PostPosted: Tue Mar 13, 2012 6:08 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Fri Oct 28, 2011 4:05 pm
Posts: 14
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...


Top
 Profile  
 
PostPosted: Tue Mar 13, 2012 6:24 pm 
User avatar
Joomla! Master
Joomla! Master

Joined: Fri Aug 12, 2005 3:47 pm
Posts: 17372
Location: **Translation Matters**
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
---------------------------------
Joomla Translation Coordination Team • Joomla! Production Working Group


Top
 Profile  
 
PostPosted: Wed Oct 22, 2014 9:56 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Wed Oct 22, 2014 9:50 am
Posts: 1
Hi, Can i edit the system message in the html folder in my template?


Top
 Profile  
 
PostPosted: Wed Oct 22, 2014 9:59 am 
User avatar
Joomla! Master
Joomla! Master

Joined: Fri Aug 12, 2005 3:47 pm
Posts: 17372
Location: **Translation Matters**
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
---------------------------------
Joomla Translation Coordination Team • Joomla! Production Working Group


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 22 posts ] 



Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group