-1

I am using views in that views i can able to give only title field as a link.I want to give field value also as link.while clicking on field link i need history of that field

example-In my content i have one field like warnings(newbirth,live,dead).when saving the content it is saving in view after that again the same field i am updating so thats why i think to do that field as link while clicking on that link suppose it is DEAD then it should show previous data like NEWBIRTH,LIVE

any suggestions...Thanks in advance

enter image description here

enter image description here

0

You should have the field and the link included in your views

The steps are as follow:

  • Using the dropdown arrow to the right of the Fields section of your view, select "Rearrange"
  • Move the history link field above your field that you want to link and save
  • Make sure your history link field no longer has the link box checked off, because we're going to use a different link box.
  • Click on the field to pull up the settings, select the Rewrite options. Select the link option under the rewrite options. This will show you a text box where you can use fields that appear above the title field in your rearranged list of fields in a link to add to the title field. In this box you should put your history link, using [history_link_machine_name] for the field.

Similar answer can be found here Views: Link Title using Text URL field (GUID)

9
  • @ Shabir - thanks for your response i will check with this and come back to you. – DINE Oct 28 '15 at 14:18
  • @ Shabir - There is no history link in my fields in view ..how can i give the history link in field? – DINE Oct 29 '15 at 5:33
  • what do you mean by history of that link? – Shabir A. Oct 29 '15 at 12:43
  • If you mean revisions then Use the track_field_changes module, it enables you side by side history of your field in views – Shabir A. Oct 29 '15 at 12:46
  • @ Shabbir - i mean history = revisions.i have added revision field above of my warning field. from your last point last line means want to give my field warnings machine name or revisions machine name? – DINE Oct 30 '15 at 6:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.