Active
Project:
PIRETS
Version:
6.x-3.x-dev
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
2 Aug 2010 at 19:04 UTC
Updated:
6 Aug 2010 at 14:34 UTC
How does one get the listing agent information suitable for display? I see an agentID, but no way to use it to look up the needed info.
Comments
Comment #1
Garrett Albright commentedI answered you via email, but for the interest of others…
PIRETS currently only fetches two types of data from servers; property listings and photos. It does not currently manage fetching agent listings, though it can fetch any agent data which is attached to a property listing.
Comment #2
madrock9 commentedI am not very familiar with PIRETS, as I am currently using another module; but in order to avoid fetching tons of agents info in my database, I wrote a custom function that has as query $query = "{$rets_agent_id}={$agent_id}"; since the agent's id is included [at least in my case] in the Property Search Type, I just provide the agent id nr to my function and that pulls from the rets server all info I need. And then call that function in the template. [I hope I understood right your question]