Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Smarty.php Mod to Remove all UN-NECESSARY White Space

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #41  
Old 04-17-2005, 04:27 PM
  TelaFirma's Avatar 
TelaFirma TelaFirma is offline
 

X-Adept
  
Join Date: Nov 2002
Location: North Carolina USA
Posts: 930
 

Default

Somewhere I read (not exactly where) on where the correct place is to add this to the smarty.php file so that it does not mess with the HTML emails.

At the very end of the file is the email handler:
Code:
# # Smarty object for processing mail templates # $mail_smarty = $smarty;

It should be added after this:

Code:
# # Smarty object for processing mail templates # $mail_smarty = $smarty; $smarty->load_filter("output","trimwhitespace");
Reply With Quote
  #42  
Old 04-17-2005, 05:42 PM
 
CopperB CopperB is offline
 

Advanced Member
  
Join Date: Jan 2005
Posts: 58
 

Default

Thanks for the response.

That's where I did add the code to the smarty.php file but it caused problems with the images on the website. Also gave other smarty errors.

Just like NuAlpha mentioned.
__________________
CopperB

XCart Gold -> v4.0.11
PHP -> v4.3.10
MySQL -> v4.0.22
Apache -> v1.3.33
Smarty -> v2.6.3
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 02:01 PM.

   

 
X-Cart forums © 2001-2020