You have bookmarked items
Jump To:
Viewing Topic "Grid view"

4 Item(s)     Sort:  Newest Oldest

per page
 
  Post
Posted By: Brooklyn Sweet
Total Posts: 7
Joined Date: Oct 5, 2017

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

Posted : Oct 12, 2017
Posted By: Mike Barr
Total Posts: 315
Joined Date: Jun 25, 2013

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()

Posted : Oct 13, 2017
Posted By: Brooklyn Sweet
Total Posts: 7
Joined Date: Oct 5, 2017

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
Posted : Oct 13, 2017
Posted By: Brooklyn Sweet
Total Posts: 7
Joined Date: Oct 5, 2017

?????????

Posted : Oct 27, 2017

4 Item(s)     Sort:  Newest Oldest

per page
 

Viewing Topic "Grid view"



      You have bookmarked items
Jump To:

Who is online

 
Users browsing this topic 1 logged customers:: 0 and guest 1 (based on users active over the past 5 minutes)