From 95b07343a9b565ce05fc83a177a1aacf3a4911be Mon Sep 17 00:00:00 2001 From: chmst Date: Sat, 25 Sep 2021 23:32:56 +0200 Subject: [PATCH] repeat adapting to com_categories --- .../tmpl/categories/default_items.php | 64 ++++++++++--------- 1 file changed, 34 insertions(+), 30 deletions(-) diff --git a/src/components/com_weblinks/tmpl/categories/default_items.php b/src/components/com_weblinks/tmpl/categories/default_items.php index 6417cc4..fad8cd7 100644 --- a/src/components/com_weblinks/tmpl/categories/default_items.php +++ b/src/components/com_weblinks/tmpl/categories/default_items.php @@ -16,18 +16,20 @@ use Joomla\Component\Weblinks\Site\Helper\RouteHelper; if ($this->maxLevelcat != 0 && count($this->items[$this->parent->id]) > 0) : ?> - items[$this->parent->id] as $id => $item) : ?> - params->get('show_empty_categories_cat') || $item->numitems || count($item->getChildren())) : ?> - - - + +