Disconnect between Agents & properties with Realty Template

5 posts by 3 authors in: Forums > CMS Builder
Last Post: October 1, 2010   (RSS)

Re: [csdesign] Disconnect between Agents & properties with Realty Template

By Jason - October 1, 2010

Hi Tina,

I took a look at your page and was unable to recreate this issue. Could you give me a link to a page where you are getting the "no listings were found" error. Also, if you could attach the .php file in question to this thread, I can take a closer look.

Hope this helps.
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

Re: [Jason] Disconnect between Agents & properties with Realty Template

By csdesign - October 1, 2010

Hi Jason,

Here's the property page with blank "listed by" and "phone:
http://www.americanwestrealty.com/listpage.php

Listing Detail page is attached.


On this homepage list - All current listings are under Kay since it's a new site. Click on "view my listings" (all are listed by her) and you get "no listings were found!"
http://www.americanwestrealty.com/homepages.php

this is the line that handles that:

<a href="listings.php?createdByUserNum=<?php echo $homepage['createdByUserNum'] ?>">View my listings</a></td>

I do notice reference to userNum=3 on an of the property detail pages (View my listings) and on the homepage listing page - if you roll over their "view my listings" links - I get user 1, and three user 2... I assume everyone should have their own unique user number.

Thanks!

Re: [csdesign] Disconnect between Agents & properties with Realty Template

By Chris - October 1, 2010

Hi csdesign,

You're definitely onto the problem there: there shouldn't be three links with ?createdByUserNum=2 !

Please post the complete PHP source code for your homepages.php page and we can take a look.

P.S. If you go to http://www.americanwestrealty.com/listings.php?createdByUserNum=3, you can see all the listings show up.

P.P.S. It seems like there is no "agent 3" — you get an error message if you go to http://www.americanwestrealty.com/homepageDetail.php?3. I'm guessing that agent 3 was deleted. It seems that Kay is agent 2. You'll need to edit those listings as an administrator and assign them to a new user.
All the best,
Chris

Re: [chris] Disconnect between Agents & properties with Realty Template

By csdesign - October 1, 2010

Okay... got it. I went to Homepages, and modified each agent so that the "created by" name was the same name as the agent and now it all works. Yea! Thank you!!!