Newline () in user comments missing

16.11.2012 11:00
#1
agrupe
Joomshopping forum user no avatar
Name: Grupe
30.10.2012
Posts: 92
Quote
Newline () in user comments missing

Hi,

if a user leaves a product comment, the end of paragraph markings are ignored. As soon as I publish the text, it is flat one line.

How to change that?

The migrating-script from my old VM comments had put an <br /> at the end of each line. So old comments look good.

Thanks

Andreas

 
16.11.2012 11:31
#2
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25857
Quote
Aw: Newline () in user comments missing

will be fixed in new version


Enter = newline


components\com_jshopping\templates\default\product\review.php

change
<div class="review_text"><?php print $curr->review?></div>
to
<div class="review_text"><?php print nl2br($curr->review)?></div>


Last change: 16.11.2012 11:34
 
16.11.2012 13:11
#3
agrupe
Joomshopping forum user no avatar
Name: Grupe
30.10.2012
Posts: 92
Quote
Aw: Newline () in user comments missing

Thanks a lot!

I'm looking forward to go life by tomorrow and I'll post my migrated shop in this forum next week (if everything went well).

You've been a great help during the migration process.

Have a nice weekend

Andreas

 


Copyrights MAXXmarketing GmbH. Alle Rechte vorbehalten
Durch die Nutzung dieser Website stimme ich zu, dass Cookies zur optimalen Gestaltung der Website sowie zur Analyse der Nutzung der Website verwendet werden. Weiterführende Informationen finden Sie hier. OK, einverstanden.