Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • brew5454 Friend
    #159209

    I have over 150 product pictures on my site. Is there any way to limit the number of pictures that are displayed in the vmproductslide ?

    Have it set to ‘ Type of Product to Display – “Latest” ‘

    Cause it shows the newest pics i add and then continues to show every other pic thats on my website, 150+.

    Causing my site loading time to be about 22 seconds.

    Please Help

    Sherlock Friend
    #373877

    Dear brew5454,

    You can try as following to show a limit on products on your module
    Open the file of modulesmod_ja_vmproductslideja_vmproductslideapplication.php
    Looking for these lines of codes
    [PHP]$query .= ($this->_typeproduct == 1 ) ? ‘ AND product_special =”Y” ‘ : ”;[/PHP] and add below it
    [PHP] $query .= “limit 5″;[/PHP] Then looking for
    [PHP] $query .= ($this->_typeproduct) ? (($this->_typeproduct == 1 ) ? ‘ AND p.product_special =”Y” ORDER BY p.product_name DESC ‘ : ‘ORDER BY p.cdate DESC ‘) : ‘ORDER BY p.product_name DESC ‘;[/PHP] Add below it
    [PHP] $query .= “limit 5”;[/PHP] Notice that you should replace the number of 5 to the limit you want.

    banchothue Friend
    #452152

    i settup mod_ja_vmproductslide have a error!
    Please help me!
    Thank off all!

    http://banchothue.com/joomla/ja-error.jpg


    1. ja-error
Viewing 3 posts - 1 through 3 (of 3 total)

This topic contains 3 replies, has 3 voices, and was last updated by  banchothue 12 years, 6 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum