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

Support archive

how to get the grid item id

Jokhab 29 Oct 2014 09:59 question, complete

hello
I do have a books in my website
the pages of the books are stored in grid field.
every page is a grid entry, and you can get the targeted page using the pagination
https://ellislab.com/blog/entry/pagin...
option of the grid like:
site.com/books/view_book/url_title/{entry_id}/P1
site.com/books/view_book/url_title/{entry_id}/P2
site.com/books/view_book/url_title/{entry_id}/P3
if I found the result at the (P3) how can I reach it.

Low search was recommended by Ellis lab premium support for this issue

Replies

  1. Low 29 Oct 2014 10:45

    Are you using Low Search on your site? If so, can you email the license number to hi at gotolow dot com?

  2. Jokhab 29 Oct 2014 11:20

    sure I will send it right now

  3. Jokhab 29 Oct 2014 11:28

    sent

  4. Low 29 Oct 2014 11:36

    Low Search will return entries. If a keyword was found in a Grid row, the entry itself will be returned, as if it was the native channel:entries tag. If you need to link to a certain Grid row within that entry, you'd have to take care of that yourself.

    If you use the method described in the link (the EllisLab blog), you should use /3 instead if /P3, where the 3 refers to the 

    Jokhab 29 Oct 2014 11:44

    Thanks for your help I got your advice.
    what I am trying to do is to have one search input for all of my website content, and I want to search results contain the results of searching my grid in addition to the the others using your method that you've added.
    it is possible with low search?

  5. Low 29 Oct 2014 12:13

    As I explained, Low Search will return entries. Within those entries, you can display Grid rows. Possibly filtered rows using the search:column_name parameter.

    If that's what you're after, then yes, Low Search can do that.

    If not, then maybe you can describe an example of a search action; I'm still not 100% clear what you need, exactly.