J-ClassifiedsManager - Grid view

Support Forum

 
 

 

Does anyone know how to make the seach results be in automatic grid view? Point me in right direction to which file to edit? 


Thank you

3 replies

Hi, 


We would be having a setting to have the grid view as a default as of our next release. 


Meanwhile, you would have to edit the file located in component/com_jclassifiedsmanager/views/displayads/tmpl/default_displayads.php


Locate the jQuery(document).ready(function() and at end of the function you can call the function showGrid()

maybe Im just dumb but I tried a few diff ways and still same thing the list shows up first im not to good with Jquery

 

 

function showList(){
jQuery("#offer-list-view").show();
jQuery("#layout").hide();
jQuery("#grid-view-link").removeClass("active");
jQuery("#list-view-link").addClass("active");
}

function showGrid(){
jQuery("#offer-list-view").hide();
jQuery("#layout").show();
applyIsotope();
jQuery("#grid-view-link").addClass("active");
jQuery("#list-view-link").removeClass("active");

I change to the opposite but notihng happens

?????????

 
 
 

4 Item(s)

Show per page