All Low add-ons are now owned by EEHarbor. Read the blog post.

Support archive

What is the purpose of shortcut?

ngoncom 30 Apr 2015 13:42 question, complete

Hi Low!

I've read many times about shortcut: http://gotolow.com/addons/low-search/...

As you said: Shortcuts are saved searches and I can trigger the same search results using shortcut names.

But I really don't know which is the main purpose of shortcut? Can you give me some typical case?

Thank so much!

Replies

  1. Low 30 Apr 2015 14:20

    The page in the docs says it all, really. If you want to have a combination of parameters (and thus entries) on the page, but you don't want a big query string or encoded query segment in the URL, you can create a shortcut for it.

    In theory, you could create a single template that outputs anything, with a single Results tag, but with a list of predefined shortcuts rather than a search form.

  2. ngoncom 30 Apr 2015 14:55

    Thank for your reply!

    In theory, you could create a single template that outputs anything, with a single Results tag, but with a list of predefined shortcuts rather than a search form.


    I create a dynamic keyword with url like this:

    domain.com/filter/keyword-a
    domain.com/filter/keyword-b
    ...

    And using results tag:

    {exp:low_search:results query="{segment_2}"...

    It seem everything work well without using shortcut.

    Have any ideas?

  3. ngoncom 30 Apr 2015 15:11

    Oh oh!

    Seem I've miss the most important things in your words:

    "but with a list of predefined shortcuts rather than a search form."

    In this case I can using Low Search like tags filter.

    Thank so much!