0
Welcome Guest! Login
0 items Join Now

Rok Plugins break HubSpot

    • Wicko's Avatar
    • Wicko
    • Elite Rocketeer
    • Posts: 884
    • Thanks: 8
    • Self employed Graphic designer with over 20 years of experience in branding, retail packaging and web design.

    Rok Plugins break HubSpot

    Posted 4 years 4 months ago
    • I have a webite build in WordPress running Gantry5 and have installed RokBox, RokSproket and RokGallery. But these are breaking the HubSpot plugin which links us to our forms. When I deactive all these plugins then the forms work but if I actiave any of them it breaks. RokCommon is also installed and is not effecting it.

      Is there a way we can get these to work with HubSpot?

      My site sits behind a htaccess password but can send login via PM if needed .
    • This image is hidden for guests.
      Please log in or register to see it.

      Wicko Design is a multi-disciplined creative agency based in the South East of England. Specialising in web design & development, retail packaging and brand identity.

      https://www.wickodesign.com
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 101084
    • Thanks: 13481
    • Web Designer/Developer

    Re: Rok Plugins break HubSpot

    Posted 4 years 4 months ago
    • Most of the rok extensions use Mootools. This often conflicts with programs that use jQuery instead. WE can't guarantee that our extensions will work with third-party products. Do they work when that third-party product is disabled? Are you using the latest version sof all the rok extensions, template and gantry?

      Please would you post your URL, admin id and pswd in the secure tab of your post and I'll have a look for you.

      also Please post your FTP logon, password and FTP URL in the secure area of your post.


      Please do a screenshot of your problem and annotate to make it clear.

      Please give exact steps to recreate the issue.

      Regards, Mark.
    • Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.
    • Wicko's Avatar
    • Wicko
    • Elite Rocketeer
    • Posts: 884
    • Thanks: 8
    • Self employed Graphic designer with over 20 years of experience in branding, retail packaging and web design.

    Re: Rok Plugins break HubSpot

    Posted 4 years 4 months ago
    • All the Rok Plugins work but they break others
    • Last Edit: 4 years 4 months ago by Wicko.
    • This image is hidden for guests.
      Please log in or register to see it.

      Wicko Design is a multi-disciplined creative agency based in the South East of England. Specialising in web design & development, retail packaging and brand identity.

      https://www.wickodesign.com
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 101084
    • Thanks: 13481
    • Web Designer/Developer

    Re: Rok Plugins break HubSpot

    Posted 4 years 4 months ago
    • You appear to have some custom javascript?

      This custom javascript is just using "$" instead of defining function $ first and therefore because mootools is loaded by the rok extensions it is using mootools instead of jQuery (which is what I presume it intends). So I believe that is is this JS that is the cause of your issues (specifically /custom/js/hub-spot-artform.js for example). Your code should not just use $ without defining what it is unambiguously.

      Regards, Mark.
    • The following users have thanked you: Wicko

    • Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.
    • Wicko's Avatar
    • Wicko
    • Elite Rocketeer
    • Posts: 884
    • Thanks: 8
    • Self employed Graphic designer with over 20 years of experience in branding, retail packaging and web design.

    Re: Rok Plugins break HubSpot

    Posted 4 years 4 months ago
    • Actually I have removed all of those as they were from the original site we are converting from oni.bio
      But with these all removed as soon as I activate RokBox again it breaks the HubSpot Form.
    • This image is hidden for guests.
      Please log in or register to see it.

      Wicko Design is a multi-disciplined creative agency based in the South East of England. Specialising in web design & development, retail packaging and brand identity.

      https://www.wickodesign.com
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 101084
    • Thanks: 13481
    • Web Designer/Developer

    Re: Rok Plugins break HubSpot

    Posted 4 years 4 months ago
    • If rokbox is the only one, why use rokbox? In a Gantry 5 project it's much better to use lightcase instead. i.e. use data-rel="lightcase" instead of data-rokbox - enable the "lightcase" atom in the base outline > page settings.

      Regards, Mark.
    • Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.
    • Wicko's Avatar
    • Wicko
    • Elite Rocketeer
    • Posts: 884
    • Thanks: 8
    • Self employed Graphic designer with over 20 years of experience in branding, retail packaging and web design.

    Re: Rok Plugins break HubSpot

    Posted 4 years 4 months ago
    • Thank Mark I will look into lightcase.

      But I was also using RokSprocket for strips and sliders. Was thinking of RokGallery too to help the customer manager their images and create different sizes and crops etc.

      regards

      David
    • This image is hidden for guests.
      Please log in or register to see it.

      Wicko Design is a multi-disciplined creative agency based in the South East of England. Specialising in web design & development, retail packaging and brand identity.

      https://www.wickodesign.com
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 101084
    • Thanks: 13481
    • Web Designer/Developer

    Re: Rok Plugins break HubSpot

    Posted 4 years 4 months ago
    • Ok, well all I can tell you is that if you want to use both Mootools and jQuery then the third-party extension have to be written in such a way that make them compatible (i.e. in the example I previously gave you have to define $ function before you can use it otherwise it's ambiguous - I've no idea whether hubspot is doing that or not so you should seek advice from them).

      As all the extensions work fine without hubspot that does seem to imply that it is hubspot that is the problem. If you are using Gantry 5 then I recommend that you use particles as an alternative to roksprocket and rokgallery. The particles do not use Mootools so you are less likely to encounter issues.

      Regards, Mark.
    • Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.

Time to create page: 0.050 seconds