Dynamic content

The Dynamic Content building blocks, such as Form, Products, Embed Code, or Blog Posts, help you create interactive and visually appealing layouts for your web pages.

Note

To add a building block, click Edit, select the desired building block under the Blocks tab, and drag and drop it onto the page. To access its settings, click it and go to the Customize tab, where the available options depend on the type of block selected.

ฟอร์ม

The Form block is used to collect information from website visitors and create records in your database.

ตัวอย่างบล็อกฟอร์ม

การดำเนินการ

By default, submitting the form sends you an email containing what the visitor entered. Depending on the apps installed on your database, new actions that can automatically create records become available:

  • Apply for a Job (Recruitment)

  • Create a Customer (eCommerce)

  • Create a Ticket (Helpdesk)

  • Create an Opportunity (CRM)

  • Subscribe to Newsletter (Email Marketing)

  • Create a Task (Project)

Select another action with the Action field found under the Customize tab's Form section.

แก้ไขแบบฟอร์มเพื่อเปลี่ยนการดำเนินการ

By default, actions redirect visitors to a thank you page after submitting the form. Use the URL field to change where they are redirected. It is also possible to let visitors stay on the form's page by selecting Nothing or Show Message under the On Success field.

ฟิลด์

To add a new field to the form, click the + Field button found next to the Customize tab's Form or Field section. By default, new fields are text fields. To change the type, use the Type field and select an option under the Custom Field heading.

ฟิลด์ฟอร์มทุกประเภท

ฟิลด์บางประเภทมีลักษณะคล้ายกัน แต่ข้อมูลที่ป้อนต้องเป็นไปตามรูปแบบเฉพาะ

It is also possible to select an Existing Field from a database and use the data it contains. The fields available depend on the selected action.

Tip

Property fields added to the database can also be used.

สินค้า

The Products block is available after installing the eCommerce app. It is used to display a selection of products sold on your website.

ตัวอย่างบลอกสินค้า

By default, the block displays the Newest Products. To change which products are shown, go to the Customize tab's Products section and select as Filter the Recently Sold Products or Recently Viewed Products option.

In addition, it is possible to display products from a single category only by selecting one with the Category field.

รหัสที่ถูกฝัง

โค้ดฝังช่วยให้คุณสามารถรวมเนื้อหาจากบริการของบุคคลที่สามเข้าในหน้าเว็ได้ เช่น วิดีโอจาก YouTube แผนที่จาก Google Maps โพสต์จากโซเชียลมีเดียจาก Instagram เป็นต้น

เพิ่มลิงก์ไปยังโค้ดฝังที่คุณต้องการชี้ไปที่

After adding the block to a page, click the Edit button found under the Customize tab's Embed Code section and enter the code, replacing the code used to show the block's instructions.