RSS
Home Forum old v2

Property Forum

The new Joomla! Component

You are not logged in.

Add to: Mr. Wong Add to: Mr. Wong Add to: Webnews Add to: Icio Add to: Oneview Add to: Folkd Add to: Yigg Add to: Linkarena Add to: Digg Add to: Del.icio.us Add to: Reddit Add to: Simpy Add to: StumbleUpon Add to: Slashdot Add to: Netscape Add to: Furl Add to: Yahoo Add to: Spurl Add to: Google Add to: Blinklist Add to: Blogmarks Add to: Diigo Add to: Technorati Add to: Newsvine Add to: Blinkbits Add to: Ma.Gnolia Add to: Smarking Add to: Netvouz Information

#1 2009-07-22 09:47:01

snowman
New member

Show all properties in a locality/country

Hi Este8an, thanks for a great component, I have been looking for something to use to display vacation rentals and yours is by far the best I have found. I have a couple of small requests if this is possible.

I would like to be able to view all properties in a locality or country, in the same way you can for categories, sub categories and types.

So there would be direct links to Madrid, Barcelona, Valencia for example, and if you click on one it will show you all the properties available in that locality.

Even if I have to add the static links myself that is fine, but is it possible to list all properties by locality, for example - index.php?option=com_properties&lid=2&Itemid=5 or index.php?option=com_properties&cyid=1&lid=2&Itemid=5

Maybe it would be possible to do the same for countries, so if you clicked on 'Villas in Spain' it would show you all the properties available in Spain.

It would also be great for the locality/country to appear in the breadcrumb.

Thanks again.

 

#2 2009-07-22 15:31:12

este8an
Administrator

Re: Show all properties in a locality/country

test:
Spain = 3

Sorry. You have to be registered to access this content.


Spain = 3 Madrid = 5

Sorry. You have to be registered to access this content.


Spain = 3 Barcelona = 4

Sorry. You have to be registered to access this content.



can add locality
Spain = 3 Madrid = 5 'Locality Madrid' = 15

Sorry. You have to be registered to access this content.

 

#3 2009-07-23 03:14:50

snowman
New member

Re: Show all properties in a locality/country

Thanks for the quick reply, that works great. Sorry I notice I missed out view=properties in the example URLs I gave before. I was trying to get it to work with index.php?option=com_properties&view=properties&cyid=1&lid=2&Itemid=5. I now understand that those direct links only work with categories and types, NOT countries, states or localities.

The task=search links that you showed me work fine but it would be nice to have the links generated automatically like with the Category and Type module, and I would like to have the country and locality show in the breadcrumb.

Would it be difficult to modify the component so that direct links to localities, for example index.php?option=com_properties&view=properties&cyid=1&lid=2&Itemid=5 would work? I could then modify the Category + Type module so that the links for countries and localities were automatically generated instead, and I could add the country and locality links into the breadcrumb.

Thanks.

Last edited by snowman (2009-07-23 03:46:53)

 

#4 2009-08-21 09:32:37

lars2110
Member

Re: Show all properties in a locality/country

Hello,

Did you solve your problem? I want the same as you do.

Thanks in advance

 

#5 2009-08-21 19:58:39

snowman
New member

Re: Show all properties in a locality/country

No unfortunately I never heard back from este8an. I haven't looked into this myself yet, I've been busy modifying other things. I definitely still want to do this though. I want my breadcrumb to look something like this - All Properties > France > Biarritz > Catered Villa > Villa Name. I would like to be able to click on Biarritz and see all the properties in that area, or to click on Catered Villa (the property type) and see all the catered villas in Biarritz etc.

I would like to have direct links rather than task=search links so that I could modify the Category + Type module to generate the links automatically when I add countries or localities.

If I manage to do it I will let you know but I think this may require quite a bit of modification and be beyond my capabilities. I don't know if este8an has the time or inclination to do it.

 

#6 2009-09-25 04:46:57

drongo79
New member

Re: Show all properties in a locality/country

If you use vertical search then you can search by loaction and region all you have to do is to add the depts and regions in the back end. Hope that is what you meant.

 

#7 2009-09-25 11:58:14

este8an
Administrator

Re: Show all properties in a locality/country

Snowman, test please.

Sorry. You have to be registered to access this content.

 

#8 2009-09-25 21:02:09

katonaz
New member

Re: Show all properties in a locality/country

Is it possible to set up the module_countries to show only States and Localites without country, and that it is always shown, not only when I click on countries - states - locality?

By the way, the component and support is very good.


Thanks in advance.

 

#9 2009-09-25 22:01:28

este8an
Administrator

Re: Show all properties in a locality/country

test please, in module params select show or not localities allweys.

Sorry. You have to be registered to access this content.

 

#10 2009-09-26 06:44:58

katonaz
New member

Re: Show all properties in a locality/country

Wow, thank you for quick respond.

That was exactly what I want.

You are great!

 

#11 2009-09-27 04:14:33

snowman
New member

Re: Show all properties in a locality/country

Thanks este8an, it works great. I would like to hide the States though, so if you click on Spain it lists all the Spanish localities underneath instead of the States. Can you help me with this?

Last edited by snowman (2009-09-27 05:52:01)

 

#12 2009-09-27 10:50:00

este8an
Administrator

Re: Show all properties in a locality/country

Snowman, download again and config in module params 'Only show Localities by Country' to yes.

 

#13 2009-09-27 19:45:55

snowman
New member

Re: Show all properties in a locality/country

este8an that's brilliant, thankyou very much. There is one slight error, when you click on a country it lists the localities underneath that country, but it also lists them under the other countries too, like this:

France
  Madrid
  Barcelona
Portugal
  Madrid
  Barcelona
Spain
  Madrid
  Barcelona

I fixed this by adding an if($cyid == $item->id) statement to the foreach ($Localities as $Locality) loop.

 

#14 2009-09-27 20:07:45

este8an
Administrator

Re: Show all properties in a locality/country

sorry snowman, i test with only 1 country, good job wink

 

#15 2009-09-27 20:30:49

snowman
New member

Re: Show all properties in a locality/country

No problem este8an, I think this module is a great addition to an already fantastic component. Thanks for taking the time to create it, and modify it for my needs.

Now users can browse by Country/State/Locality as well as Category/Type.

 

#16 2009-09-28 18:54:06

Re: Show all properties in a locality/country

Fantastic I have inserted in the pages of properties separated by categories. Very good.

 

#17 2009-10-03 02:54:44

Mp6666
New member

Re: Show all properties in a locality/country

Hi Este8an, great job. I experienced the following and need your help:-

For 'Only show Localities by Country', when click on locality it can display all properties correctly under that locallity. But for mod_prop_state when click on locality some can display exactly the number of properties (not consistently display correctly)and some did not display any or display less then that. For example, the locality have 3 properties, it only display 1, or locality have 1 property but it display nothing.

Thanks

 

#18 2010-02-09 12:12:46

lorenzofp
New member

Re: Show all properties in a locality/country

Hi Esteban,

i have the same request as snowman, but i tried to download the files you put in this thread, and i received a 404 error.

Can you please upload them again? i really want to use your great component, but i really need an option to choose localities in the same way we choose category today in the parametres of the menu item.

please, Este8an, can you help me?

 

#19 2010-05-15 09:26:29

dspring
New member

Re: Show all properties in a locality/country

Hi,

I also need the functionality for displaying links regarding country/state/locality.

I tried to download the module from this link: 

Sorry. You have to be registered to access this content.

… &id=40

but it looks like it is not there anymore.

este8an, could you please post the module again?

thank you in advance.

the component is great, but with this functionality it would be perfect. smile

 

Forum Tools

Board information

Board statistics
Total number of registered users: 3177
Total number of topics: 837
Total number of polls: 3
Total number of posts: 3066
Total number of posts this week: 3
User information
Newest registered user: pelkosha
Registered users online: 0
Guests online: 5

Powered by Agora 2.5.5 Pantheon
© Copyright 2007 - 2008 Joomla Me!. All rights reserved.