Page 1 of 1
What's wrong with my CGBlog archive?
Posted: Mon Jan 25, 2010 5:41 pm
by Elise
Hi,
I'm setting up a blog with CGBlog. On the right I want to be able to browse the archive by year.
So on my template I used
Code: Select all
<div id="inhoud">
<h1>{title}</h1>
{CGBlog detailpage='nieuwsdetail'}
</div>
<div id="navblog">
{CGBlog action='archive'}
</div>
Now, on the right it shows a link: January. When clicked it brings you to the page
http://www.hallobordercollies.nl/nieuw/ ... 10/01.html
But this page doesn't show the messages posted in January, but my index page.
Any ideas please?
Re: What's wrong with my CGBlog archive?
Posted: Mon Jan 25, 2010 11:03 pm
by Elise
Am I doing something wrong
I'm using the latest versions of cmsms, cgblog, cgextensions, and CGSimpleSmarty.
Re: What's wrong with my CGBlog archive?
Posted: Tue Jan 26, 2010 3:59 pm
by Elise
Does no-one have a clue?
Re: What's wrong with my CGBlog archive?
Posted: Tue Jan 26, 2010 4:24 pm
by Jos
Elise, I have never used CGBlog yet, but have you tried this also with pretty-urls turned off?
Re: What's wrong with my CGBlog archive?
Posted: Tue Jan 26, 2010 6:09 pm
by Elise
No, I'll try and let you know.
Thanks for the suggestion.
Re: What's wrong with my CGBlog archive?
Posted: Tue Jan 26, 2010 6:45 pm
by Elise
It works with pretty-urls turned off!
Thank you Jos.
It there a way I can get it to work with the pretty urls turned on?
Re: What's wrong with my CGBlog archive?
Posted: Wed Jan 27, 2010 6:49 pm
by Elise
How to use pretty-urls with the CGBlog archive?
Re: What's wrong with my CGBlog archive?
Posted: Wed Apr 28, 2010 12:02 pm
by Elise
Thank you for your reply!
Re: What's wrong with my CGBlog archive?
Posted: Wed Jun 23, 2010 10:38 am
by rubberglover
Did you find a solution to this? I really need the archive to work with Pretty URLs turned on. Also, for some reason my archive shows all of my posts as being entered in December 1999! Here is my archive template (set as default):
Code: Select all
{* archive template *}
{if isset($archivelist)}
<ul class="post-category">
{foreach from=$archivelist item=one}
<li class="post-category-month"><a href="{$one.summary_url}">{$one.datestamp|date_format:"%B"} {$one.datestamp|date_format:"%Y"}</a> ({$one.count})</li>
{/foreach}
</ul>
{/if}
I am calling it using the standard code:
Code: Select all
{cms_module module="CGBlog" action="archive"}
I am using CMSMS v1.7.1 and CGBlog v1.4
Re: What's wrong with my CGBlog archive?
Posted: Wed Jun 30, 2010 8:52 pm
by onninen
I have the same problem, I'm using 1.7.1 and CGBlog 1.4. See my post:
http://forum.cmsmadesimple.org/index.php/topic,44759.msg213899.html#msg213899.
I need to fix this now for all new blog entries using phpmyadmin and editing cms database cms_module_cblog table as described in my post. I hope this bug will be fixed soon.