- Posts: 160
- Thank you received: 1
Categories layout view
-
hkeyzer
Inactive member - Topic Author
- Member
Less
More
11 years 4 months ago #32350
by hkeyzer
Categories layout view was created by hkeyzer
How do we adjust the view so that category description displays when we link to a virtuemart category layout in a menu?
Currently it displays the title and image assigned to the categories.
I believe it is the components\com_virtuemart\views\categories\tmpl\default.php file that needs to be edited - but don't know what I have to add to display the description as well.
Currently it displays the title and image assigned to the categories.
I believe it is the components\com_virtuemart\views\categories\tmpl\default.php file that needs to be edited - but don't know what I have to add to display the description as well.
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
11 years 4 months ago #32354
by ivan.milic
Replied by ivan.milic on topic Categories layout view
It is templates\hot_drug_store\html\com_virtuemart\category\default.php
but category description is already coded to display:
<?php echo $this->category->category_description ; ?>
but category description is already coded to display:
<?php echo $this->category->category_description ; ?>
Please Log in to join the conversation.
-
hkeyzer
Inactive member - Topic Author
- Member
Less
More
- Posts: 160
- Thank you received: 1
11 years 4 months ago #32391
by hkeyzer
Replied by hkeyzer on topic Categories layout view
Hi,
Thanks, product description wasn't displaying and couldn't find the code in the files - however once I added it to templates\hot_drug_store\html\com_virtuemart\category\default.php.
It did appear.
Thanks
Thanks, product description wasn't displaying and couldn't find the code in the files - however once I added it to templates\hot_drug_store\html\com_virtuemart\category\default.php.
It did appear.
Thanks
Please Log in to join the conversation.
Time to create page: 0.158 seconds