CMS Development

Vchannel
Participante

Help to creating dynamic pages

resolver

Hello  Devs,

I have 5 events in my hubDB table then how can make dynamic page for each event and the page path is respectiive to event name. I checked for some solutions but I didn't get flow and syntax too.

I hope you get my point and I'm looking forward to a solution.

0 Me gusta
1 Soluciones aceptada
piersg
Solución
Asesor destacado

Help to creating dynamic pages

resolver

Sorry to jump in here @Anton. Hi @Vchannel, in the settings of your HubDB make sure "Enable creation of dynamic pages using row data" is selected. This will add two columns, Page title and Page path. Whatever you write into page path will be the URL of the dynamic page of that row, for example "developer-meetup-feb-2022". This is relative to whatever page you're populating with HubDB data, so if you have a normal website page that is "example.com/events", add the HubDB in the advanced settings of the page and then the dynamic paths will be generated automatically as a subfolder of /events so you can view the page for your Developer Meetup Feb 2022 event at example.com/events/developer-meetup-feb-2022.

 

More info here.

 

Ver la solución en mensaje original publicado

2 Respuestas 2
piersg
Solución
Asesor destacado

Help to creating dynamic pages

resolver

Sorry to jump in here @Anton. Hi @Vchannel, in the settings of your HubDB make sure "Enable creation of dynamic pages using row data" is selected. This will add two columns, Page title and Page path. Whatever you write into page path will be the URL of the dynamic page of that row, for example "developer-meetup-feb-2022". This is relative to whatever page you're populating with HubDB data, so if you have a normal website page that is "example.com/events", add the HubDB in the advanced settings of the page and then the dynamic paths will be generated automatically as a subfolder of /events so you can view the page for your Developer Meetup Feb 2022 event at example.com/events/developer-meetup-feb-2022.

 

More info here.

 

dennisedson
Equipo de producto de HubSpot
Equipo de producto de HubSpot

Help to creating dynamic pages

resolver

@Anton , this seems like a question up your alley

0 Me gusta