Text

All Text

mod_wires

Actions, tags (also known as screen components), and javascript for user interfaces using wires .

Browser/server interaction

There are multiple ways to set up interaction between server-side Zotonic code and client-side JavaScript.

script

This tag is the placeholder where all generated JavaScript scripts will be output on the page.

print

See also

date

See also

edge

See also

mod_base

See also

mod_seo_sitemap

Creates a sitemap.xml file for your site, containing links to all publicly accessible pages.

menu

Show a page menu.

Displaying a site map

For the benefit of search engines and fans of tables of contents you can easily provide a site map.

mod_bootstrap

Adds support for the Twitter Bootstrap CSS / JavaScript framework.

mod_menu

See also

dispatch

Dispatch rules Name Path Resource Args admin_menu_hierarchy [“admin”,”hierarchy”,name] controller_admin [{template

rsc_gone

See also

identity

See also

media

Access to data about uploaded files and other media.

category

This model can retrieve information about the resource category hierarchy in different ways.

Pivot Templates

Search uses database indices on special pivot columns and full text fields.

Custom pivots

Search can only sort and filter on resources that actually have a database column. Zotonic’s resources are stored in a…

Media

Resources can have media resources attached to them. Resources and their media (images, video and audio) are connected…

Glossary

Action An action is functionality that can be attached to a HTML element or event. Actions are wired to an element or…

rsc

See also

The Zotonic data model

Zotonic’s data model is a pragmatic implementation of the Semantic Web: a mixture between a traditional database and a…

Resources

Resources are Zotonic’s main data unit. You may want to familiarise yourself with the Zotonic data model in the User…

observe_acl_context_authenticated/2

Set the context to a typical authenticated user. Used by m_acl.erl

Notifications

At different moments in the lifecycle of the web request, Zotonic sends notifications. By observing these notifications…

observe_rsc_pivot_done/2

Signal that a resource pivot has been done.