I would like to get the drupal, which the sheetnode found, to announce all of the row or rows.
For example when import more .xls sheetnode and I write into the drupal search box the word to be being looked for (for example a name), writes it only which sheetnode the word figures in how (node_url). But if this is the sheetnode we say it 8000 rows, then that's right quite heavy to find the requested word in him.
How I could obtain the number of that row (not only the number of the row), that the drupal search box I granted it. The drupal-search-tpl.php only the sheetnode node_url etc. issues it with a sick-note, but does not display the row in the found sheetnode, rows. I would need this data (rows) on the other hand.
Please how can I do it? (Excuse me for the bad English!)

CommentFileSizeAuthor
#2 searc_sheetnode.png141.63 KBdr_ggabor
#2 searc_result_records.png169.69 KBdr_ggabor

Comments

infojunkie’s picture

Title: Search module request in sheetnode tables » Report row

If I understand correctly, you want the search result to include report the row number (or the cell number?) where the text was found. Correct? Can you please include an example to help me visualize what you would expect as output in the search results?

dr_ggabor’s picture

StatusFileSize
new169.69 KB
new141.63 KB

First of all I am very happy and thank you that you answered me. So I attached two .png images that you see my problem.
When I write a keyword (for example: Czank - it is a personal name) into the search box and submit the button, the result appears in the list. (search_sheetnode.png)

In the search-result.tpl.php can found
* Available variables:
* - $url: URL of the result.
* - $title: Title of the result.
* - $snippet: A small preview of the result. Does not apply to user searches.
* - $info: String of all the meta information ready for print. Does not apply
* to user searches.
* - $info_split: Contains same data as $info, split into a keyed array.
* - $type: The type of search, e.g., "node" or "user".

And
* Default keys within $info_split:
* - $info_split['type']: Node type.
* - $info_split['user']: Author of the node linked to users profile. Depends
* on permission.
* - $info_split['date']: Last update of the node. Short formatted.
* - $info_split['comment']: Number of comments output as "% comments", %
* being the count. Depends on comment.module.
* - $info_split['upload']: Number of attachments output as "% attachments", %
* being the count. Depends on upload.module.

It's OK!
But If I get some .xls spreadsheet (Sheetnode import from XLS) with 400-500 records it would be important to display these records not only the node_url and title and so on. Something like serch_result_records.png.

How can I get the result records? I hope for it understandably I was able to write it down, what my trouble.
Thx!

infojunkie’s picture

Thanks for clarifying. I will look into the $info_split technique.

infojunkie’s picture

Issue summary: View changes
Status: Active » Closed (won't fix)

Closing old issues. Reopen if needed.