Date folders not created on publish, postDate problem
I have already found the answer to this but having spent the best part of a couple of hours trying to figure it out and failing to find anyone out there who had had the same problem I thought I should add it here. Apologies if this is discussed elsewhere.
So, we have Blog4Umbraco 2.0.26 running on Umbraco 4.5.1. Everything was working fine until this afternoon when I installed a couple of other packages and also made a change to the Blog Post document type.
After this I noticed that new posts were not appearing in the BlogList macro and the Full Archive was not showing "Posted:" and the date next to recently published posts (some older ones were fine). Also, when I initially published any posts they were not being put into DateFolders.
I hunted around for a while and quickly realised it wasn't the new packages that were the problem so I looked around the content XML and started seeing postDate tags rather than PostDate ones in my node xml for the most recent posts.
I went through the XSLT files and realised they were all looking for PostDate (capital 'P') wheras whenever I published a post it ended up with postDate (lowercase 'p'). When I tried to change this in the BlogPost doc type it wouldn't let me, kept auto changing it back to postDate.
So, the fix was to find the right record in the cmsPropertyType database table, change the Alias from postDate to PostDate and voila! I'll have to remember to change this again any time I edit that doc type but it's an easy fix.
Date folders not created on publish, postDate problem
I have already found the answer to this but having spent the best part of a couple of hours trying to figure it out and failing to find anyone out there who had had the same problem I thought I should add it here. Apologies if this is discussed elsewhere.
So, we have Blog4Umbraco 2.0.26 running on Umbraco 4.5.1. Everything was working fine until this afternoon when I installed a couple of other packages and also made a change to the Blog Post document type.
After this I noticed that new posts were not appearing in the BlogList macro and the Full Archive was not showing "Posted:" and the date next to recently published posts (some older ones were fine). Also, when I initially published any posts they were not being put into DateFolders.
I hunted around for a while and quickly realised it wasn't the new packages that were the problem so I looked around the content XML and started seeing postDate tags rather than PostDate ones in my node xml for the most recent posts.
I went through the XSLT files and realised they were all looking for PostDate (capital 'P') wheras whenever I published a post it ended up with postDate (lowercase 'p'). When I tried to change this in the BlogPost doc type it wouldn't let me, kept auto changing it back to postDate.
So, the fix was to find the right record in the cmsPropertyType database table, change the Alias from postDate to PostDate and voila! I'll have to remember to change this again any time I edit that doc type but it's an easy fix.
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.