(I applaud your use of the script! I like being part of anything to help our fuzzy friends. )
Yes, it would be possible. You would need to be sure that all of the search results were from the same county. It would be best if you could require the county to be entered on the search form.
You mentioned "templates." Are you using the template mod? I don't know anything about that mod, so if you're using it, the rest of this post will be meaningless.
If you're not using the template mod, make several copies of sub html_view_success -- one copy for each of the counties you're using -- and paste them all into the html.pl file. Leave one titled sub html_view_success and rename the others to sub html_county_success. (Subsitute the name of the counties for county.)
Delete all of the code in sub html_view_success. Replace it with
$sub = "html_$in{'County'}_success";
eval $sub;
Then make your changes for each county in its respective html_*_success subroutine.
JPD
Yes, it would be possible. You would need to be sure that all of the search results were from the same county. It would be best if you could require the county to be entered on the search form.
You mentioned "templates." Are you using the template mod? I don't know anything about that mod, so if you're using it, the rest of this post will be meaningless.
If you're not using the template mod, make several copies of sub html_view_success -- one copy for each of the counties you're using -- and paste them all into the html.pl file. Leave one titled sub html_view_success and rename the others to sub html_county_success. (Subsitute the name of the counties for county.)
Delete all of the code in sub html_view_success. Replace it with
Code:
$sub = "html_$in{'County'}_success";
eval $sub;
JPD