Menu

Give the link to original piece of content in view of drupal

Follow the bellow steps to give the link to original piece of content in view of drupal

  1. Go into the “Fields” section, add a new field and choose “Content: Path”. In the properties, click on “exclude from display” so it doesn’t show up in the results
  2. Choose “Rearrange” from the Fields section dropdown and re-order the fields so that “Content: Path” is above the field that you want to rewrite as a link
  3. Edit the properties of the field you want to rewrite as a link and check “Output this field as a link”. If you scroll down in this section you will see an area marked “Replacement Patterns”. You should now see that the replacement pattern “[path]” is now available. If you put “[path]” (without the quotes) in the “Link Path” field, you should achieve the result you are after.
  4. go to filed in you want give the link Edit the properties of the field you want to rewrite as a link and check “Output this field as a link”. If you scroll down in this section you will see an area marked “Replacement Patterns”. Write replacement pattern “[path]” (without the quotes) that will give page url, so write site url before “[path]” like http://devssolution.com[path]

No comments

Leave a Reply


+ 5 = 13

Categories