News:

Looking for documentation? Take a look on our wiki

Main Menu

complex problem with custom view and SEF

Started by Pirosoft, October 25, 2012, 15:19:17 PM

Previous topic - Next topic

Pirosoft

Hi,
   my problem is this. I have a category named "promotions", a product can be in this category and in other for example "motherboards" or "cpu". This is a example of category tree:
Products
-Computer
--Motherboards
--CPU
-Promotions

I created a new cusotm view from catgeory view, and in the new view and model i add a filter to search product in 2 catgeories (example promotions and CPU or Promotions and motherboards)
When i call the page from menu it's all ok, but after from new filter i have the link like:
http://www.mysite.com/index.php?option=com_virtuemart&view=promotions&virtuemart_category_id=140&virtuemart_subcategory_id=129
so i search the products when are in two category : promotions category (id 140) and cpu (id 129).
And it's all ok.

When i active SEF, the URL is changed in:
http://www.mysite.com/en/promotions-test/promotions?virtuemart_category_id=140&virtuemart_subcategory_id=129

If i click this url my view promotions is not called and is called category view
why?

can you help me please?

thanks