Re: [chris] Sub-categories Tutorial

14 posts by 2 authors in: Forums > CMS Builder
Last Post: April 7, 2010   (RSS)

By Chris - April 6, 2010

Hi Dan,

Try replacing this:

<div class="subtitle"><?php if ($selectedCategory): ?><?php echo $selectedCategory['name'] ?><?php endif ?>, Quebec | MLS#: <?php echo $listingsRecord['mls'] ?> | $<?php echo $listingsRecord['price'] ?><br />
Bedrooms: <?php echo $listingsRecord['bedrooms'] ?> | Bathrooms: <?php echo $listingsRecord['bathrooms'] ?>


...with this:

<div class="subtitle"><?php echo $regionsByNum[ $listingsRecord['city_town'] ]['name'] ?>, Quebec | MLS#: <?php echo $listingsRecord['mls'] ?> | $<?php echo $listingsRecord['price'] ?><br />
Bedrooms: <?php echo $listingsRecord['bedrooms'] ?> | Bathrooms: <?php echo $listingsRecord['bathrooms'] ?>


Does that help? Please let me know if you have any questions.
All the best,
Chris

Re: [chris] Sub-categories Tutorial

Chris,
I don't know what to say except thank you so much. You have been such a big help. You are worth your weight in gold plus 100kilos. I really hope that your employers know how much of an asset you are over there. I will be tweeting the heck out of you guys, you can count on it. Do you guys tweet? Or at least you? If yes please let me know what your user name is so I can follow. Have a great week.

Re: [chris] Sub-categories Tutorial

That's really to bad that you guys don't tweet because it's the best way for any business to interact with their clients, fans etc.... I actually did find CMS Builder on Twitter so it does look like you guys have an account. Anyways thanks again.