So I'm attempting to get set up using HUBL Server to begin developing locally. I have followed the documentation and have gotten to the point where I can view the Template Links. However, this is where things start veering away from the default Vast theme I was referencing.
The 'page' folder in the Vast theme contains HTML files whereas my 'page' folder contains only JavaScript and CSS files. The Vast theme has a 'custom-modules' folder with JSON files containing everything needed to build a module whereas my theme has only a 'modules' folder that contains folders which contain fields.json, meta.json, module.css, module.html, and module.js files.
I'm totally new to HubSpot so I'm not sure why these themes aren't similar. I would really appreciate any assistance getting these modules output on the page like the Vast theme. It seems like once I get over this hurdle I can work on building out templates in my local development workflow. Can someone point me in the right direction?
I've tried to get a better idea with a sparse amount of documentation but when I create a file in hubspot through design manager (to find where maybe I should add my files) the folder contents although is in the same place on the FTP it's different when viewing it on hubspot design manager.
I've cloned custom modules to files so I can get them out and see if I can use them within local HubL server templates but when I login to the FTP they are not there.
Finally I cannot create folders within the FTP anywhere it just throws an error about permissions being set at 550.
Hi @benf2489 please can you contact the technical support team directly via the Help button in your account. This will be the fastest way to troubleshoot.
Hi @roisinkirby, I have - While there are people looking into this it was suggested I post here and seeming as someone has already asked the question....
The following updates have been made to the Local HubL Server.
We’ve added support for Java 9+
The Local HubL Server now supports the new Modules framework and mock modules
Added mock data for contacts, accounts, and owners
Updated the HubL functions and tags library
How do I get it?: The latest package can be downloaded here.
Who is it available to? The local HubL Server can now be used by all Marketing Hub Basic, Professional, or Enterprise users who develop on the HubSpot platform.
If you have any further questions please let me know and I can put you in touch with a Design specialist
@devoidofgenius sorry for the delay here! For reference could you please share a URL to the documentation you referenced and screenshots of progress so far?
So the first thing I noticed is that after pulling in the directory via FTP the HUBL Server fails to start. This is the portal directory containing the content folder.
The reason for the HUBL Server not starting is the lack of a custom-modules folder. Placing an empty folder inside of the portal folder allows the server to start.
The folder structure also differs from the Vast theme in that the content folder contains a template subdirectory, within that there is a custom directory containing the same folder structure as the custom folder inside of the Vast theme. I'm not sure if the structure of the folders really matters much, if at all.
Once pulling everything in and starting the HUBL Server I'm presented with a list of Template Links.
This is where things begin to confuse me. Inside of the Design Manager dashboard, I'm presented with a folder structure that is different from the one available via FTP. There are two separate directories containing the same folder structure, but I only have one available to me via FTP.
The one that I don't have available to me is the one that contains all of the templates I would be using. The one I have access to really only contains CSS files, not the actual templates. Without being able to compare Vast and the custom template within the Design Manager I'm not sure if this is normal.
This gives you a little more information regarding the issues I've faced so far. The ultimate goal is to have a development process that involves creating blog/page modules locally and being able to upload them via FTP to create blog and page templates. This way we can use our current workflow and build processes instead of developing modules and pages in the browser. I'd like to know what I need to do to accomplish this. Any help to get this moving forward would be appreciated.
@Gareth_l I have not, unfortunately. It seems as though Hubspot's support on this issue is slow moving. Keep an eye out on this thread and hopefully, I will get a response soon. If I find an acceptable solution I will try to mention you so it brings it to your attention. There really should be better documentation for this.