X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   HTML Catalog - Excluding a .tpl from having HTML links created (https://forum.x-cart.com/showthread.php?t=37938)

nft 02-28-2008 05:01 PM

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

intel352 02-28-2008 08:15 PM

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


All times are GMT -8. The time now is 02:19 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.