How to change the columns of search result page & please help us correct the error!
Such as when we search "cheap full lace wigs" on top search, the result page show 3 columns, could you let’s know how to change to 4 columns, please? The followed link is the sample: http://www.herawigs.com/catalogsearc…full+lace+wigs
By the way, when we checked by followed link " http://validator.w3.org/check?uri=ht….herawigs.com/ " they showes there is one error so could you help us to correct that, please?
9 answers
Go to this File app\design\frontend\default\jm_tyrolite\layout\cat alogsearch.xml
you can find a similar code like this. Find it and replace the 3 with 4 or 5 as you wish.
Code:
<action method="setColumnCount"><count>3</count></action>
Once altered clear cache and check it.
Note: If you Find my Post useful please click on the Thanks Icon
Hi Chavan,
Thanks for your quick reply.
I just find the followed code:
<action method="addColumnCountLayoutDepend"><layout>two_co lumns_left</layout><count>4</count></action>
<action method="addColumnCountLayoutDepend"><layout>two_co lumns_right</layout><count>4</count></action>
and both change them to 4 but there is not any effect, so could you check it for me again? Thanks in advance!
Did you clear the Cache in the Cache management and refresh the Blocks in the cache management ?
If this does not work. Post me your Ftp details and the admin details of your site in Pm. I will fix it and let you know how it is done
Hi Chavan,
Yes, we clear the Cahse.
Frankly speaking, we don’t want to tell other people our FTP and admin information and hope you could understand. If you need any files then we transfer that to you, ok?
Thanks in advance!
ok I Understand, please send me this File app\design\frontend\default\jm_tyrolite\layout\cat alogsearch.xml
Hi Chavan,
Thanks for your understanding!
Now I have attached the related file, please check for us! But please change the name"catalogsearch.doc" to "catalogsearch.xml" after you get the file.
By the way, could you check the error which I refered in my first topic, please?
For more information, please feel free to contact us.
Thanks in advance!
Go to this File app\design\frontend\default\jm_tyrolite\layout\cat alogsearch.xml
Replace the Following code
Code:
<action method="addColumnCountLayoutDepend"><layout>two_columns_right</layout><count>3</count></action>
With
Code:
<action method="addColumnCountLayoutDepend"><layout>two_columns_right</layout><count>4</count></action>
Note: If you Find my Post useful please click on the Thanks Icon
Hi Chavan,
Thanks for your quick reply.
In fact, I have replaced that code after your first reply and refresh the cashe but it doesn’t work! So I think there is other code control that, right? Could you check that for me, please?
Please trust us and post your Ftp details in my PM. I will fix it for you.