Share Your Work

josealvin
Membro

HTML Source isn't updating in the frontend

resolver

We have this custom html code for the footer but updating the html in the template is not updating on the frontend. Any experiencing the issue? how to resolve this?

 

Thanks

1 Solução aceita
josealvin
Solução
Membro

HTML Source isn't updating in the frontend

resolver

I converted it to global module and the issue resolved. Thanks for the help.

Exibir solução no post original

5 Respostas 5
josealvin
Solução
Membro

HTML Source isn't updating in the frontend

resolver

I converted it to global module and the issue resolved. Thanks for the help.

erod
Colaborador(a)

HTML Source isn't updating in the frontend

resolver

If it's not showing up, it can be one of two things: 

 

1) Your "custom HTML code" includes custom fields, which means that if you make any changes on the backend they won't show until you update them in the editor. 

 

2) Your old page is cached so you're getting the old version of the footer. Troubleshoot by doing the following:

  • Go to the page and add a "?3333" at the end of the link (mysite.com/about?3333). Because you changed the link, the browser will process it as a new page and will re-cache it. 
  • Open the inspect tool (Chrome: View > Developer > Inspect Elements.) and right click your browsers "Reload" button. You'll get a pop up with the option to "clear cache and hard reload"
  • Clear cache through your browser.

If none of that works, you might have another problem and would need to better describe what you're doing to properly diagnose the problem. 

josealvin
Membro

HTML Source isn't updating in the frontend

resolver

1. I updated it and still not updating.

2. I tried adding "?3333" and still not updating. But I'll try to figure out the caching.

 

Thanks

Teun
Especialista reconhecido(a) | Parceiro Diamante
Especialista reconhecido(a) | Parceiro Diamante

HTML Source isn't updating in the frontend

resolver

Hi @josealvin ,

 

Are you coding with the CLI or through the design tools?

If you use the CLI to sync your code, double-check if the code is correct in the design tools. If not, you should see an error in the CLI.

If it is correct in the design tools or you code directly in the design tools, double-check the console if you do not see any errors there.

Also, check if the page you are viewing is using the correct template.

If everything above checks out, check if the cache isn't an issue. You can use the HubSpot dev chrome extension

It has a 'Bust cache' option that might help.



Learn more about HubSpot by following me on LinkedIn or YouTube

Did my answer solve your issue? Help the community by marking it as the solution.


josealvin
Membro

HTML Source isn't updating in the frontend

resolver

I'm using the design manager > global-content-editor. Okay, I'll try the HubSpot dev Chrome extension. Thanks