ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Property Rental Website Channel Organization

January 11, 2012 6:59pm

Subscribe [2]
  • #1 / Jan 11, 2012 6:59pm

    I’m currently building a property rental site where we want to have the properties organized under their respective locations. For example, we have properties in Mexico, Florida, and British Columbia, so want the site map to look like this:

    Mexico
      • Property 1
      • Property 2
    Florida
      • Property
    British Columbia
      • Property

    We’ll also have some other general pages like Contact, About, Privacy, Terms & Conditions, etc.

    My first thought was to use Structure and organize all the property entries as pages in the hierarchy, but I’m not sure that’s the best method. The confusion I have is if I should have the specific properties as “Listing” entries under the locations, or as pages themselves. The issue I’ll run into in the future is if the client wants to add another Location themselves, they also have to associate a Listing channel along with it.

    The other option I can think of is to use the built in Pages module for my static content, and have a Location and a Property channel, with the Property using the Location channel in a Relationship fieldtype.

    Any thoughts or advice would be appreciated.

  • #2 / Jan 12, 2012 11:44am

    Rob Allen

    3106 posts

    I’d say one Channel to hold property data, then use Categories to split them by area, this would also allow you to easily add new area categories when you expand.

  • #3 / Jan 12, 2012 12:22pm

    I could do that, but I’d really like to maintain the URL structure and use Structure’s built in breadcrumbs function.

    My goal is to have the url look like this:

    <a href="http://vacationrentals.com/location/property">http://vacationrentals.com/location/property</a>

    where location would be something like “mexico”, and property would be the name of the rental. I’d also like to keep the breadcrumb functionality if possible so if you’re on a location page, you see Home » Location, and on property pages see Home » Location » Property.

    Wouldn’t using categories destroy both the URL and breadcrumb structure?

  • #4 / Jan 12, 2012 12:29pm

    Rob Allen

    3106 posts

    By default categories will give you a URL such as /template_group/category/category_name or /template_group/template/category/category_name

    You could look at using the http://gotolow.com/addons/low-seg2cat addon for manipulating categories and URL’s.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases