add category name in category layout of virtuemart
Rate this topic: 1.00 out of 6 based on 1 vote(s)
- GK User
- Wed Dec 14, 2016 12:41 pm
- Reply with quote
- Report this post
How can i add the category name in category layout?
-
- Fresh Boarder
- teitbite
- Mon Dec 19, 2016 12:23 pm
- Reply with quote
- Report this post
Hi
I can see a code to show category name is there already. Please try to force it without condition. Edit file /html/com_virtuemart/category/default.php and change code:
into
I can see a code to show category name is there already. Please try to force it without condition. Edit file /html/com_virtuemart/category/default.php and change code:
- Code: Select all
<?php if(!empty($this->category->category_name)) : ?>
<h1><?php echo $this->category->category_name; ?></h1>
<?php endif; ?>
into
- Code: Select all
<h1><?php echo $this->category->category_name; ?></h1>
-
- Moderator
2 posts
• Page 1 of 1