By ln282 on
I'm using Drupal 6.10 and Views 6.x-2.5. I cannot get the backlinks block view to work-- no matter what, I get "no backlinks found". I have run cron, so the linking page is in the search index.
The only explanation I can come up with is that the nid isn't getting into the view, because I'm using url aliases. Is there a way to send the nid into the block when the nid isn't in the url?
If this can be done with php, and someone could help me out with what I assume would be a very simple php snippet, I'd really appreciate it!
Thanks,
Ellen
Comments
Backlinks not found in the default views as well...
I have Drupal 6.9 currently. Backlinks does not show up in the default views. I would download backlinks but it's made for drupal 5. I don't know about this business of url alias being the cause. I have pathauto engaged as well.
How to activate Views 2's default backlinks view
To use Views 2's default backlinks view, you need to activate "Search" module in addition to Views and Views UI modules. Without Search module, backlinks view doesn't show up.
I hope this is the issue you are facing.
I can confirm the problem
I can confirm the problem that Ellen is reporting. I have enabled the backlinks view in views 2, i checked the configuration to make sure it looks "ok". I have wiki pages that i've created that link to each other, but the backlinks block shows up empty. When i add the nid of the wiki page that has links to it into the argument field on the view edit / preview screen I also get no results. I believe there is a real problem here that is unrelated to the use of url aliases. I think opening an issue is probably in order
Bakclinks uses search module and don't work on nice url
Backlinks seems to use the "drupal Site search" and use the "{search_node_links} table ".
The search module has to be activated
The website as to be reindex to make the links to show up
The backlinks functionality in views2 seems to only works for "node/??" url and not nice url's. (It's no trace of "nice url" aliases in the Search_node_links table so with this method it can't support Nice url)
Can anyone confirm that backlinks functionality for views2 don't work for nice URL?
Also see
http://drupal.org/node/513870
http://groups.drupal.org/node/18020