 |

begee
Novice
Jan 26, 2003, 11:04 AM
Post #1 of 5
(1993 views)
Shortcut
|
|
RM - View my listings
|
Can't Post
|
|
Hi I am working on RM for a client and would like to know how to: First some background - When clicking on "Our Listings" the output is a single picture or no picture with a short description to the right and by clicking on the picture takes you to that listing page which has more detail about the property. Second - When on a agents homepage and you click on "View My Listings" it will output all data for all listings. This makes it hard to quickly review what properties a certain agent has. Sooooo..... My question is? How can you output the agents listings so that they will display like "Our Listings" format? And then if they see something they can click on the pic for the data on that property only. TIA - Begee
|
|
|  |
 |

Benjamin
Staff

Jan 26, 2003, 11:32 AM
Post #2 of 5
(1992 views)
Shortcut
|
|
Re: [begee] RM - View my listings
[In reply to]
|
Can't Post
|
|
Hi Begee, Actually, by default, when you click on "View my Listings" from an agent's homepage, it returns only those listings listed by that agent. By the sounds of it, you may have edited this template (the _publish_homepage.html file). What you'll need to do is add the following line: <a href="$search_url$?user_num=$user_num$&search=1">View my Listings</a> This calls the search engine and returns only those listings belonging to the agent. They are returned in a similar fashion to the "Our Listings" page. Hope this helps. Ben interactivetools.com
|
|
|  |
 |

begee
Novice
Jan 26, 2003, 12:03 PM
Post #3 of 5
(1989 views)
Shortcut
|
|
Re: [Benjamin] RM - View my listings
[In reply to]
|
Can't Post
|
|
Hi Ben! The code is the same. No changes. Maybe I didn't make myself clear. The output result from clicking "our listings" is produced from the _publish_listing_index template. What I want is the "View My Listings" to look like the listing index, only it will contain only that agent's listings. (i.e. thumbnails with short description). TIA Begee
|
|
|  |
 |

Benjamin
Staff

Jan 26, 2003, 1:25 PM
Post #4 of 5
(1982 views)
Shortcut
|
|
Re: [begee] RM - View my listings
[In reply to]
|
Can't Post
|
|
Hi Begee, Sorry for the misunderstanding. There's two things you could do: (1) Edit the _search_results.html template. This is the template that's used to render the "View my Listings" page. In this file, you could simply remove the extraneous information (Type, Rooms, Bathrooms, Square Feet, Realtor). However, by modifying this file, ALL search results would be look the same way; i.e. when a site visitor performs a search, the search results page will no longer contain the information you removed. So if, instead, you want the search results page to stay the way it is, you'll need to do the following: (2) Create a new template. To do this, I'd suggest making a copy of the _search_results.html template. Name it, say, _agent_listings.html and store it in the /templates directory along with the other templates. In this file, remove the extra information - as described in (1). Now, you'll need to change all "View my Listings" links to acknowledge the new template, like this: <a href="$search_url$?user_num=$user_num$&search=1&template=_agent_listings.html">View my Listings</a> I do hope this is clear! Post me back if you've any questions :-) Ben interactivetools.com
(This post was edited by Benjamin on Jan 26, 2003, 1:26 PM)
|
|
|  |
 |

begee
Novice
Jan 26, 2003, 2:26 PM
Post #5 of 5
(1978 views)
Shortcut
|
|
Re: [Benjamin] RM - View my listings
[In reply to]
|
Can't Post
|
|
Your the Man Ben! It works and not I'll just tweak it up. Thanks for the GREAT SUPPORT!!!! Begee
|
|
|  |
|