Subcategories seperate from category?

kalanta

No avatar

2008-10-05 13:29

Is it possible to make that subcategories (menu3, menu4) will be separate from category? For example, category would be in header and then I would expand the menu, I would like to see subcategories in left column? well, like as in this site: http://www.bham.ac.uk/

» Quick.Cart v3.x

treewood (OpenSolution)

Avatar: treewood

2008-10-06 07:22

kalanta - yes it is possible but you must delete $sMenu3 and $sMenu4 in templates/container.tpl and put there $sSubpagesList
After you must change in styles templates/default.css for .subpagesList, #subList1 and #subList2

kalanta

No avatar

2008-10-06 09:57

I have tried your solution. With Quick.Cms it works, but it has some problems:

1) After I click on subcategory in left column, I can't see the menu tree more. I must to click on main category if I want to see subcategories again;
2) I see news in left column after I click, for example, on "our offer";
3) I've tried it with Quick.Cart and there's one problem more- I don't see subcategories in the column, but I see pages of news style after I choose "our offer".

I think, it's impossible to resolve all those problems by changing CSS only.

treewood (OpenSolution)

Avatar: treewood

2008-10-07 07:51

kalanta - hmmm... if you see news then you have paid version but you didn't mention that. You want to display subcategories of category. And it is ok. News are subcategories too.

You can edit actions_client/p.php and find this:

      if( $aData['iSubpagesShow'] < )
        
$sSubpagesList $oPage->listSubpages$iContent$aData['sTemplate'], $aData['iSubpagesShow'] );

and change to:

      if( $aData['iSubpagesShow'] < ){
        if( !empty( 
$aData['iPageParent'] ) )
          
$sSubpagesList $oPage->listSubpages$aData['iPageParent'], $aData['sTemplate'], $aData['iSubpagesShow'] );
        else
          
$sSubpagesList $oPage->listSubpages$iContent$aData['sTemplate'], $aData['iSubpagesShow'] );
      }


You will see subcategories after you choose subcategory.

kalanta

No avatar

2008-10-07 09:33

News or subpages is almost the same. So, I want to see subcategories, but I don't want to see subpages or alike in my column. Is there any solution (2)? And what about (3).

Yes, I have paid version, but I'm posting in this forum because I think this topic could be helpful for others in future. If you don't want to write any tips for paid version here, when write for free version.

Back to top
about us | contact