By shinz83 on
I am using D7.0 and having trouble with the search form block.
When I search my site, the search results appear with a text summary of content and the author of the node. However, there is no actual link to the content itself. Am I missing something?
I've re-indexed my site about three times, run cron, cleared caches... nothing.
I appreciate your help!
Comments
Maybe you've solved this
Maybe you've solved this already, but I just ran into the same problem -
In my case it was the theme - a snippet of javascript in scripts.js was breaking the link. I was using this to style the first word in block titles:
And the search results use h3.title, too.
Changing to this solved it:
Don't know if that helps you at all (unless you happen to be using one of our themes), but maybe provides a clue.
If you are using the marinelli theme
Then go to: Administration » Appearance » Settings (for marinelli)
Under Layout there is a setting "Do you want to hide block title for the external blocks?" If this is set to YES, then search titles and links will not show.
Set "Do you want to hide block title for the external blocks" to NO to resolve the issue on the search results page for marinelli.
WORKED
This Worked Blair003. Thank you. You guys are great on here!
Search results with no link in D6
I suppose I shouldn't interject a D6 issue in a D7 conversation but I can't find info elsewhere. I've been searching for quite a while. I'm desperately hoping someone has the answer.
I want to use the search feature built into D6 but I get search results with no link. I am wondering if there is a similar setting (from the solution above) in 6?
Any help/insight will be appreciated.
I have the same issue but I´m using bluemasters theme
Search links were working ok but now the result list is not showing links to redirect to each result, just text, how can I fix it?
Thanks & regards
Same problem here
I have the same problem: search results page don't have links. My theme is Quasar from Rockettheme. Which file(s) should I modify or analyse to find out where the problem lies?
TIA
Marco
Fix for Rockettheme Quasar Search Results
in your rocket theme template folder, open template.php.
About line 123, comment out this line:
$variables['uri'] = "http://" . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];
It doesn't seem to be a particularly useful line and took me ages to find. Removing it hasn't broken anything else (so far).
Custom node templates were the culprit.
I realize that this thread is several years old but I just ran into this issue and figured I'd post my solution. For me, this problem was being caused by some custom node templates. Reverting the template code back to the default, (located in node.tpl.php), and then carefully modifying them to meet the use case fixed this for me.
Hopes this helps someone =)