Results 1 to 4 of 4

Thread: Can we add an additional field to the listings

  1. #1
    Thread Starter
    thomman's Avatar
    Join Date
    Apr 2009
    Location
    Cochin, Kerala, India
    Posts
    79
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Can we add an additional field to the listings

    This is something I have felt useful which I have running on my site www.kachavadom.com. In the opening page listing the latest ad it would be good if there was a category field too included. So when the list of latest ads are shown each listing would also show what category they belong to. So later on when you bring sortable listings people could just sort the latest page on category and see only the category they want. Similarly a sub category could be incorporated into other pages so in the event of sub category for a category the listing will show which sub category the listing belongs to. Ex if the category is real estate. You would have sub categories like apartment, property etc. So in the event there are sub categories as in the example for real estate page when a user click the real estate page the listing page would show the sub category for each listing which again could be sorted once you incorporate sorting so a person looking for apartment can browse only thought apartments in Real estate. what do you think?

  2. #2
    Thread Starter
    thomman's Avatar
    Join Date
    Apr 2009
    Location
    Cochin, Kerala, India
    Posts
    79
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Can we add an additional field to the listings

    Im planning to setup catagories (like Real Estate) and then their child category (Apartment etc) which will again have a child category (for sale, for rent, wanted for purchase, wanted on rent). So if we set up each listing page to show the next child category as a field in the listing. The latest page would show a Category field showing its next child which is our real categories. When you take a category page it will show the next child property as the Category so in our Real Estate page it would show (Apartments, Property etc) And if we clcik on that child category it would show the next child relation as a Category of listing (ie for sale, wanted for purchase etc.) Its just that we need to choose the child property for each category when its created so that it gets listed. It would be great what do you think?

  3. #3
    Thread Starter
    thomman's Avatar
    Join Date
    Apr 2009
    Location
    Cochin, Kerala, India
    Posts
    79
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Can we add an additional field to the listings

    David can this be done?

  4. #4
    Founder dcowgill's Avatar
    Join Date
    Mar 2009
    Location
    San Francisco, CA
    Posts
    1,939
    Thanks
    66
    Thanked 135 Times in 99 Posts

    Re: Can we add an additional field to the listings

    Yes, if you wanted to add another column on the listing page called Category it's pretty easy. Then to call the ad category you'd want to use the following code:

    Code:
    <?php the_category(','); ?>

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)