Alternative layouts for product filter module

  • Matija Trček
  • Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 10 months ago #131412 by Matija Trček
Alternative layouts for product filter module was created by Matija Trček
Please add option for alternative layouts for product filter module.

I have managed to do that myself by adding this field to XML file:
Code:
<field name="layout" type="modulelayout" label="JFIELD_ALT_LAYOUT_LABEL" description="JFIELD_ALT_MODULE_LAYOUT_DESC" />

and this to end of mod_eshop_products_filter.php
Code:
require JModuleHelper::getLayoutPath('mod_eshop_products_filter', $params->get('layout', 'default'));

Please Log in or Create an account to join the conversation.

  • Giang Dinh Truong
  • Offline
  • Administrator
  • Administrator
More
4 years 9 months ago #132166 by Giang Dinh Truong
Replied by Giang Dinh Truong on topic Alternative layouts for product filter module
OK Matija Trček,

I will implement this in the next version of EShop.

Thank you for suggesting.

Sincerely, Giang

Please Log in or Create an account to join the conversation.

Moderators: Giang Dinh Truong