PDA

View Full Version : why not seeing my sub categorie in add profile page ?



Redzheb Duran
May 2, 2016, 12:02 PM
why not seeing my sub categorie in add profile page selection ?1643

Viktor
May 3, 2016, 06:38 AM
Hello Redzheb Duran,

I don't see any Categories on your site. For each listing type only 1 category. System hide 1 category. If you add more then 1 category you will see on add listing page.

Redzheb Duran
May 3, 2016, 12:24 PM
my general categories and my sub categories. add ads page not seeing sub categories ?


1644

Viktor
May 3, 2016, 01:59 PM
If you want you can send ftp access to my pm and I will check it.

Redzheb Duran
May 3, 2016, 03:23 PM
I sented ftp access

Wei Hong
July 25, 2016, 09:27 PM
Hi Viktor, would you please guide me how to show the category even when listing type has 1 category? Because this category has several sub cat. and I want to show it
THank you

Viktor
July 26, 2016, 06:43 AM
Hello Wei Hong,

You can try to remove condition yourself. open file: ftp://libs>>javascript>>system.lib.js
find method: treeLoadLevel

find code:



if ( li.find('select > option').length == 2 ) {
$('a#next_step').attr('href', li.find('select > option:last').val()).removeClass('disabled');
}
else {
li.show();
if (li.find('select:first').val() == '') {
$('a#next_step').attr('href', 'javascript:void(0)').addClass('disabled');
} else {
$('a#next_step').attr('href', li.find('select:last').val()).removeClass('disable d');
}
}


and replace to:


li.show();
if (li.find('select:first').val() == '') {
$('a#next_step').attr('href', 'javascript:void(0)').addClass('disabled');
} else {
$('a#next_step').attr('href', li.find('select:last').val()).removeClass('disable d');
}


save and check again.

Wei Hong
July 26, 2016, 06:46 AM
Much appreciate it Viktor, have a nice day