What's wrong with my CGBlog archive?

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Locked
Elise
Forum Members
Forum Members
Posts: 24
Joined: Sun Jan 03, 2010 10:13 pm

What's wrong with my CGBlog archive?

Post 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?
Last edited by Elise on Mon Jan 25, 2010 9:07 pm, edited 1 time in total.
Elise
Forum Members
Forum Members
Posts: 24
Joined: Sun Jan 03, 2010 10:13 pm

Re: What's wrong with my CGBlog archive?

Post by Elise »

Am I doing something wrong ???
I'm using the latest versions of cmsms, cgblog, cgextensions, and CGSimpleSmarty.
Elise
Forum Members
Forum Members
Posts: 24
Joined: Sun Jan 03, 2010 10:13 pm

Re: What's wrong with my CGBlog archive?

Post by Elise »

Does no-one have a clue?
Jos
Support Guru
Support Guru
Posts: 4019
Joined: Wed Sep 05, 2007 8:03 pm
Location: The Netherlands

Re: What's wrong with my CGBlog archive?

Post by Jos »

Elise, I have never used CGBlog yet, but have you tried this also with pretty-urls turned off?
Elise
Forum Members
Forum Members
Posts: 24
Joined: Sun Jan 03, 2010 10:13 pm

Re: What's wrong with my CGBlog archive?

Post by Elise »

No, I'll try and let you know.
Thanks for the suggestion.
Elise
Forum Members
Forum Members
Posts: 24
Joined: Sun Jan 03, 2010 10:13 pm

Re: What's wrong with my CGBlog archive?

Post 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?
Elise
Forum Members
Forum Members
Posts: 24
Joined: Sun Jan 03, 2010 10:13 pm

Re: What's wrong with my CGBlog archive?

Post by Elise »

How to use pretty-urls with the CGBlog archive?
Elise
Forum Members
Forum Members
Posts: 24
Joined: Sun Jan 03, 2010 10:13 pm

Re: What's wrong with my CGBlog archive?

Post by Elise »

Thank you for your reply!
rubberglover
Forum Members
Forum Members
Posts: 53
Joined: Mon Jul 23, 2007 5:30 pm

Re: What's wrong with my CGBlog archive?

Post 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
onninen
New Member
New Member
Posts: 8
Joined: Sat Jun 19, 2010 8:10 pm

Re: What's wrong with my CGBlog archive?

Post 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.
Locked

Return to “Modules/Add-Ons”