Instyle Quickstart - rating button & review tabs not working

Professional eCommerce VirtueMart Joomla template with responsive design discussion forum.
Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Wed Feb 25, 2015 11:11 pm
Reply with quote
Report this post
Hello,
I've just done a clean installation of InStyle.

The ratings button & review tab do not function as they do in the demo.
I've verified that this VM feature is working with Bees template, & the rating & review options in VM are working correctly. (disappear when disabled, etc.)

This is clearly a template issue. :(

The site is on a private DEV server. So, please PM for URL if you'd like to see the problem firsthand.

Thanks for any assistance you can provide.
User avatar
Fresh Boarder

GK User
Wed Feb 25, 2015 11:23 pm
Reply with quote
Report this post
Further, I'm noticing that on any product details page created, the sidebar VM menu modules are being pushed below body content.

A DIV appears to be breaking somewhere...
User avatar
Fresh Boarder

GK User
Thu Feb 26, 2015 7:32 pm
Reply with quote
Report this post
Upon further investigation, this problem isn't limited to the template and appears to be a core failing in the VM reviews system.

Even though I've been able to find suggestions on the VM forums, none of them solve the effects on the template sidebar being broken and pushed down the page.

Disabling the VM reviews & ratings is the only solution to solve this particular issue.

I'm moving to a 3rd party review system as I don't have time to continue troubleshooting this.

For the record, what are the versions of template & VM distro use in the InStyle demo?
As the demo doesn't exhibit these problems.

Moderator please???
User avatar
Fresh Boarder

teitbite
Sat Feb 28, 2015 8:39 pm
Reply with quote
Report this post
Hi

InStyle quickstart is using VM 3.0.6. Our demo is using the same version. The only difference is that demo for this template is using joomla 2.5. Please send me an access to ftp and url to site, so I'll try fix the validation error.
User avatar
Moderator

GK User
Sun Mar 01, 2015 9:43 pm
Reply with quote
Report this post
Hello, & thanks for your offer of assistance!

I've just setup site access, and will PM you details about the site with links to an example of the issue.

Again, thank you!
User avatar
Fresh Boarder

GK User
Wed Mar 04, 2015 7:39 am
Reply with quote
Report this post
To fix rating/tabs issue, please add this code:
Code: Select all
/* VirtueMart addons */
jQuery(document).ready(function() {
    var tabs = jQuery('#product-tabs');
    // if tabs exists
    if(tabs.length) {
        // initialization
        tabs.find('li').first().addClass('active');
        var contents = jQuery('#product-tabs-content');
        contents.children('div').css('display', 'none');
        contents.first('div').addClass('active');
        // add events to the tabs
        tabs.find('li').each(function(i, tab) {
            tab = jQuery(tab);
            tab.click(function() {
                var toggle = tab.attr('data-toggle');
                contents.children('div').removeClass('active');
                contents.find('.' + toggle).addClass('active');
                tabs.find('li').removeClass('active');
                tab.addClass('active');     
            });
        });
    }
});

at the end of /templates/gk_instyle/js/gk.scripts.js fie.
It should be fixed with next template release.
User avatar
Moderator

GK User
Wed Mar 04, 2015 5:13 pm
Reply with quote
Report this post
Excellent! This appears to have solved the issue.

Thanks to you & the Gavick team!
User avatar
Fresh Boarder


cron