Jump to content

[SOLVED] Pre-defined message rm space error


Recommended Posts

Under Employees > Contacts you have an option to edit the pre-defined message. I edited it and now everywhere a space is rm shows up.

 

Example:

Dear Customer,rnrnRegards,rnExploration Place

 

Supposed to be:

Dear Customer,

 

Regards,

Exploration Place

 

Any suggestions? I'd be up for editing the file directly in dreamweaver if you know which file has this information.

Link to comment
Share on other sites

Hi Greek Geek Goddess and berta recchia,

In line 1705 of your classes/AdminTab.php, please replace what you currently have there with the following:

 

<textarea rows="'.(int)($field['rows']).'" cols="'.(int)($field['cols']).'"  name="'.$key.'_'.$language['id_lang'].'">'.str_replace('\r\n', "\n", $val).'</textarea>

 

Please let me know if that works any better for you.

 

-Mike

Link to comment
Share on other sites

×
×
  • Create New...