Page 1 of 1

Archives Sidebar and Category IDs

Posted: Wed Oct 31, 2007 12:18 am
by tpost
Hi Garvin (or whoever can help me out!)

Right now, I am using the "Properties/Templates of categories" plugin to get individual categories to have its own look and feel -- basically making each category look like its own separate blog.

I have run into an issue with the "Archives" sidebar plugin.

Everything works well until I click on one of my entries within a category.
http://www.tradingpostfinancial.com/blo ... again.html

After I click on one of the entries, clicking on one of the "Archive" links in the sidebar takes me to my main frontpage, instead of the category's frontpage.

The ID number in each of the "Archives" links link to the wrong category (The end of the URL should read C4.html... instead of C3.html).

I'm trying to edit the "Archives" sidebar plugin to change how the "Archives" sidebar detects this... but I have no idea where!

Any help on this would be appreciated!

Thanks!

Posted: Wed Oct 31, 2007 4:16 am
by tpost
Some other kinks I've found:

- When using the "Quick Search" sidebar plugin, the results go to the main frontpage category.

- Calendar sidebar plugin also has the same behaviour as the "Archives" sidebar plugin

Posted: Wed Oct 31, 2007 8:05 am
by garvinhicking
Hi!

Hm, thecategory ID should be fetched by the actual Category, I can't imagine howthat get's "off by one". Do you have anyother event plugins installed? The "Start page category"plugin comes to my mind.
- When using the "Quick Search" sidebar plugin, the results go to the main frontpage category.
That's "by design".You cannot direct to a category page to display search results, because searches are done on thewhole blog.

Regards,
Garvin

Posted: Wed Oct 31, 2007 7:57 pm
by tpost
Hi Garvin,

I do have the "Start Page Category" plugin installed.

When I uninstalled the "Start Page Category" plugin, the links in the "Archives" sidebar still revert to whatever the "Initial view category" is set to.

There aren't any templating suffixes at the end of the url though (eg. C3.html, C4.html) when I uninstall the "Start Page Category" plugin.

---

So I am guessing the bug for detecting the category IDs has something to do with the "Start Page Category" plugin... or is it?

If so, is it possible to fix this?

Thanks for reading!

Posted: Wed Oct 31, 2007 8:37 pm
by garvinhicking
Hi!

Ah, you might need to set the category to display within the calendar plugin and the archives plugin to "current category". It might be that only recent s9y 1.3 nightlies support this feature, it was only added a few weeks ago.

Regards,
Garvin