Back to ProBlog Support

richard4324
richard4324

Hi: Just updated to 2.0 and noticed that the blog list is broken. I was overriding the blogList component display by using a partial on my theme. Noticed that the link to the render page was changed from

    "/{{ blogPost }}/{{ post.slug }}/"

into

    "/{{ post.parent }}/{{ post.slug }}/"

The variable blogPost seems to be undefined now. Which variable should I use? For the time being I hard wired the blogPost component page's url. Thanks for your great plugin!

Last updated

ChadStrat
ChadStrat

It's now done one of two ways - 1. using 'blogParent' as defined in the problog settings area. 2. post.parent if you are setting the post parent to its matching category page that should be available after adding/editing your categories in the categories area.

ChadStrat

richard4324
richard4324

Yes, thanks! I've used blogParent in the partial and now it works. This leaves to mention that by default the separate render page won't work unless the partial is overriden, am I right?

ChadStrat
ChadStrat

Perhaps I should add a component property for parent page:

  • posts parent page
  • settings parent page
  • specific page

I will look into this.

ChadStrat

1-4 of 4