Author Topic: Default category for Category page?  (Read 1132 times)

shikama

  • Regular
  • **
  • Posts: 11
Default category for Category page?
« on: February 07, 2011, 03:44:44 PM »
How do I get a certain category group to appear on the sidebar of the category page regardless of what the posts in that category have?

So right now, say I have category A, and posts under it. Every time I click on Category A to see all the posts under that category, the Category Group that's shown will be the Category Group that's specified for the FIRST post shown on the page. Is there anyway I can make it so that Category A's page will always have the "Default" or "Home" category group shown on the widget?

My only work around right now is to have a dummy post that will always show up first that has the Home category group as its category group. But that seems a bit cumbersome and roundabout to do...

Peter

  • Administrator
  • Regular
  • *****
  • Posts: 439
    • http://blog.avirtualhome.com
Re: Default category for Category page?
« Reply #1 on: February 07, 2011, 04:19:45 PM »
I will have to program this option.

I'm think to add this like this:
You can select which category group to show for the following pages:
Home
Category Archive
Tag Archive
Daily Archive
Monthly Archive
Yearly Archive
Search Page
Author Archives

Can't give you a time frame when this will be implemented
Peter van der Does
AVH Plugins developer

shikama

  • Regular
  • **
  • Posts: 11
Re: Default category for Category page?
« Reply #2 on: February 07, 2011, 06:12:53 PM »
is there a way for the current setting to pick up "invisible" posts as well? That could be a quick work around.

I could make a post to appear at the top of the list, but make it invisible to the users. Right now, it still doesn't work because AVH doesn't seem to pick up invisible posts either.

Peter

  • Administrator
  • Regular
  • *****
  • Posts: 439
    • http://blog.avirtualhome.com
Re: Default category for Category page?
« Reply #3 on: February 07, 2011, 07:26:57 PM »
I think a version implementing the pages feature could be released by the end of the week.
Peter van der Does
AVH Plugins developer

shikama

  • Regular
  • **
  • Posts: 11
Re: Default category for Category page?
« Reply #4 on: February 09, 2011, 06:10:28 PM »
please! that would be awesome :)

shikama

  • Regular
  • **
  • Posts: 11
Re: Default category for Category page?
« Reply #5 on: February 11, 2011, 06:44:04 PM »
thanks for the update!

But now theres another problem. On some of my category archive page, I DO want the menu to be dynamically loaded depending on what I specified for the posts inside of it.

Heres an example, for some of my category archive pages, I want them to just hard-display the "Home" category group. But for most of the other, I want the old functionality, since I have specific category groups for most of my category archives.

Is there anyway I can do that on my own?

i.e. on XYZ's category archive page, I want the "Home" group displayed. But on ABCDE's category archive page, I want a different group on each one of them.

shikama

  • Regular
  • **
  • Posts: 11
Re: Default category for Category page?
« Reply #6 on: February 11, 2011, 07:09:26 PM »
perhaps control over the widget with category IDs?

i.e.
if (category_id == 1) {
display 'home' group
}

and so on..

sherlocked

  • Newbie
  • *
  • Posts: 4
Re: Default category for Category page?
« Reply #7 on: February 12, 2011, 06:13:43 AM »
Peter: with the latest upgrade the plugin works perfectly on my theme ... thanks!

Regarding shikama's comments, personally I prefer each Category Archive Page to display on the sidebar a relevant category group (to my understanding it was the last post's category group, with previous versions?)...
... and not the same category group for all category archive page, as it is set from the panel.


Peter

  • Administrator
  • Regular
  • *****
  • Posts: 439
    • http://blog.avirtualhome.com
Re: Default category for Category page?
« Reply #8 on: February 12, 2011, 07:48:34 AM »
Ok so here's where we're at, as far as I understand it.

Have the ability to show the following Category Group widget on the category archive page:
  • Based on the last post in that category.
  • Hand picked based on the special page
  • Hand picked based on which categories archive is displayed

Am I missing something?
« Last Edit: February 12, 2011, 07:53:04 AM by Peter »
Peter van der Does
AVH Plugins developer

sherlocked

  • Newbie
  • *
  • Posts: 4
Re: Default category for Category page?
« Reply #9 on: February 12, 2011, 08:53:07 AM »
I think you sum all points accurately. Solution "c" best fits my needs, but each one of us has different needs:)

shikama

  • Regular
  • **
  • Posts: 11
Re: Default category for Category page?
« Reply #10 on: February 16, 2011, 05:31:45 PM »
Those sound great Peter! The last one will probably fit my need the most too. If we can have control over which to display for each specific category page (not sure how easy/hard that is to do).

shikama

  • Regular
  • **
  • Posts: 11
Re: Default category for Category page?
« Reply #11 on: February 24, 2011, 07:33:55 PM »
do you have an eta for this by any chance Peter? If not, is there a way that I can hard-code it in right now?

something like if category_id = 3 then display this category group, or if category_id = 4 then display this category group etc...

Peter

  • Administrator
  • Regular
  • *****
  • Posts: 439
    • http://blog.avirtualhome.com
Re: Default category for Category page?
« Reply #12 on: February 24, 2011, 10:38:06 PM »
No ETA yet, sorry.

I'll see what I can come up with in the next few days.
Peter van der Does
AVH Plugins developer

Peter

  • Administrator
  • Regular
  • *****
  • Posts: 439
    • http://blog.avirtualhome.com
Re: Default category for Category page?
« Reply #13 on: February 25, 2011, 10:46:28 PM »
For who ever is interested in this, I have a beta version ready that I can send out to anybody who wants to test it.

This is the setup:
On the Edit Category page you can select which Category Group to display for that category on it's archive page.
It defaults to the first group the category is a member of.
You can only display one Category Group widget per Category Archive Page.
Peter van der Does
AVH Plugins developer

shikama

  • Regular
  • **
  • Posts: 11
Re: Default category for Category page?
« Reply #14 on: February 26, 2011, 04:52:34 PM »
hi Peter, I would love to try it out. you can email it to lancinator at gmail or just PM me link

thanks!