Made in Europe, buy from Europe.

Black Friday

65% off Annual plans

25% off Lifetime · 10 per week

Ends December 2

Get the deal →

How to create Modula galleries from Kali Forms uploads

Updated 3 min read

With Kali Forms Pro, a form on your site can create Modula galleries. Visitors upload their photos through the form. Each submission becomes a new gallery, or adds the photos to a gallery you pick.

This is handy for contests, client uploads or community galleries.

Watch how to build the form and its upload field in Kali Forms. You also see where the Modula settings are (Kali Forms Pro) and how to add the form to a page.
https://www.youtube.com/watch?v=iKhEVv1y1xg

What you need

  • Modula, and Modula Pro if you want to use gallery presets.
  • Kali Forms and Kali Forms Pro. The Modula integration is part of Kali Forms Pro.
  • A gallery preset (optional), so new galleries get your layout and settings. Presets are part of the Business plan.

Skip this part if you don’t want to use presets.

  1. Set up a gallery the way you like.
  2. In its Layout section, open More settings → Presets.
  3. Click Save as preset.

Your presets are on the Presets tab in Modula → Galleries. More in Modula Defaults.

Set up the Kali Forms form

Now you can build the form that creates your Modula galleries.

  1. Go to Kali Forms → All forms.
  2. Click Add new form.
  3. Pick a form template with Get started.
  4. Choose a style.
  5. Click Import.
  6. In Builder → Form Fields → Standard Fields, drag a Text box field into the form, for example for a gallery title.

    Dragging a Text box field into the form in the Kali Forms builder
  7. Set its label in Field Properties.
  8. From Form Fields → Advanced, drag a File upload field into the form.
  9. In Field Properties, tick Enable multiple file uploads. Then set the maximum number of files.

    File upload field properties with Enable multiple file uploads and the maximum number of files
  10. Click Save.
  11. Open Settings → Modula. Tick Enable Modula gallery integration, then choose these settings:

    • Form action: Pick Create new gallery for a gallery per submission. Or pick Add to existing gallery and choose the gallery in Select existing gallery.
    • Gallery name prefix: The name of new galleries. Use the <> button to add form fields, like the gallery title field or the visitor’s email.
    • Select existing gallery defaults: The preset new galleries start from, if you use presets.
    Kali Forms Settings, Modula: Enable Modula gallery integration, Form action, Gallery name prefix and gallery defaults
  12. Optional: in Notifications, create an email notification so you hear about each new gallery.
  13. Click Save.
  14. Copy the form’s shortcode from Kali Forms → All forms. It looks like [kaliform id="1903"].

    Kali Forms list with the form shortcode
  15. Paste the shortcode in a page with a Shortcode block.
  16. Publish or update the page.

After a visitor submits the form

Each submission creates a gallery from the uploaded photos, or adds them to the gallery you chose. Find the gallery in Modula → Galleries. Check the photos and publish it.

Then add it to a page like any other gallery. See Insert Modula galleries in WordPress posts and pages.

Note: With Add to existing gallery, the form keeps adding photos to the gallery you picked in its settings.

Was this page helpful?
0 0

Still stuck?

Can’t find the answer?

Write to us with what you tried and what you expected to happen, and we’ll help you sort it out.