Search query question

tubeman
Posts: 534
Joined: Sat Mar 02, 2013 11:33 am

Re: Search query question

Post by tubeman »

If for example user searching for word "blonde" and we have 7 galleries of blonde, If I use js redirect to random gallery template user won't get those 7 galleries with word "blonde". What I want is that on template after 7 galleries with word "blonde" we have random galleries.
admin
Site Admin
Posts: 37202
Joined: Wed Sep 10, 2008 11:43 am

Re: Search query question

Post by admin »

I see

The issues is that a template processes all at once

so it you have <thumb for search AND <thumb random at the same page - it will process both for each gallery, that's gonna add a lot of load

so the only way is to create a separate page (you can try rotation - pages) and include it if you have less the X results
Don't forget to run script update
Post Reply