iamjeff
03-09-2008, 07:04 PM
Wondering if someone could guide me here. I've created a directory and added some extra fields. Directory version is 2.1.2. One of those fields is "CITY". When a person ends up in a category, I would like to automatically generate links by CITY that take them to a list of businesses by CITY.
Got that part working, however anytime there are 2 listings with the same CITY, the generated links are double b/c it creates a link for each listing.
Is there a way to parse out duplicates. The code I'm using is below:
In the .php file:
Content visible to registered users only.
In the .tpl file:
Content visible to registered users only.
Got that part working, however anytime there are 2 listings with the same CITY, the generated links are double b/c it creates a link for each listing.
Is there a way to parse out duplicates. The code I'm using is below:
In the .php file:
Content visible to registered users only.
In the .tpl file:
Content visible to registered users only.