Category description not showing when sub-categories are used

Started by iamalive, September 03, 2012, 14:06:55 PM

Previous topic - Next topic

iamalive

Hi
my client has found the following issue:
He has a number of categories.
Only some of these categories have subcategories.
In the top level category where there are subcategoeires, the description text does not show.
Descriptions do show where there are no subcategories and it shows within the subcategories itself.

I'm using VM 2.0.10 and Joomla 2.5.6

Would appreciate help with this problem.

Regards
David
David Jakob
..stressfreie Webseiten von http://websites4u.ch...

Milbo

Interesting issue.

The problem is that we must solve it with an extra attribute, because sometimes you wanna show, sometimes not. Both ideas makes completly sense.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

iamalive

Hi

Thanks for your comment. Will this issue be tackled in the near future?

Do you have a workaround that I could apply in the meantime?

Thanks in advance

Regards
David
David Jakob
..stressfreie Webseiten von http://websites4u.ch...

Axis

David you can do that by altering the code.

First of all, I assume that the menu item that opens the category with the sub-categories is VirtueMart Categories Layout. (It is better for me with this choice because my parent category has no items inside).

You can display the description by copying the code that displays it from: components\com_virtuemart\views\category\tmpl\default.php
and paste it to the following file: components\com_virtuemart\views\categories\tmpl\default.php

For me the procedure was different because I use a purchased theme, however I think i'm pointing you towards the right direction.
Hope I helped, would be glad to help even  more.

George.