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

HTML Catalog - Excluding a .tpl from having HTML links created

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 02-28-2008, 05:01 PM
 
nft nft is offline
 

Advanced Member
  
Join Date: Apr 2004
Location: Sydney, Australia
Posts: 52
 

Default HTML Catalog - Excluding a .tpl from having HTML links created

Hello,

I have been using the HTML catalog function and I am wondering how to exclude a certain .tpl from having HTML links generated. I would prefer them to refer to the PHP links, but everything else remain HTML.

The reason for this is because the modification and tpl I am referring to provides quick links for a product category that is within a certain price range and there is no need to have HTML links for the resulting pages.

Any ideas are appreciated.

Thanks

James
__________________
X-Cart Pro 4.1.9
FreeBSD
Apache
MySQL 5
PHP 4.4.8
Reply With Quote
  #2  
Old 02-28-2008, 08:15 PM
 
intel352 intel352 is offline
 

X-Wizard
  
Join Date: Dec 2005
Posts: 1,071
 

Default Re: HTML Catalog - Excluding a .tpl from having HTML links created

Easiest solution would be to modify your links to have an extra parameter, such as &htmlcatalog=n

Then modify admin/html_catalog.php to ignore urls that have the &htmlcatalog=n flag
__________________
-Jon Langevin
WARNING: Unethical developer - NOT RECOMMENDED
See details here
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



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 07:06 AM.

   

 
X-Cart forums © 2001-2020