承接 itx/hubspot-forms 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

itx/hubspot-forms

最新稳定版本:1.2.0

Composer 安装命令:

composer require itx/hubspot-forms

包简介

it.x Hubspot Forms Extension

README 文档

README

This extension will help displaying Hubspot forms in our pages by dynamically loading in any given form using the HubSpot API

Installation (Composer)

To install the extension using composer, run composer req itx/hubspot-forms

Configuration

  • Create a HubSpot access token with the following scope: forms
  • To start using the extension, you will first have to set your Access Token and PortalID in the TYPO3 Backend Settings > Extension Configuration > hubspot_forms
  • Alternatively you can configure these settings inside your AdditionalConfiguration.php file located under public/typo3conf/AdditionalConfiguration.php e.g.
$GLOBALS['TYPO3_CONF_VARS']['EXTENSIONS']['hubspot_forms']['accessToken'] = 'Your Access Token';
$GLOBALS['TYPO3_CONF_VARS']['EXTENSIONS']['hubspot_forms']['portalID'] = 'Your PortalID';

Usage

  • First, add a General Plugin content element where you want your form to be on your website
{917CD7C6-1080-46A7-B40E-BB8031E1FD3D}
  • After that, go to the Plugin Tab in the settings of your new content element. Here, you can select which form you want to load from your given HubSpot Portal in Form of a select list
{FA418E9B-F47B-4A14-9252-C2F07EA94320}
  • After selecting your form, switch over to the frontend to see it all loaded in
{D810CF8E-ABC6-4FF2-96B9-01D9656FFDDC}
  • There is an option to only simulate form submissions in the Extension Settings. This toggle disables the line of code responsible for the POST request to HubSpot after submitting a form
{0F270FED-AAF6-4222-A654-8309983E74A7}
  • Additionally, you can send emails with the contents of the form submissions if you configure it in the Plugin tab of the content element

Styling

  • Every field type of the forms is rendered by a partial, if you want to individually style your form fields, overwrite the partials and add your own styling
  • The same goes for the template of the optional mail

Known Issues

Multiple Multiple-Checkboxes

  • When a form contains more than one multiple checkbox field, if any checkbox of any of the fields is checked, the browser won't prompt you to check at least one of the checkboxes in each field
  • Submitting the form while there isn't at least one checkbox checked in the required fields causes TYPO3 to throw a Bad Request Error
  • The error gets caught, so the site continues to operate, but the form will not be sent to HubSpot

统计信息

  • 总下载量: 910
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 2
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-2.0-or-later
  • 更新时间: 2024-10-25