Difference between revisions of "Too much spacing in detail pages"

From JReviews Documentation
Jump to: navigation, search
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 
Edit the <span style="color: blue">/components/com_jreviews/jreviews/views/themes/{your_theme}/listings/detail.thtml</span> file and replace:
 
Edit the <span style="color: blue">/components/com_jreviews/jreviews/views/themes/{your_theme}/listings/detail.thtml</span> file and replace:
 
  
 
<source lang="php">
 
<source lang="php">
 
<?php echo nl2br($listing['Listing']['text']);?>
 
<?php echo nl2br($listing['Listing']['text']);?>
 
</source>
 
</source>
 +
  
 
with:
 
with:
 
  
 
<source lang="php">
 
<source lang="php">

Latest revision as of 10:40, 17 June 2011

Edit the /components/com_jreviews/jreviews/views/themes/{your_theme}/listings/detail.thtml file and replace:

<?php echo nl2br($listing['Listing']['text']);?>


with:

<?php echo $listing['Listing']['text'];?>