CMS Development

Vchannel
参加者

Help to creating dynamic pages

解決

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 いいね!
1件の承認済みベストアンサー
piersg
解決策
キーアドバイザー

Help to creating dynamic pages

解決

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.

 

元の投稿で解決策を見る

2件の返信
piersg
解決策
キーアドバイザー

Help to creating dynamic pages

解決

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
HubSpot製品開発チーム
HubSpot製品開発チーム

Help to creating dynamic pages

解決

@Anton , this seems like a question up your alley

0 いいね!