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.

By Chris - April 7, 2010

Hi Dan,

Glad to help, and thanks for the kind words. :)

No, I'm afraid we don't tweet (and neither do I) but we appreciate any tweeting you choose to do on our behalf! They say that word-of-mouth is the best kind of advertising.

All the best!
All the best,
Chris