Fixed
Project:
Vardot Hub
Version:
1.0.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
5 Nov 2026 at 10:09 UTC
Updated:
5 Nov 2026 at 10:38 UTC
Jump to comment: Most recent
Running the Client Hub widget on real sites shows several gaps:
$settings['vardot_hub_disabled'] = TRUE; in settings.php turns the widget off on that environment, overriding Enabled. The settings form shows a warning while it is active.* wildcards and <front>, as in core block visibility. Both the internal path and its alias are matched, case-insensitively. A missing leading slash is added on save. The url.path cache context is added only when paths are set.hook_help() for the help page and the settings page, listing the setup steps: select a key, then register the site's origin (shown on the page, including http:// or https://) for that key in the Client Hub.Note: the position feature relies on the widget's internal class names. A data attribute supported by the widget itself (for example data-offset-up) would be more robust long term.
$settings['vardot_hub_disabled'].vardot_hub/offset (with drupalSettings.vardotHub.offset) and vardot_hub/settings_form.New keys in vardot_hub.settings: skip_paths (string), offset_up and offset_left (integer), offset_up_unit and offset_left_unit (string, px or %).
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #4
yasmeensalah commented