 |

designby5
Novice
Jun 16, 2004, 8:28 AM
Post #1 of 2
(2186 views)
Shortcut
|
|
Agent Pic on Listing (LM)
|
Can't Post
|
|
I have read several posts about work arounds on this topic. However, When dealing with so many agents as I do and due to the fact that I charge my clients every time I touch their site... could you change the place holders to something like: $hthumbnail$ and $lthumbnail$ $hfile$ and $lfile$ That way agents can have their pic on their Listings. Thanks. Great Product, Tony Watson
|
|
|  |
 |

Eric
Product Specialist

Jun 16, 2004, 2:07 PM
Post #2 of 2
(2182 views)
Shortcut
|
|
Re: [designby5] Agent Pic on Listing (LM)
[In reply to]
|
Can't Post
|
|
Hi Tony, Thanks for the forum post . While there's no single placeholder that can do exactly what you want, a workaround exists that may give you what you want! Here's how: - Examine your /homepages/images directory. Notice how the images are named. All images uploaded from Listings Manager's homepage editor will have this nomenclature:
X_Y.jpg X signifies the user's number and Y represents an image number. So the second uploaded image of user number 5 will have a filename of 5_2.jpg.
- What you can do then is add the following <img> tag to your _publish_listing.html template file:
<img src="$homepage_url$/images/$user_num$_1.jpg">
- The image HTML above il a listings template file will locate the appropriate user and display the first uploaded image available.
- To commit the changes, save the _publish_listing.html file.
- Login to admin.cgi as Superuser access level.
- Click on Setup Options.
- Click on the Publish button besides the phrase "Publish All Listings".
That should do it! Let me know how it goes and if you have any questions during the process please don't hesitate to ask! Cheers, Eric Lau - Product Specialist support@interactivetools.com
|
|
|  |
 | |  |
|