View Single Post
  #1  
Old 10-04-2002, 07:39 AM
  minorgod's Avatar 
minorgod minorgod is offline
 

X-Adept
  
Join Date: Sep 2002
Location: Arivaca, AZ
Posts: 402
 

Default How and where do I use a Smarty Output filter in X-Cart?

I'm building a URL-rewriter for my cart to make it search-engine-friendly. I'm making an outputfilter/plug-in to take care of the actual URL re-writing so I don't have to modify anything other than the templates (hopefully) and then add a small bit of PHP code to all the PHP pages to accept get variables in the format:

name/value/name/value/name/value

rather than

name=value&name=value&name=value

Is there anything anyone can tell me about using Smarty Output Filters? Do I just need to register the output filter once in one of my main templates or do I need to include it just before and explicit
Code:
$smarty->display();
call?
__________________
www.brettbrewer.com
Getting back into x-cart dev after a long hiatus. Modded lots of x-carts from version 3.1.x to 4.1.x. Developer of ImageScaler mod, Pre-login per user coupon mod, Wordpress feed mod, DigitalSubscriptions mod, Phonetic bulk download keys addon for DownloadExpander mod, Serial Number Generator for ESD products, Custom CMS/LMS integrations, external products mod, and more.
Reply With Quote