Advertising sustains the DA. Ads are hidden for members. Join today

Convert an existing node and term to NAT

Last updated on
30 April 2025

You have a node and a term. How do you connect them for use in NAT?

This is a slow manual process suitable for a few existing node and term combinations.

Assume:

  • You have a vocabulary named technology.
  • Your have term Fedora in the vocabulary.
  • You have a node about Fedora: http://petermoulding.com/fedora
  • You have already created content type technology for the vocabulary, as described in the installation.
  • You have PHPMyAdmin or equivalent to update your database.

Do:

  1. Find the node in the node table using PHPMyAdmin.
  2. Edit the node in the node table, changing the type column to value technology.
  3. Find the id of the vocabulary by looking at the vocabulary edit link in admin.
  4. Find the id of the term by looking at the term edit link in admin.
  5. Insert a new row in the nat table using the nid, tid, and vid.
  6. Visit the node page and edit the node.
  7. Remove the menu entry for the node because you will add the menu entry to the term page.
  8. Remove the URL alias from the node because you will add it to the term page.
  9. Add formatting to the node teaser and body because term descriptions are not automatically formatted.
  10. Save the node edit. This will update the description in the term.
  11. Create a URL alias for the term page.
  12. Create a menu entry for the term page.

Now visit http://petermoulding.com/fedora to see the result.

Help improve this page

Page status: Not set

You can: