Wine Page Path Notes

1. create page called wine:_template

[[[wine:_start|Wine list]]] >> %%title%%
[[form]]
fields:
 wine-prefix:
  label: Wine prefix
  values:
   1: Ch.
   2: Clos
   3: Dom.
  default: 1
 wine-name:
  label: Wine name
  hint: Enter the wine name here
 wine-region:
  label: Wine region
  type: pagepath
  category: vineyard
[[/form]]

2. create a page called wine:_start

[[module NewPage category="wine" button="Add a wine"]]
[[module ListPages category="wine" order="title"]]
[[[%%fullname%%|%%form_data{wine-prefix}%% %%form_data{wine-name}%%]]], %%form_data{wine-region}%%
[[/module]]

3. create a page called vineyard:_template

**Possible subdivisions of the region**
[[module PageTree root="vineyard:%%name%%" showRoot="false"]]
----
**Featured wines of the region**
[[module backlinks]]
Site Design, Syntax and Examples by Rob Elliott 2008-2016