CMS Development

LReid-Sachs
Member

is there a way to replace the blog listings page and go back to the default template?

SOLVE

I am fairly new to hubspot... when our company migrated this website to hubspot, the hubspot team custom-coded our blog listings page. Now our company wants to go back to the default blog listings template and use that more or less.

 

Is there a way to replace what was done and start over?

or delete and start over?

I have tried to use the "template" option under settings. but that doesn't work as I believe the module was customized...

 

or, do I have to redo the page with the drag and drop options.

I have also created a new blog listings page to develop this on, but the margin settings etc. are completely different from the default blog listings page that we want to emulate.

 

0 Upvotes
1 Accepted solution
SteveHTM
Solution
Guide | Partner
Guide | Partner

is there a way to replace the blog listings page and go back to the default template?

SOLVE

@LReid-Sachs - It's perfectly possible to replace the listings template that you have on your blog with a different template. That's the theory at least - but it may involve quite a bit of effort to do so. The historical baggage of past blog implementation approaches seems to cause ripple-effect challenges beyond that of typical theme components.

 

The simple part is what you have found - it is possible to go to blog settings and choose a new template HTML option within your theme. To set up such an HTML template, you need to clone a template starting from a desired base - likely one of the regular HubSpot starting themes - and configure it to be compatible with your working (child) theme in design tools file structure. Its likely that some dependent modules and (perhaps) some coded files need to be cloned to your child theme as well.

 

It may be necessary to check that the base.html at the heart of your theme does not conflict with the expectations of the new listing template - and to check that the use of theme values (page width, margins, typography, etc., etc. etc.) is in line with use in the rest of your theme templates. Then start a journey into checking the dependencies on various CSS values that may or may not be defined in the same way as your current coded files.

 

If you use a drag and drop structure in the new template, it should be possible to edit like a regular page in the blog listings page editor when you get relatively close to what you want as a look and feel. Or you just extensively use preview in the design tools and edit things manually.

 

As you can probably sense, I'm in the middle of such an effort right now and wondering if there might have been some easier starting point. What I did do, which I think is a wise way to offer some breathing room, was to add a new "hidden" blog and duplicate some posts (export/import) to give a working set of data independent of the live site as you overcome the major setup issues.

 

Good luck!

 

Steve

Steve Christian

HTM Solutions

https://info.htmsolutions.biz/meetings/stevec2

mobilePhone
+1 6195183009
emailAddress
stevec@htmsolutions.biz
website
www.htmsolutions.biz
address
San Diego, CA
Create Your Own Free Signature

View solution in original post

0 Upvotes
2 Replies 2
LReid-Sachs
Member

is there a way to replace the blog listings page and go back to the default template?

SOLVE

Thanks! in the end that is eactly what I've ended up doing... and it's painful...

0 Upvotes
SteveHTM
Solution
Guide | Partner
Guide | Partner

is there a way to replace the blog listings page and go back to the default template?

SOLVE

@LReid-Sachs - It's perfectly possible to replace the listings template that you have on your blog with a different template. That's the theory at least - but it may involve quite a bit of effort to do so. The historical baggage of past blog implementation approaches seems to cause ripple-effect challenges beyond that of typical theme components.

 

The simple part is what you have found - it is possible to go to blog settings and choose a new template HTML option within your theme. To set up such an HTML template, you need to clone a template starting from a desired base - likely one of the regular HubSpot starting themes - and configure it to be compatible with your working (child) theme in design tools file structure. Its likely that some dependent modules and (perhaps) some coded files need to be cloned to your child theme as well.

 

It may be necessary to check that the base.html at the heart of your theme does not conflict with the expectations of the new listing template - and to check that the use of theme values (page width, margins, typography, etc., etc. etc.) is in line with use in the rest of your theme templates. Then start a journey into checking the dependencies on various CSS values that may or may not be defined in the same way as your current coded files.

 

If you use a drag and drop structure in the new template, it should be possible to edit like a regular page in the blog listings page editor when you get relatively close to what you want as a look and feel. Or you just extensively use preview in the design tools and edit things manually.

 

As you can probably sense, I'm in the middle of such an effort right now and wondering if there might have been some easier starting point. What I did do, which I think is a wise way to offer some breathing room, was to add a new "hidden" blog and duplicate some posts (export/import) to give a working set of data independent of the live site as you overcome the major setup issues.

 

Good luck!

 

Steve

Steve Christian

HTM Solutions

https://info.htmsolutions.biz/meetings/stevec2

mobilePhone
+1 6195183009
emailAddress
stevec@htmsolutions.biz
website
www.htmsolutions.biz
address
San Diego, CA
Create Your Own Free Signature
0 Upvotes