Rank: Member
Joined: 4/19/2005(UTC) Posts: 51
|
The pics are not showing up in the search window, just text line of the product. Any thoughts? Where is the file to render this. Looked in the css and search.aspx, our old site even uses the same theme and the pics do not show. thanks ~Pete |
Jason Pace |
|
|
|
Rank: Member
Joined: 5/24/2004(UTC) Posts: 4,147
|
It isn't a theme feature, so you won't find anything in the CSS. It's just how search works in BVC5, simplified because of how detailed the search can be.
You'll probably want to look at search.aspx.vb, I believe that's where you'll want to make your changes to add an image for each record. Then you'll need to adjust the layout with your theme stylesheet. |
|
|
|
|
Rank: Member
Joined: 8/17/2006(UTC) Posts: 681
|
Yeah, the search is quite bad out of the box. No images, no prices, no descriptions, no paging, no limits on what you search and the result is all build up in a stringbuilder :((( If you search for " " (space) it will return you ALL the products that contain spaces, so basically all your products. I have about 300 already so a search will give a user a useless list. Even more, if you have some products listed in multiple categories it will return them in duplicate, once in every category. My sql is not so good to be able to fix the SP so I fixed this in code. I rewrote my search to show descriptions, prices and images and not use a string builder. Have a look at: http://www.bestgames.com.au/Search.aspxIf you want I can send you the file. Corneliu. http://www.bestgames.com.au |
|
|
|
|
Rank: Member
Joined: 7/21/2005(UTC) Posts: 320
|
Corneliu,
Please attach the file, I would love to see the code. |
|
|
|
|
Rank: Member
Joined: 4/19/2005(UTC) Posts: 51
|
Would love to take a look a the file Corneliu Tusnea , thanks for the advice Cliff ~pete |
Jason Pace |
|
|
|
Rank: Member
Joined: 8/17/2006(UTC) Posts: 681
|
Here they are. There seems to be a small bug from time to time that I can not reproduce. The very first time to click on search you might get an exception. I don't think it has to do with my changes but I can't figure it out and neither reproduce. Enjoy, Corneliu. File Attachment(s): search.aspx (2kb) downloaded 210 time(s).You cannot view/download attachments. Try to login or register. |
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.