English Support Forum

icon
Avatar
mohican
Posts: 49
Hello,

can we do drill down and URL rewriting with misterestate?

Thanks.
07.07.2009 12:08
Avatar
admin
Moderator
Posts: 887
Hi,

not sure, what you mean with "drilldown" - but if your question is, if it´s possible to create SEF url´s with MisterEstate, the answer is: yes. You only have to turn seo-support on at the global configuration section.

Take a look at this page also: http://misterestate.com/archive/tag/SEF.html

best regards,
Darko
[Last edited by admin, 10.07.2009 10:58]
10.07.2009 10:55
Avatar
mohican
Posts: 49
ok for URL thanks you.

I will explain you for Drill down :

it's like this website : http://www.buyacar.co.uk/search/new_car_alfa_romeo_216.jhtml

If you select the link : 200 000 - 300 000, you will see only appartements which cost this price, after if you select 2-3 rooms you will see only apparements which cost this price and have 2-3 rooms.

You know what i mind?

Regards.
10.07.2009 12:23
Avatar
mohican
Posts: 49
Hi,

i tried to use sh404SEF but i have some mistake. For example, i have a page with this URL :

index.php/component/option,com_misterestate/Itemid,1/act,cat/catid,6/task,showCE/

and a 404 error...

Some pages are working but i always have index.php :

http://www.mywebsite.fr/index.php/example.html

Do you know why?

Thanks.
23.07.2009 10:56
Avatar
admin
Moderator
Posts: 887
Hi,

I´m actually not fully familiar with the sourcecode of sh404SEF and its plugins.
It´s not, that I don´t want to help you. But I assume it would be better if you contact Denis at his forum (http://www.denisdulici.com/). I´m sure, he can help you better and faster in this case.

best regards,
Darko
24.07.2009 00:42
Avatar
mohican
Posts: 49
Hi,

no idea for refine search?

I juste need a module with price for example 0-200000€ and when a user select appartement then 0-200000 he will see only appartement between 0-2000000€.

I tried to create this module but it's not working :
iconphp:
<?php
 
# Don't allow direct acces to the file
defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );
# Module Parameter Settings
 
$moduleclass_sfx 	= $params->get( 'moduleclass_sfx' );
 
 
$option			= JRequest::getVar('option', JRequest::getVar('option', 'com_misterestate', 'post'));
$act			= JRequest::getString('act', JRequest::getString('act', 'cat', 'post'));
$task			= JRequest::getString('task', JRequest::getString('task', '', 'post'));
$id				= JRequest::getInt('id', JRequest::getInt('id', 0, 'post'));
$catid			= JRequest::getVar('catid', JRequest::getVar('catid', array(), 'post'));
$cid			= JRequest::getVar('cid', JRequest::getVar('cid', 0, 'post'));
$uid			= JRequest::getInt('uid', JRequest::getInt('uid', 0, 'post'));
$limit			= JRequest::getInt('limit', JRequest::getInt('limit', $me_perpage, 'post'));
$limitstart		= JRequest::getInt('limitstart', JRequest::getInt('limitstart', 0, 'post'));
$pn				= JRequest::getVar('pn', JRequest::getVar('pn', 0, 'post'));
$msg			= JRequest::getString('msg', JRequest::getString('msg', '', 'post'));
$Itemid			= JRequest::getInt('Itemid', JRequest::getInt('Itemid', 0, 'post'));
$priceMin = 200;
 
 
  echo '<table cellpadding="0" cellspacing="0" border="0" width="100%" class="moduletable'.$moduleclass_sfx.'">';
echo '<a href="'.sefRelToAbs('index.php?option=com_misterestate&act=cat&task=showCE&priceMin='.$priceMin.'&catid='.$catid.'&Itemid='.$Itemid).'">"xxxx"</a>';
 
   echo '</table>';
 
?>


On misterestate.php :

iconphp:
$priceMin	= JRequest::getInt('priceMin', JRequest::getInt('priceMin', 0, 'post'));


iconphp:
 
[...]
switch($task)
			{			
			case "showCE": // show entries of a single category
			showCategoryEntries($option,$act,$task,$catid,$today,$limit,$limitstart,$Itemid,$priceMin);
			break;
[...]



i don't know the query where i can do this :

iconphp:
 " AND price BETWEEN priceMin AND priceMax"



Can you help me?

Thanks you.
29.07.2009 16:01
icon