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
Fedorain the vocabulary. - You have a node about Fedora: http://petermoulding.com/fedora
- You have already created content type
technologyfor the vocabulary, as described in the installation. - You have PHPMyAdmin or equivalent to update your database.
Do:
- Find the node in the node table using PHPMyAdmin.
- Edit the node in the node table, changing the
typecolumn to valuetechnology. - Find the id of the vocabulary by looking at the vocabulary edit link in admin.
- Find the id of the term by looking at the term edit link in admin.
- Insert a new row in the
nattable using the nid, tid, and vid. - Visit the node page and edit the node.
- Remove the menu entry for the node because you will add the menu entry to the term page.
- Remove the URL alias from the node because you will add it to the term page.
- Add formatting to the node teaser and body because term descriptions are not automatically formatted.
- Save the node edit. This will update the description in the term.
- Create a URL alias for the term page.
- 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:
You can:
- Log in, click Edit, and edit this page
- Log in, click Discuss, update the Page status value, and suggest an improvement
- Log in and create a Documentation issue with your suggestion