Back to ProBlog Support

stephanec19464
stephanec19464

Hi, is there any way to use the archive to filter the blog post list instead of having a collapsible item with the whole list of item posted in a specific month. As example, i want to be able to click on "october 2016" and the page refresh with a post list filtered by date of october 2016.

thx for help.

ChadStrat
ChadStrat

If you look under the "Post Rendering Explained" section, last bullet point, you should be able to do as you describe.

/blog/:year?/:month?/

ChadStrat
ChadStrat

oh...you mean by day? I've never had that request. let me think about that.

ChadStrat
ChadStrat

So the best that I can do is provide some code changes that force a cannonical category like so: mysite.com/blog/cannonical/2015/08/19/ wherein your page url property would look like so: /blog/:filter?/:year?/:month?/:day?/

stephanec19464
stephanec19464

yeah. i saw that point. but i'm not quite sure how to implement that. currently, i have one page (blog.htm) that render blogPostList with an url (/blog/:filter?/:slug?/ ). So do i need to setup another page with the url (/blog/:year?/:month?/) to render list of posts by date or i can just sum that in one page and set the url to (/blog/:filter?/:slug?/:year?/:month?/)

ChadStrat
ChadStrat

Just pushed an update. You now have options. 1 ) I added 'day' to the date filter code. 2 ) you can either a ) filter by using url params /pagename/?filter:/?year:/?month:/?day:/ (pagename/cannonical/2015/08/21/) with each of them successively optional. b ) you can create a new page with a URL param of /pagename/?year:/?month:/?day:/ and then set a BlogList component to have a 'cannonical' filter and no filter value. Either way, you can create infinite possibilities of links however you like that link to something like: /pagename/2015/ or /pagename/2015/08/ or /pagename/2015/08/21/

stephanec19464
stephanec19464

is there a public variable exposed to show the current year / month / day filter ? (as example for the categories : page['blogCurrentCategorySlug'] ?

1-7 of 7