Thread: Product Details
View Single Post
  #10  
Old 11-21-2003, 07:19 AM
 
moshguy moshguy is offline
 

Advanced Member
  
Join Date: May 2003
Location: York, PA USA
Posts: 40
 

Default Might have an answer

I got mad and decided to get down and dirty with PHP. Here's the way to just insert HTML into the detailed description field.

Open include/product_modify.php

Look for some code that looks like this.

Code:
if ($fulldescr == strip_tags($fulldescr)) $fulldescr = str_replace("\n", " ", $fulldescr);

change it to this

Code:
$fulldescr = str_replace("\n", " ", $fulldescr);

Now it interprets your HTML code literally. With the exception of the \n character it turns it into a
. If you want it to leave \n alone. Erase the code completely instead of changing it.

-Jeremy
__________________
Looking for quality design at a more than fair price. Look no further for your next web design project.
Reply With Quote