blog4umbraco blogfullarchive doesn't show blogposts
Hi I implemented the blog4umbraco package into my website, and I use it for posting news-items.
For some reason though the blogfullarchive macro is not working. It does show the DateFolder, but it doesn't show the blogposts that were posted in the DateFolder
the structure of my website looks like this:
in the xslt code I loop through the DateFolder like this:
I started from a complete fresh slate, deleted the Blog4Umbraco package and reïnstalled it. This time I integrated the BlogMaster template under the Master template of my website. After some tweaking of the BlogMaster, Blog and BlogPost template everything works fine.
To get the Archive functionality right I had to do some upgrading of the BlogListPost.xslt file. You can find more information about this here:
The blog4umbraco package is fairly integrated into my website now, and I started with the inputting of the news archive of Prof. dr. Voorhoof (who by the why also teaches in Denmark).
blog4umbraco blogfullarchive doesn't show blogposts
Hi I implemented the blog4umbraco package into my website, and I use it for posting news-items.
For some reason though the blogfullarchive macro is not working. It does show the DateFolder, but it doesn't show the blogposts that were posted in the DateFolder
the structure of my website looks like this:
in the xslt code I loop through the DateFolder like this:
<xsl:for-each select="$currentPage/ancestor-or-self::DVBlog/DateFolder">
And then I loop through each blogpost like this:
<ul>
<xsl:for-each select=".//DVBlogPost">
<li>
<a href="{umbraco.library:NiceUrl(@id)}">
<xsl:value-of select="@nodeName"/>
</a>
<br/>
<small>
Posted: <xsl:value-of select="umbraco.library:LongDate(PostDate)"/>
By: <xsl:value-of select="@writerName"/>
</small>
</li>
</xsl:for-each>
</ul>
But as you can see in the rendered html, only the title for the DateFolder gets rendered:
Am I missing something here? Thanks for your help!
Anthony Candaele
Belgium
Hi Anthony
What XML do you get returned if you make a copy-of?
<textarea>
<xsl:copy-of select="$currentPage/ancestor-or-self::DVBlog/DateFolder" />
</textarea>
And are you sure the elements you're trying to match are in the right casing? (XSLT is case sensitive).
/Jan
Hi Jan,
This is the xml that I get returned:
<p>this is a test post</p> test00
greetings,
Anthony
That looks weird?? Why are there no xml elements? Is this all the copy-of returns?
/Jan
Hi Jan
I started from a complete fresh slate, deleted the Blog4Umbraco package and reïnstalled it. This time I integrated the BlogMaster template under the Master template of my website. After some tweaking of the BlogMaster, Blog and BlogPost template everything works fine.
To get the Archive functionality right I had to do some upgrading of the BlogListPost.xslt file. You can find more information about this here:
http://blog4umbraco.codeplex.com/workitem/5605
The blog4umbraco package is fairly integrated into my website now, and I started with the inputting of the news archive of Prof. dr. Voorhoof (who by the why also teaches in Denmark).
greetings,
Anthony
Hi Anthony
Glad to hear you got it working - Don't know the guy but maybe I should check out what he does ;-)
Have a good day.
/Jan
is working on a reply...