Welcome, Guest
Username: Password: Remember me

TOPIC: Search function from menu

Search function from menu 4 years 10 months ago #3564

  • crossini
  • crossini's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 4
  • Karma: 0
Search function from menu "index.php?option=com_cmgroupbuying&view=search"
does not work.

through the module on the other hand, there are no problems
The administrator has disabled public write access.

Search function from menu 4 years 10 months ago #3565

  • hungtran
  • hungtran's Avatar
  • Offline
  • Moderator
  • Posts: 1636
  • Thank you received: 245
  • Karma: 27
Hi

Could you please tell me what layout you are using?

Thank you
Hung
The administrator has disabled public write access.

Search function from menu 4 years 10 months ago #3566

  • crossini
  • crossini's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 4
  • Karma: 0
CM Group Buy layout
The administrator has disabled public write access.

Search function from menu 4 years 10 months ago #3567

  • hungtran
  • hungtran's Avatar
  • Offline
  • Moderator
  • Posts: 1636
  • Thank you received: 245
  • Karma: 27
Hi

Thank you for the info! You can fix that by modifying the line 33 in components/com_cmgroupbuying/layouts/groupbuy/search.php from
<form action="<?php echo JRoute::_('index.php', false); ?>" method="get" class="form-horizontal">

to
<form action="<?php echo CMGroupBuyingHelperCommon::prepareRedirect('index.php?option=com_cmgroupbuying&view=search'); ?>" method="get" class="form-horizontal">

Regards,
Hung
The administrator has disabled public write access.
The following user(s) said Thank You: crossini