Automatic Navigation Entries

Using NPSOBJ tags in layouts you can automatically have links to other exported websites created:

Link to the previous page

<npsobj name="previous" insertvalue="anchor">Previous</npsobj>

Link to the next page

<npsobj name="next" insertvalue="anchor">Next</npsobj>

Link to the parent page

<npsobj name="parent" insertvalue="anchor">Up</npsobj>

The previous or next file is determined by NPS using the sort key used in the folder containing the file (see Entry Sorting). The parent page corresponds to the folder containing the exported file in your folder hierarchy for which the navigation element is created.

Instead of the navigation texts Previous, Next and Up used in the examples above, you can also use images or fields of the target file by replacing the text with a reference to an image or with an NPSOBJ tag that reads out the field. For example use the title of the link-target file as a reference text by using NPSOBJ tags in the following way:

<npsobj name="previous" insertvalue="anchor">
  <npsobj name="previous.title" insertvalue="var"/>
</npsobj>