Skip to main content

Using the Phoca Download source in the builder

Deutsche Fassung

The Phoca Download source is available in every YOOtheme element that supports dynamic content — grid, list, slider, cards, headlines or buttons, for instance.

Selecting the source

  1. Open the page you want in the YOOtheme builder.
  2. Add an element (a grid, for example) or open an existing one.
  3. Switch to the Content tab of the element and enable the source under Dynamic Content.
  4. In the source selector you find the group Phoca Download with three entries: Single document, Documents and Categories.

The source selector in the YOOtheme builder with the group Phoca Download

The source does not appear? Clear the YOOtheme cache (YOOtheme → Settings → Advanced → Clear Cache) and reload the builder. Also check whether Phoca Download and the plugin are enabled.

Assigning fields

Once the source is chosen, you map the Phoca Download fields to the areas of the element: on a grid, for example, title → field "Title", image → "Image (full view URL)", link → "Download link". Every field can additionally be filtered (shortening text or formatting a date, say) — those are the standard filters of the YOOtheme builder.

Field assignment of a grid element with Phoca Download fields

Preview and publishing

The builder shows the real content in the preview right away. New or changed downloads appear automatically — the layout stays in sync with Phoca Download without you having to edit the page again. Unpublished or unapproved documents are never output.

Which settings the three source types offer is described in the article The three source types.

Applies to version 1.7.3.

Deutsche Fassung