CMS Development

MKottise
Colaborador

Code line to display when the page was updated

resolver

My client requested a solution that is technically out of my reach, so I need your help.

 

Basically, my client has a hub page, it lists a bunch of landing pages, each of them features an article.

 

Now client wants that in this hub page, there is a date displayed that auto-updates every time that any of those landing pages are updated in Hubspot.

 

I hope I am explaining this correctly. Does any one of you know, if this is remotely possible? I know it's possible with blogs, but is it also possible in case of landing pages?

 

Also if this is not the right place to ask, please let me know where to go or with whom should I talk to.

 

Thanks in advance!

0 Me gusta
1 Soluciones aceptada
JMair
Solución
Participante | Partner nivel Gold
Participante | Partner nivel Gold

Code line to display when the page was updated

resolver

You can use the "content.updated" HUBL variable to show the UNIX Timestamp of the last of an asset (Landingpage, Webpage etc.)

 

For HUBL this could look like: 

 

{{ to_local_time(content.updated) }}

 

 

For reference:

https://developers.hubspot.com/docs/cms/hubl/variables

https://developers.hubspot.com/docs/cms/hubl/filters

Ver la solución en mensaje original publicado

2 Respuestas 2
JMair
Solución
Participante | Partner nivel Gold
Participante | Partner nivel Gold

Code line to display when the page was updated

resolver

You can use the "content.updated" HUBL variable to show the UNIX Timestamp of the last of an asset (Landingpage, Webpage etc.)

 

For HUBL this could look like: 

 

{{ to_local_time(content.updated) }}

 

 

For reference:

https://developers.hubspot.com/docs/cms/hubl/variables

https://developers.hubspot.com/docs/cms/hubl/filters

MKottise
Colaborador

Code line to display when the page was updated

resolver

Thank you, this helped me towards the right direction!

0 Me gusta