Module z_install_defaultdata

Installs default data in a Zotonic site.

Copyright 2011 Arjan Scherpenisse

Authors: Arjan Scherpenisse (arjan@scherpenisse.net).

Description

Installs default data in a Zotonic site.

Function Index

default_menu/1Retrieve the default menu structure for a given site.
install/2

Function Details

default_menu/1

default_menu(Context::#context{}) -> MenuItems | undefined

Retrieve the default menu structure for a given site. Used by mod_menu to create the menu. The menu can be defined in the site config file as a list of menu items under the key install_menu. If that is not defined, a default menu for the skeleton is used, if any.

install/2

install(X1, Context) -> any()


Generated by EDoc, Jul 29 2014, 17:16:14.