SMFHacks.com
Newsletter Pro => Support => Topic started by: raffo on August 14, 2011, 04:57:18 am
-
Is there a way to disable the <p> for every newsletter?!?
I prefer to use the <br> when i finish a line.
-
You would need to modify the code for tinymce add this to the tinymce optin in the news.template.php file
force_p_newlines : false,
force_br_newlines : true,
convert_newlines_to_brs : false,
remove_linebreaks : true,
If you need to help attach the template file.
-
i just can't find this file...
i use SMF 2.0 Final
-
Should be this file themes/default/ManageNews.template.php
-
sorry, but it isn't there... :(
-
That file should be there in 2.0 final double check....
-
nope, the file is there, but the code isn't inside the file...
-
My fault actually in Sources/ManageNews.php
-
unfortunately, in this file there isn' the code you wrote, neither a similar code...
i attach you the file...
-
Updated file attached
-
thanks... finally it works... :)
-
one more thing: it works in the tiny inside the section "news and newsletter", but if i edit the message from the section "newsletter pro" it returns with the <p> behavior
what do i need to change more?
-
I think the Sources/NewsPro2.php file if you need fix just attach it.
-
here it's... :)
thanks!
-
File attached
-
Thanks, it works! :)