Skip to content

armgit / Vvveb

Public Imported from GitHub
0

Powerful and easy to use cms to build websites, blogs or ecommerce stores.

Product tag

givanz759e3b25a9ac
diff --git a/app/controller/product/tag.php b/app/controller/product/tag.php
new file mode 100644
index 0000000..2d84532
--- /dev/null
+++ b/app/controller/product/tag.php
@@ -0,0 +1,27 @@
+<?php
+
+/**
+ * Vvveb
+ *
+ * Copyright (C) 2022 Ziadin Givan
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <https://www.gnu.org/licenses/>.
+ *
+ */
+
+namespace Vvveb\Controller\Product;
+
+class Tag extends Category {
+ protected $type = 'tag';
+}
diff --git a/app/template/content/tag.tpl b/app/template/content/tag.tpl
index a140be5..08cfae0 100644
--- a/app/template/content/tag.tpl
+++ b/app/template/content/tag.tpl
@@ -1 +1 @@
-import(category.tpl)
\ No newline at end of file
+import(content/category.tpl)