Hi,
I am pretty new to this component, so far so good.
i just want to know if there is a workaround to make the Module Category 3.0.1 to show ALL subcategories open without having to click its parent category. Something like this:
-Parent 1
--Child 1.1
--Child 1.2
--Child 1.3
-Parent 2
--Child 2.1
--Child 2.2
--Child 2.3
Instead of just
-Parent 1
-Parent 2
I tried to fool around with file default.php under modules/mod_jshopping_categories/tmpl
But i am not much of a php expert myself.
If anyone can have a solution for this I would greatly appreciate it.
Thanks
Leo.
-------
Hat jemand weiß, wie man dieses Modul zu machen, um alle Unterkategorien zu zeigen? Wie folgt:
-Kategorie 1
- Sub-Kategorie 1.1
- Sub-Kategorie 1.2
- Sub-Kategorie 1,3
-Kategorie 2
- Sub-Kategorie 2.1
- Sub-Kategorie 2.2
- Sub-Kategorie 2,3
Das Modul-Code ist:
<?php
foreach($categories_arr as $curr){
$class = "jshop_menu_level_".$curr->level;
if ($categories_id[$curr->level]==$curr->category_id) $class = $class."_a";
?>
<div class = "<?php print $class?>">
<a href = "<?php print $curr->category_link?>"><?php print $curr->name?>
<?php if ($show_image && $curr->category_image){?>
<img align = "absmiddle" src = "<?php print $jshopConfig->image_category_live_path."/".$curr->category_image?>" alt = "<?php print $curr->name?>" />
<?php } ?>
</a>
</div>
<?php
}
?>
Joomla: 1.7
JoomShopping: 3.2.1
PHP: 5.2.17
MySQL: 5.0.92-community
Website Url: http://joomlactiva.com/coauto
JoomShopping: 3.2.1
PHP: 5.2.17
MySQL: 5.0.92-community
Website Url: http://joomlactiva.com/coauto
Last change: 11.08.2011 20:36