return to search results option

Permalink Browser Info Environment
Hi. We would like to be able to add a button on pages to return users to the search results list that they've just come from. ie not back to the freshly loaded search page, but showing the filtering options they previously chose.

A similar query is that we'd also like to create a button from one part of the site that goes to a search results page that is already filtered. Ususally this would be done with search criteria appended to the url but I don't see the url change with this module. Is it possible to do this?

Thanks

Type: Pre-Sale
Status: In Progress
Flora
View Replies:
SkyBlueSofa replied on at Permalink Reply
SkyBlueSofa
For the second question, you can indeed setup a button somewhere to go to a 'canned' query. There are two options for searching: page reload and ajax. In ajax searches, the URL does not change. But using the page reload (uncheck the ajax option) method, it will reload the page when the search button is clicked. The URL will contain search criteria. That criteria can be copied and added as to a link or button.

The answer to the first question is a bit trickier. The only way I can think of doing it is with the use of cookies. While possible, it is beyond the functionality that would be helpful to the majority of users. You might be able to create the URL programmatically in a similar format to the above question and then add it to a link or button.

concrete5 Environment Information

# concrete5 Version
5.6.3.2

# concrete5 Packages
Campaign Monitor (1.4), Document Library (1.6.4), Fjhadd Vimeo Thumb Gallery (1.0), FlexSlider (2.2.0.5), Page List+ (5.6.0.0.0.5.7), Pro Blog (12.4.4), Pro Events (11.3.0), Pro Forms (7.6.1), Pro Tabs (1.1.1), Social Icons Reloaded (2.0), Vimeo Player (1.0.6).

# concrete5 Overrides
blocks/pro_tabs, blocks/content, blocks/autonav, blocks/page_list_plus, blocks/flexslider, blocks/pro_event_list, languages/de_DE, languages/tr_TR, languages/es_MX, languages/fa_IR, languages/cs_CZ, languages/it_IT, languages/nl_NL, languages/pt_PT, languages/ro_RO, languages/ar, languages/es_ES, languages/ru_RU, languages/es_PE, languages/es_AR, languages/sk_SK, languages/sl_SI, languages/nb_NO, languages/el_GR, languages/ja_JP, languages/da_DK, languages/sv_SE, languages/zh_TW, languages/vi_VN, languages/fr_FR, languages/fi_FI, single_pages/blogsearch.php, themes/celcis_responsive

# concrete5 Cache Settings
Block Cache - Off
Overrides Cache - Off
Full Page Caching - Off

# Server Software
Apache/2.4.12 (Unix) OpenSSL/1.0.1e-fips mod_bwlimited/1.4

# Server API
cgi-fcgi

# PHP Version
5.4.43

# PHP Extensions
bcmath, calendar, cgi-fcgi, Core, ctype, curl, date, dom, ereg, fileinfo, filter, ftp, gd, hash, iconv, imap, json, libxml, mcrypt, mysql, mysqlnd, openssl, pcre, Phar, posix, Reflection, session, SimpleXML, sockets, SPL, sqlite3, standard, tokenizer, xml, xmlreader, xmlwriter, zlib.

# PHP Settings
max_execution_time - 30
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - -1
max_input_vars - 1000
memory_limit - 128M
post_max_size - 100M
sql.safe_mode - Off
upload_max_filesize - 100M
mysql.max_links - Unlimited
mysql.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
session.cache_limiter - nocache
session.gc_maxlifetime - 7200

Browser User-Agent String

Mozilla/5.0 (Windows NT 6.1; WOW64; rv:39.0) Gecko/20100101 Firefox/39.0

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You may not request a refund that is not currently owned by you.