Powerful and easy to use cms to build websites, blogs or ecommerce stores.
HTML backendblogblog-engineblog-platformbloggingcmscontent-managementcontent-management-systemecommerceecommerce-platformno-codepage-builderphpphp-cmsphp7php8self-hostedshopping-cartweb-applicationwebsite-builder
Set [data-v-taxonomy_item_id] explicitly
givanzae91e567a61f
diff --git a/admin/template/content/categories.tpl b/admin/template/content/categories.tplindex 1ca54de..d6b4938 100755--- a/admin/template/content/categories.tpl+++ b/admin/template/content/categories.tpl@@ -36,6 +36,7 @@ if ($_categories) {//catch all data attributes@taxonomy_item [data-v-taxonomy_item-*] = $taxonomy_item['@@__data-v-taxonomy_item-(*)__@@']+ @taxonomy_item [data-v-taxonomy_item_id] = $taxonomy_item['taxonomy_item_id']@taxonomy_item [data-v-taxonomy_item-url]|href = <?php echo htmlspecialchars(Vvveb\url('post/taxonomy_item/index', $taxonomy_item));?>@taxonomy_item [data-v-taxonomy_item-img]|src = $taxonomy_item['images'][0]diff --git a/admin/template/content/menus/menu.tpl b/admin/template/content/menus/menu.tplindex 29fc541..f9a9120 100755--- a/admin/template/content/menus/menu.tpl+++ b/admin/template/content/menus/menu.tpl@@ -8,7 +8,7 @@ import(common.tpl)@menu|deleteAllButFirstChild-[data-v-taxonomy_id] = <?php echo (int)$this->menu_data['menu_id'];?>+[data-v-taxonomy_id] = <?php echo (int)($this->menu_data['menu_id'] ?? false);?>[data-v-name] = <?php echo htmlspecialchars($this->menu_data['name'] ?? '');?>[data-v-slug] = <?php echo htmlspecialchars($this->menu_data['slug'] ?? '');?>@@ -55,6 +55,7 @@ if ($_categories) {//catch all data attributes@menu [data-v-taxonomy_item-*] = $menu['@@__data-v-taxonomy_item-(*)__@@']+ @menu [data-v-taxonomy_item_id] = $menu['menu_item_id']@menu [data-v-taxonomy_item-url]|href = <?php echo htmlspecialchars(Vvveb\url('post/menu/index', $menu));?>