I seem to be having a problem when using search all on the advanced search page. Regular search or search links works perfectly, but search all is displaying code for the listings, while categories and comments show results perfectly. The template being used has not been modified.
Earlier I ran the last update, from 6.0.14 to 6.0.15 and now I not only get the code, but errors are displaying at the top of the page.
Looks like you have the wrong listing types in your 'search all' template -- not the ones you're using on your site. At Admin -> Templates -> Manage Templates -> "Search All" you'll need to find the <!-- BEGIN REGULAR --> / <!-- END REGULAR --> areas except replacing REGULAR with the name of each applicable listing type.
In a default WSN the listings show in a search all, but I see the format is bad and they run off the right of the page. The information never really fit properly in the first place, so I'll make a tabbed setup for it to give it room. Done in 6.0.16 beta 2.
Ok, I thought that maybe I had changed my link types and just didn't remember so I checked and other than 2 additional types regular and recip are both being used. In any case I added the sections for the additional types to be sure and I'm still getting an error. Following is the code I'm using -
<IF {LINKTOTAL}> <td style="vertical-align: top; width: 25%"> <!-- BEGIN SEARCH LINKS RESULTS --> <table class="standardtable"> <!-- BEGIN SPONSOR --> [INSERTFILE=linkbit] <!-- END SPONSOR --> </table> <table class="standardtable"> <!-- BEGIN AFFILIATE --> [INSERTFILE=linkbit] <!-- END AFFILIATE --> </table> <table class="standardtable"> <!-- BEGIN RECIP --> [INSERTFILE=linkbit] <!-- END RECIP --> </table> <table class="standardtable"> <!-- BEGIN REGULAR --> [INSERTFILE=linkbit] <!-- END REGULAR --> </table> <!-- END SEARCH LINKS RESULTS --> {LINKPAGINATION} </td> </IF>
Comments on Advanced search template not showing results
Forum Regular
Usergroup: Customer
Joined: Apr 03, 2007
Location: NY & PA
Total Topics: 94
Total Comments: 339
Dear Paul,
I seem to be having a problem when using search all on the advanced search page. Regular search or search links works perfectly, but search all is displaying code for the listings, while categories and comments show results perfectly. The template being used has not been modified.
Earlier I ran the last update, from 6.0.14 to 6.0.15 and now I not only get the code, but errors are displaying at the top of the page.
Any ideas?
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Looks like you have the wrong listing types in your 'search all' template -- not the ones you're using on your site. At Admin -> Templates -> Manage Templates -> "Search All" you'll need to find the <!-- BEGIN REGULAR --> / <!-- END REGULAR --> areas except replacing REGULAR with the name of each applicable listing type.
In a default WSN the listings show in a search all, but I see the format is bad and they run off the right of the page. The information never really fit properly in the first place, so I'll make a tabbed setup for it to give it room. Done in 6.0.16 beta 2.
Forum Regular
Usergroup: Customer
Joined: Apr 03, 2007
Location: NY & PA
Total Topics: 94
Total Comments: 339
Ok, I thought that maybe I had changed my link types and just didn't remember so I checked and other than 2 additional types regular and recip are both being used. In any case I added the sections for the additional types to be sure and I'm still getting an error. Following is the code I'm using -
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
I don't see where the problem is, so this is likely going to need inspection: http://www.wsnlinks.com/inspection.html
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Bug with search all when not mixing link types, fixed now.