e107Hacks.org

Home | Forum | Downloads | Upload | Hack | Members | Links | Add | Search

107Hacks.org :: Forums :: Hack Request & Discussion - Public :: Hack discussions

As some of you noticed. When you write content in any text area such as news or if you added an extended field for the profiles such as a About me section, that the system will add breaks for you. If you allow users to use html and CSS it's a pain for css. Here is a simple fix to get rid of auto breaks. But be it known that this affects the whole site.

go to the e_parse_class.php file which is located in the handlers directory (yoursite.com/handlers/)

look for this line

'nobreak' => FALSE, // Line break compression - TRUE removes multiple line breaks

Just change false to TRUE and your site will no longer generate auto breaks.