Welcome, Guest ( Customer Panel | Login )




 All Forums
 VPCart Forum
 Customization
 xproductcolumns Dynamic
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

kaudio
Starting Member

13 Posts

Posted - February 05 2008 :  10:24:33  Show Profile  Reply with Quote
Does anyone know of a way to change the xproductcolumns number through the url. On some pages I would like to use 1 template with 4 columns and on other pages I would like to use 1 column. Any help is greatly appreciated.

yudevan
Starting Member

29 Posts

Posted - February 25 2008 :  09:06:15  Show Profile  Visit yudevan's Homepage  Reply with Quote
Hi,

I think there something interesting at shopdisplayproducts.asp file that can make it happen, there was a line

ProductmaxColumns=Getconfig("xproductcolumns")

you can change it into,

ProductmaxColumns=Request("column")

and put additional line on the url like

http://blah-blahshop.com/vpasp/blabla.asp?&column=4

the point actually &column=4 :)
but as note, this tricky method will make your configuration for xproductcolumns won't work, and you need to specify &column=4 for every display product url

hope this help

cheers

=|=|=|=|=|=|=|=|=|=|=|=|=|=
Just Gimme a Byte of Micro!
=|=|=|=|=|=|=|=|=|=|=|=|=|=
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000
0 Item(s)
$0.00