Difference between revisions of "How to fix broken layout of Listings and Reviews modules"

From JReviews Documentation
Jump to: navigation, search
 
Line 1: Line 1:
JReviews [[Listings Module]] and [[Reviews Module]] use jQuery Tools Scrollable plugin for module pagination and slideshow functionality.
+
JReviews [[Listings Module]] and [[Reviews Module]] use bxSlider plugin for module pagination and slideshow functionality.
  
This plugin requires that the module has fixed dimensions and it tries to automatically calculate the available dimensions within the parent element. In some cases this is not possible. For example, if you output the module inside a tab that is hidden by default, the module will not be able to calculate the available dimensions. To fix that, you can try to set fixed dimensions to the module's parent element. If that won't help, the only options are to publish the module to a different position where the dimensions can be calculated or to disable the pagination/slideshow. To disable the pagination/slideshow, you just need to set the '''Max. number of results''' and '''Results per page''' module parameters to have the same number.
+
This plugin tries to automatically calculate the available dimensions for the slider within the parent element. In some cases this is not possible. For example, if you output the module inside a tab that is hidden by default, the module will not be able to calculate the available dimensions. To fix that, you can try to set fixed dimensions to the module's parent element. If that won't help, the only options are to publish the module to a different position where the dimensions can be calculated or to disable the pagination/slideshow. To disable the pagination/slideshow, you just need to set the '''Max. number of results''' and '''Results per page''' module parameters to have the same number.
  
  

Latest revision as of 08:38, 9 August 2015

JReviews Listings Module and Reviews Module use bxSlider plugin for module pagination and slideshow functionality.

This plugin tries to automatically calculate the available dimensions for the slider within the parent element. In some cases this is not possible. For example, if you output the module inside a tab that is hidden by default, the module will not be able to calculate the available dimensions. To fix that, you can try to set fixed dimensions to the module's parent element. If that won't help, the only options are to publish the module to a different position where the dimensions can be calculated or to disable the pagination/slideshow. To disable the pagination/slideshow, you just need to set the Max. number of results and Results per page module parameters to have the same number.