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.

Customizing System Messages

December 24, 2012 10:56am

Subscribe [1]
  • #1 / Dec 24, 2012 10:56am

    okaris

    4 posts

    I have read the guide to Customizing System Messages.

    I have edited the template for the messages.

    I will use the messages to define if the login/register is successful so i want the message to be simple as it can be.

    I can edit the lang files to simplify the return message but I couldn’t find a way to get rid of the “<ul><li>” in the content of the system message

    I have searched through almost all relevant files of EE

    —————————

    Note to EE staff:

    I can’t seem to use the new Support System despite the fact that I have only bought EE 2 months ago

    Cheers

  • #2 / Dec 24, 2012 1:52pm

    okaris

    4 posts

    For all those out there who are dealing with this same trouble I have found the solution:

    system>expressionengine>core>EEOutput.php

    Find function show_user_error and find this code

    $content  = '<ul>';
      
      if ( ! is_array($errors))
      {
       $content.= "<li>".$errors."</li>\n";
      }
      else
      {
       foreach ($errors as $val)
       {
        $content.= "<li>".$val."</li>\n";
       }
      }
      
    $content .= "</ul>";

    And edit to your liking

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

ExpressionEngine News!

#eecms, #events, #releases