Syndicate content

Adding links to your node features in your views when using Drupal 6

Several times, you may have been creating views and wondered: how the heck could I add a link to my node Edit page, or if you are like me, my node Outline, Track, Convert pages on top of the Edit page.

This is actually pretty easy.

To your fields, add a Node: Nid then click the Add button at the bottom.

In the setup of the field, select Rewrite the output of this field and enter the text of the link as it should appear (i.e. 'Edit' or 'Convert'.)

Finally, select Output this field as a link and enter something like: node/[nid]/edit for your Edit link. Yes, you have to enter the square brackets around the nid keyword.

Now you can save the field and see the result.

Cool, hey?!

Now you know why the Rewrite the output of this field is used for.

Syndicate content

Diverse Realty

Diverse Realty Team

Want a New Home?
Want to Sell Your House?

Call Alex at
+1 (916)
220 6482

Alexis Wilke, Realtor
Salesperson
Lic. # 02024063

Cory Marcus, Broker
Lic. # 01079165

     

Terms of Site Index

Find the page/content you are looking for with our index.

  • IDE
  • favicon

    Favorite Icon was first created by Microsoft. Like many other website features, Internet Explorer expects their favicon.ico file in the root of your website. FireFox and other browsers properly support the link tag named shortcut icon.

  • stuck
  • track
  • trimmer