I have installed Blog 4 Umbraco on a 4.0.4.2 Umbraco Installation.
I am having problems whenever I click the archive links I get a list of all posts on chronological order decending rather than just the monthly archive I have selected.
For instance:
October 2010 (6) -> its link is /blog/2010/10
Whenever I navigate to that page it is listing all posts starting from the most recent (2011/01/05)
I don't really know where to start on this one, if anyone has experienced something similar any help would be great.
Having configured both Blog 4 Umbraco 4.0.x and 4.5.x instances in the last couple months, I have experienced the exact same behaviour- but only with the 4.5.x installation!
Not sure if this is of any help with regard to your issue, if indeed you running an instance with the older XML schema, except to maybe check the validity of the same BlogListPost.xsl references.
@bl_ndp_lot - your fix worked for me. My April 2011 archive links great to "/2011/4.aspx" but I also have archive links like 2010 which links to "/2010.aspx" and these pages are giving me the 404 page.
Page not found No umbraco document matches the url 'localhost/2005.aspx' umbraco tried this to match it using this xpath query'2005')
I would have sworn these were working, but they aren't anymore. I've reinstalled the blog a few times now, and those yearly archive pages just never seem to work. Any thoughts you could offer?
bl_ndp_lot's fix seemed to work perfectly fine for me. I'm using the new umbraco blog package, in Umbraco 4.7.0. The archive used to load every post instead of just the ones in the chosen month. Using the fix above fixed the problem, and it now only shows posts for the specific month as intended. The XSLT will have some errors though - but i just skipped testing.
Got it working as well using @bl_ndp_lot sugestion. With a slight modification becasue the version I use differ from the one posted. But i removed the ancestor-or-self:Blog from the for-each on (or close to) line 92. Works!
Blog Archive Problem
Hello,
I have installed Blog 4 Umbraco on a 4.0.4.2 Umbraco Installation.
I am having problems whenever I click the archive links I get a list of all posts on chronological order decending rather than just the monthly archive I have selected.
For instance:
October 2010 (6) -> its link is /blog/2010/10
Whenever I navigate to that page it is listing all posts starting from the most recent (2011/01/05)
I don't really know where to start on this one, if anyone has experienced something similar any help would be great.
Thanks,
Owen
Having configured both Blog 4 Umbraco 4.0.x and 4.5.x instances in the last couple months, I have experienced the exact same behaviour- but only with the 4.5.x installation!
It appears that with 4.5, that the packaged BlogListPost.xslt still has a few references to the old schema ... http://blog4umbraco.codeplex.com/workitem/5605
Not sure if this is of any help with regard to your issue, if indeed you running an instance with the older XML schema, except to maybe check the validity of the same BlogListPost.xsl references.
Cheers,
Steph
i got this working [so far anyway] by making the following changes to 'BlogListPosts.xslt'
Line 64:
changed to:
line 92:
to
@bl_ndp_lot - your fix worked for me. My April 2011 archive links great to "/2011/4.aspx" but I also have archive links like 2010 which links to "/2010.aspx" and these pages are giving me the 404 page.
Page not found
No umbraco document matches the url 'localhost/2005.aspx'
umbraco tried this to match it using this xpath query'2005')
I would have sworn these were working, but they aren't anymore. I've reinstalled the blog a few times now, and those yearly archive pages just never seem to work. Any thoughts you could offer?
Hello everyone!
bl_ndp_lot's fix seemed to work perfectly fine for me. I'm using the new umbraco blog package, in Umbraco 4.7.0.
The archive used to load every post instead of just the ones in the chosen month. Using the fix above fixed the problem, and it now only shows posts for the specific month as intended. The XSLT will have some errors though - but i just skipped testing.
Hope that helps out someone. :) Thanks a lot!
// Thomas
Got it working as well using @bl_ndp_lot sugestion. With a slight modification becasue the version I use differ from the one posted. But i removed the ancestor-or-self:Blog from the for-each on (or close to) line 92. Works!
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.