Author Topic: "Category Layout" for "Top Level Category" not override "Categories" view  (Read 3351 times)

chongwang

  • Beginner
  • *
  • Posts: 13
I got a menu set to "Category Layout" for "Top Level Category", the categories under top level category not showing when i set Page Layout to "Categories".

"Categories" page layout worked for all sub category but not top level category.  :'(

VM 2.6.6
J! 2.5.22

isiway

  • Beginner
  • *
  • Posts: 8
Hello,

same here. So how do I solve the problem?
No categories shown when choosing top level???

Thanks,
Carola

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 10144
  • VM3.9 Eagle Owl
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
hmmm, I wonder, but,... I can say that this is in done a lot easier in vm3, you can choose if it should be shown or not and it is not done via selecting a different layout.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

chongwang

  • Beginner
  • *
  • Posts: 13
hmmm, I wonder, but,... I can say that this is in done a lot easier in vm3, you can choose if it should be shown or not and it is not done via selecting a different layout.

before vm3 came out, we neeed this to be fixed on coming release.

any idea how to fix this immediately?

mbudwick

  • Beginner
  • *
  • Posts: 1

If you edit the menu item you created,

and instead of choosing Category Layout, choose the last item,  Virtuemart Frontpage, it

acts as the Top level Category layout.


dchristof

  • Beginner
  • *
  • Posts: 5
I got a menu set to "Category Layout" for "Top Level Category", the categories under top level category not showing when i set Page Layout to "Categories".

"Categories" page layout worked for all sub category but not top level category.  :'(

VM 2.6.6
J! 2.5.22

This is obviously a bug? As soon as I updated to Virtuemart 2.6.6. my menu showing top level category shows an empty page. All other category pages are working except top level. If I go to Virtuemart Configuration -> Templates and change Category Layout to "categories" then my top level category page is working as before the virtuemart update BUT all other category pages show a different layout (same as top level which means they're not overriden) and the single category page which displayed my products is empty !!!

I've been trying to figure out why this works like that in the new version of Virtuemart but still haven't figured it out.

Is there a solution to this problem??

-- ΕDIT --

I managed to fix my problem by editing my categories.php file and inserting the code from this post

http://forum.virtuemart.net/index.php?topic=115968.msg427168#msg427168

Thanks to Pavel for the fix.