ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

error messages

December 01, 2010 2:44pm

Subscribe [5]
  • #1 / Dec 01, 2010 2:44pm

    zupi

    283 posts

    hello guys at EE 1.6.x where and how can I change the error messages and CSS

    regards,
    allan

  • #2 / Dec 02, 2010 9:02am

    Sue Crocker

    26054 posts

    Hi, allan.

    You go to CP Home ›  Admin ›  Specialty Templates ›  User Message Template and make the changes there for the template. For the text of individual error messages, you’d need to edit whatever language file is associated with the error message.

    One place would be lang.login.php for the following error:

    "no_username" =>
    "The username you submitted was not found in the database",

    NOTE: I’m pulling out the info from EE1.7.0. You should consider upgrading, it’s a recommended security upgrade.

    Does that help?

  • #3 / Dec 02, 2010 5:41pm

    zupi

    283 posts

    sure, I guess so, I’ll upgrade to 1.7.0
    thanks
    allan

  • #4 / Dec 02, 2010 5:53pm

    zupi

    283 posts

    one more thing,
    when someone do a search with a word he can’t found there is an erros, where can I change what is in it?
    allan

  • #5 / Dec 03, 2010 9:28am

    Ingmar

    29245 posts

    I think you might be referring to the language files? They can be found in .../system/expressionengine/language/english/.

  • #6 / Dec 03, 2010 6:26pm

    zupi

    283 posts

    I mean. I do a search and there is a result like that:

    The following errors were encountered

      * Search terms must be at least 3 characters in length

    Return to Previous Page

    where can I find a place to change and translate these??

  • #7 / Dec 03, 2010 6:26pm

    zupi

    283 posts

    and which language file I find these terms?

  • #8 / Dec 05, 2010 1:43pm

    Greg Salt

    3988 posts

    Hi zupi,

    In EE 1.7.0 the language file you will need is system/language/english/lang.search.php.

    Cheers

    Greg

  • #9 / Dec 10, 2010 3:46pm

    zupi

    283 posts

    ok, thanks,
    there are 3 things to change:

    {heading} this one is probably another language file?? which one???

    {content} this one I could change

    {link} this one is probably another language file?? which one???

  • #10 / Dec 11, 2010 4:38pm

    Greg Salt

    3988 posts

    Hi zupi,

    Sorry, I’m not following you. Those variables are replaced depending upon which module generates the message. There is not one place where the content of those variables will be drawn from. It sounds as though you just need to create a complete set of languages files for your specific use.

    Cheers

    Greg

  • #11 / Dec 14, 2010 8:52am

    zupi

    283 posts

    Greg,
    maybe you don’t understand. there are always this:

    {heading} The following errors were encountered - where can I find the file to translate this

    {content} * Para fazer uma busca bem sucedida, precisa de uma palavra com mais de 4 letras. - this one I could change

    {link} Return to Previous Page - where can I find the file to translate this

  • #12 / Dec 14, 2010 4:51pm

    Ingmar

    29245 posts

    The following errors were encountered - where can I find the file to translate this

    In core_lang.php.

    Return to Previous Page - where can I find the file to translate this

    Ditto.

  • #13 / Dec 15, 2010 8:22am

    zupi

    283 posts

    now we are talking,
    thanks a lot,
    regards,
    allan

  • #14 / Dec 15, 2010 4:07pm

    Ingmar

    29245 posts

    So, does that clear it up for you? You’re good?

  • #15 / Dec 15, 2010 4:47pm

    zupi

    283 posts

    I have one more: The email address you submitted is not valid

    this is error message when you submit something when you want to do a comment

    what language set is this.

    regards,
    allan

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases