Mitchell

BT Property Filter and Joomla SEF problem

7 posts in this topic

Hi, I have one small problem before my website can be launched. Right now I have Joomla's SEF and URL Rewriting on, but when I try to make a search on the homepage, the URL for the search results become weird. Can you remove the SEF from BT Property Filter?

my website: www.perthhotelconferences.com

URL when I make search page one:


http://www.aushotelconference.com/index.php?task=filter&option=com_bt_property&view=properties&searchword=&price_from=50%2B&extraid%5B28%5D=28&extraselect%5B28%5D=&extraid%5B29%5D=29&extraselect%5B29%5D=&extraid%5B30%5D=30&extraselect%5B30%5D=&method=AND&Itemid=295
[/CODE]

When I click next page:

[CODE]
http://www.aushotelconference.com/component/bt_property/task/filter/?price_from=50%20&extraid[28]=28&extraid[29]=29&extraid[30]=30&extraselect[28]=&extraselect[29]=&extraselect[30]=&method=AND&Itemid=295&start=15
[/CODE]

When I click back to page 1:

[CODE]
http://www.aushotelconference.com/perth-venues/task/filter/?price_from=50%20&extraid[28]=28&extraid[29]=29&extraid[30]=30&extraselect[28]=&extraselect[29]=&extraselect[30]=&method=AND
[/CODE]

edit: I've moved the website to www.perthhotelconferences.com

Share this post


Link to post
Share on other sites

Hi, I've removed this code from router.php and it's less broken now. I will wait for your fix in the meantime. ^_^


if (!isset($query['Itemid'])) {
$itemID = BTPropertyFindItemID($catid, 0 , $view);
if ($itemID) {
$menuItem = $menu->getItem($itemID);
$query['Itemid'] = $itemID;
}
}
[/CODE]

Share this post


Link to post
Share on other sites

Hi Mitchell.

I'm sorry for my late.

With this problem please try to open file /modules/mod_bt_property_filter/tmpl/horizontal.php

change this line

<form role="form" id="bt-property-filter" class="form-map form-search" action="">

to

<form role="form" id="bt-property-filter" class="form-map form-search" action="<?php echo JRoute::_('index.php?option=com_bt_property&view=properties&task=filter')?>">

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now