PDA

View Full Version : How to set default listing type in search results



Tim Wade
September 6, 2017, 07:52 PM
:General Classifieds:

When I click on a category on home page and it takes me to that category page.
the default view is map view.

two questions:

Q: can I eliminate map view? (In my business model, not very applicable, and I have tried to turn off all geo location things)

Q: Can I set the default view to list view or gallery view?

How do I accomplish this? any ideas?

Thanks in advance for assistance!

Viktor
September 7, 2017, 02:29 AM
Hello Tim,

Are you sure your default view is map view? Because by default on all templates default view is list view. At first try to cleared browser cookies and check your site again.

Then you can try to change it yourself in code. Go to ftp://templates>>your_template>>tpl>>blocks
open files grid.tpl and grid_navbar.tpl

find line:



{if !$grid_mode}
{assign var='grid_mode' value='map'}
{/if}


and replace to:



{if !$grid_mode}
{assign var='grid_mode' value='list'}
{/if}


save and check again. Don't forget clear cookies on your browser for your site.