Posted by pkchoo on October 22, 2011 at 2:55am
Hello,
I have a pretty standard view that lists a bunch of node teasers, which when clicked, goes to the node page.
Obviously, the user can click the browser back button or the menu link for the view, but, it would be a better user experience to have a back link at the end of the node that takes the user back to the view.
Is there some standard method of doing that in Drupal. Do i just create a field for the node that links back to the view? I'm working D7.
Thank you.
Comments
Subscribing
Want to know.
Rules
This is done with rules and views bulk operations. nodeone.se has a pretty good tutorial. Or check out the rules group.
nodeone.se
Could you give a link to where this is done with rules and views?
I tried the search on nodeone.se but couldn't find anything about a back button.
thanks.
you could make a simple html
you could make a simple html form to get back to the views page
Don't understand
I don't understand what you mean with simple html form.
A html form to me is to get information from the user, not to make links to previous pages. So could you please be more specific ?
I mean a form containing only
I mean a form containing only submit button with action pointing to the view page.
A better solution is to override the template of the node and add a link wich takes to the view page.
multilingual link
Ok, i've found how to override the template file of that node and added a link back to the view.
But now in all languages this link will link back to the same language. Do you know how I can make a link that will allways send the user back to the view with the right language ?
Edit:
I've found a sollution.
I used this: ' print l( t("button name"), "link name"); ', and translated the text with string translation.
nice work :)
nice work :)