Advertisement:

Author Topic: Car attributes not displaying models  (Read 3034 times)

rtomancini

  • Newbie
  • *
  • Posts: 13
Car attributes not displaying models
« on: October 05, 2013, 01:38:55 am »
Hi Guys
the plugin seems to be working  ok
I am able to select from the drop down menu the make
but not the model or type of car
see here:
http://prntscr.com/1va74b

any ideas?

thanks a lot

serjuc11111

  • Hero Member
  • *****
  • Posts: 814
Re: Car attributes not displaying models
« Reply #1 on: October 24, 2013, 05:10:37 pm »
check in admin panel and see if u have linked any model from Chevrolet!

werwe

  • Newbie
  • *
  • Posts: 27
Re: Car attributes not displaying models
« Reply #2 on: January 26, 2014, 09:09:30 pm »
I have the same problem and fail to solve.
Posting can select the brand and type of car but there is no list of models.
The admin panel can successfully manage posting and models list can be selected.
Modern use themes.
Replacing Modern theme with Bender, cars Attributes plugin works well.
Can you help me?
Thanks in advance

SOLVED The problem was in global.js
« Last Edit: January 28, 2014, 01:09:36 pm by werwe »

wajdan

  • Newbie
  • *
  • Posts: 1
Re: Car attributes not displaying models
« Reply #3 on: January 30, 2014, 07:39:49 am »
hi werwe, I am having same problem. Could you please post the solution here??

fre2mansur

  • Hero Member
  • *****
  • Posts: 711
Re: Car attributes not displaying models
« Reply #4 on: March 23, 2014, 10:14:55 am »
I have the same problem and fail to solve.
Posting can select the brand and type of car but there is no list of models.
The admin panel can successfully manage posting and models list can be selected.
Modern use themes.
Replacing Modern theme with Bender, cars Attributes plugin works well.
Can you help me?
Thanks in advance

SOLVED The problem was in global.js

how to solve with global.js???

werwe

  • Newbie
  • *
  • Posts: 27
Re: Car attributes not displaying models
« Reply #5 on: April 18, 2014, 10:38:32 am »
@fre2mansur - Switch global.js  "function selectUi(thatSelect)"  with this function:

function selectUi(thatSelect){
    var uiSelect = $('<a href="#" class="select-box-trigger"></a>');
    var uiSelectIcon = $('');
    var uiSelected = $(''+thatSelect.find("option:selected").text().replace(/^\s*/gm, '')+'</span>');
    var uiWrap = $('<div class="select-box '+thatSelect.attr('class')+'" />');

    thatSelect.css('filter', 'alpha(opacity=40)').css('opacity', '0');
    thatSelect.wrap(uiWrap);



    uiSelect.append(uiSelected).append(uiSelectIcon);
    thatSelect.parent().append(uiSelect);
    uiSelect.click(function(){
        return false;
    });
    thatSelect.change(function(){
        str = thatSelect.find('option:selected').text().replace(/^\s*/gm, '');
        uiSelected.text(str);
    });
    thatSelect.bind('removed', function() {
        thatSelect.parent().remove();
    });
}



Now car model can be selected. To me it worked.
Regards