Modules "Category Tree, Horisontal, Vertical menu" + Joomshopping 3.19.2

StartPrev 1 2 NextEnd
17.11.2014 18:07
#1
rudoy24
Joomshopping forum user no avatar
Name: Taras
12.09.2013
Posts: 32
Quote
Modules "Category Tree, Horisontal, Vertical menu" + Joomshopping 3.19.2

Hello.

Bundle: Category Tree 3.4.0 + Joomshopping 3.19.2.
When activating menu item, it is not assigned to the class "active"!
How to fix this bug?

Please answer one more question:
How to assign the class "parent" to the menu item which has a submenu? (similar to classic menu in joomla).


Joomla: 2.5.27
JoomShopping: 3.19.2
 
18.11.2014 23:11
#2
rudoy24
Joomshopping forum user no avatar
Name: Taras
12.09.2013
Posts: 32
Quote
Aw: Modules "Category Tree, Horisontal, Vertical menu" + Joomshopping 3.19.2

please reply on this topic!

 
19.11.2014 07:48
#3
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25938
Quote
Aw: Modules "Category Tree, Horisontal, Vertical menu" + Joomshopping 3.19.2

Do not see the error - added class active.


Change helper.php for add class parent


Last change: 19.11.2014 07:59
 
19.11.2014 08:26
#4
rudoy24
Joomshopping forum user no avatar
Name: Taras
12.09.2013
Posts: 32
Quote
Aw: Modules "Category Tree, Horisontal, Vertical menu" + Joomshopping 3.19.2

Hello .
Сlass "active" will not work if the module settings to specify parameter Start category ID longer than 0.
Example:
1. If "Start category ID = 0" ( http://screencast.com/t/Syxe31f4k ) >> class "active" work ( http://screencast.com/t/9qyyzw1XKYo )
2. If "Start category ID = 217" ( http://screencast.com/t/ficBybaix7X8 ) >> class "active" not working ( http://screencast.com/t/pNToNRqZ6u )


Last change: 19.11.2014 11:03
 
20.11.2014 13:37
#5
rudoy24
Joomshopping forum user no avatar
Name: Taras
12.09.2013
Posts: 32
Quote
Aw: Modules "Category Tree, Horisontal, Vertical menu" + Joomshopping 3.19.2

please reply on this topic!

 
20.11.2014 15:32
#6
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25938
Quote
Aw: Modules "Category Tree, Horisontal, Vertical menu" + Joomshopping 3.19.2

We need time to see and correct the problem.

 
20.11.2014 21:18
#7
rudoy24
Joomshopping forum user no avatar
Name: Taras
12.09.2013
Posts: 32
Quote
Aw: Modules "Category Tree, Horisontal, Vertical menu" + Joomshopping 3.19.2

Ok,expect an answer, thanking you in advance.

 
21.11.2014 09:25
#8
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25938
Quote
Aw: Modules "Category Tree, Horisontal, Vertical menu" + Joomshopping 3.19.2

Install Category Tree 3.4.1

 
21.11.2014 10:25
#9
rudoy24
Joomshopping forum user no avatar
Name: Taras
12.09.2013
Posts: 32
Quote
Aw: Modules "Category Tree, Horisontal, Vertical menu" + Joomshopping 3.19.2

Thanks, it works great!

 
07.12.2014 17:42
#10
rudoy24
Joomshopping forum user no avatar
Name: Taras
12.09.2013
Posts: 32
Quote
Aw: Modules "Category Tree, Horisontal, Vertical menu" + Joomshopping 3.19.2

Hello.
Found another problem.
My settings - http://screencast.com/t/MkyNfikG6y

If I located on the list of product subcategories then menu displayed correctly and disclosed - http://screencast.com/t/itOGS5z7TZE
But if I go into the product subcategory (product "M1"), menu displayed minimized and subcategories no class "selected" - http://screencast.com/t/yCzL9ko4

How to solve the problem that menu has been disclosed?

 
09.12.2014 16:54
#11
rudoy24
Joomshopping forum user no avatar
Name: Taras
12.09.2013
Posts: 32
Quote
Aw: Modules "Category Tree, Horisontal, Vertical menu" + Joomshopping 3.19.2

please reply on this topic!

 
09.12.2014 17:02
#12
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25938
Quote
Aw: Modules "Category Tree, Horisontal, Vertical menu" + Joomshopping 3.19.2

Install Category Tree 3.4.2

 
09.12.2014 17:45
#13
rudoy24
Joomshopping forum user no avatar
Name: Taras
12.09.2013
Posts: 32
Quote
Aw: Modules "Category Tree, Horisontal, Vertical menu" + Joomshopping 3.19.2

Сlass problem remained!


Last change: 09.12.2014 18:11
 
09.12.2014 18:04
#14
rudoy24
Joomshopping forum user no avatar
Name: Taras
12.09.2013
Posts: 32
Quote
Aw: Modules "Category Tree, Horisontal, Vertical menu" + Joomshopping 3.19.2

Now menu displayed correctly and disclosed, but no class "selected", making it difficult to apply the style only to the last active link - http://screencast.com/t/NRrC355J

How to fix this bug?

 
09.12.2014 23:53
#15
rudoy24
Joomshopping forum user no avatar
Name: Taras
12.09.2013
Posts: 32
Quote
Aw: Modules "Category Tree, Horisontal, Vertical menu" + Joomshopping 3.19.2

Не буду больше писать на ломаном английском, так как в языке не селен, вижу что техподдержка и на русском отвечает! ))

Собственно проблема с классом "selected" осталась, и класс по прежнему пустой если находимся в товаре - http://screencast.com/t/NRrC355J .
Класс последнего активного пункта меню необходим для того чтобы применить к нему стиль, так как класса нету применить стилизирование именно к последнему активному пункту меню не получается, только ко всей цепочке.

Необходимо что бы меню отображалось идентично как в списке товаров категории, так и в самом товаре определенной категории: меню было бы раскрыто, а у конечной категории открытого товара был класс "selected" (можно и другой, главное чтобы был хоть какой-то)!


Last change: 09.12.2014 23:53
 
10.12.2014 09:50
#16
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25938
Quote
Aw: Modules "Category Tree, Horisontal, Vertical menu" + Joomshopping 3.19.2

Там уже достачно класов

active open

 
10.12.2014 10:09
#17
rudoy24
Joomshopping forum user no avatar
Name: Taras
12.09.2013
Posts: 32
Quote
Aw: Modules "Category Tree, Horisontal, Vertical menu" + Joomshopping 3.19.2

Добавился класс "open" к списку (к тегу: li), что дало возможность развернуть структуру меню, но к конечной категории, к самой ссылке (тегу: a), класс "selected" не добавился, а необходимо чтобы было идентичное отображение маню как в списке товаров категории так и в самом товаре.
Просто получается так что пока ходишь по подкатегориям одно отображение, а когда попадаешь в товар другое.

Список товаров категории: http://screencast.com/t/eZgwFPQyL
Товар: http://screencast.com/t/7pd1KzlNFplu

Пожалуйста, напишите как это реализовать!


Last change: 10.12.2014 10:20
 
10.12.2014 10:36
#18
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25938
Quote
Aw: Modules "Category Tree, Horisontal, Vertical menu" + Joomshopping 3.19.2

Меняйте helper.php

function displayTreeCat
...

print '<a href="'.$cat->url.'">';

 
10.12.2014 11:52
#19
rudoy24
Joomshopping forum user no avatar
Name: Taras
12.09.2013
Posts: 32
Quote
Aw: Modules "Category Tree, Horisontal, Vertical menu" + Joomshopping 3.19.2

Если просто прописать класс к:
print '<a href="'.$cat->url.'" class="lastcat">';

Тогда ко всем тегам <a> прописывается этот клаcс, а необходимо что бы только к последнему активному пункту меню, как это реализовать?

 
10.12.2014 13:31
#20
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25938
Quote
Aw: Modules "Category Tree, Horisontal, Vertical menu" + Joomshopping 3.19.2

if ($cat->category_id==JRequest::getInt('category_id')){
$aactive = 1;
}

 
StartPrev 1 2 NextEnd


Copyrights MAXXmarketing GmbH. Alle Rechte vorbehalten
Durch die Nutzung dieser Website stimme ich zu, dass Cookies zur optimalen Gestaltung der Website sowie zur Analyse der Nutzung der Website verwendet werden. Weiterführende Informationen finden Sie hier. OK, einverstanden.