Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#49 2009-07-10 00:43:40

photonomad
Member
Registered: 2005-09-10
Posts: 290
Website

Re: adi_cat_menu – Category & article menu

Thanks for pondering it!! In the meantime, I’ve set up a very long list of article_custom tags for each category in my page template in order to use the vertical menu script.

Offline

#50 2009-07-10 18:54:21

photonomad
Member
Registered: 2005-09-10
Posts: 290
Website

Re: adi_cat_menu – Category & article menu

Hi Adi,

I just played around with azp_menugen and was thinking that it would make a great companion to adi_cat_menu. azp_menugen outputs nested lists of category links. If azp_menugen were merged into adi_cat_menu, it would be great if there was a way to differentiate wraptags for categories and articles (perhaps via a combination of plugin attributes and forms to allow for maximum customizabilty). It would also be nice to be able to turn on or off the category links.

Just thought I’d throw this out there as a idea!

Offline

#51 2010-02-01 09:12:27

JimJoe
Member
From: United States
Registered: 2010-01-30
Posts: 573
Website

Re: adi_cat_menu – Category & article menu

gomedia wrote:

Exiladler wrote:

using <txp:adi_cat_menu sort=“parent” /> shows it in a different sort order.

Hi Exiladler. It’s a bit misleading but sort="parent" means “sort according to the category’s parent’s name” not “sort the parents”.

Besides, forgetting about the sort order for the moment, you’re probably seeing something like:

  • Parent-Cat 3
  • Child Cat 1
    • Article 1
    • Article 2
  • Child Cat 3
    • Article 1
    • Article 2
  • Parent-Cat 2
  • Child Cat 2
    • Article 1
    • Article 2
  • Parent-Cat 1
  • etc…

Is that the problem?

That looks like my problem.

What I want my category list to look like:

*level 1 category
** level 2 category
*level 1 category
** level 2 category
*** level 3 category

But it appears to me that my categories are doing this:

*level 1 category

*level 3 category

*level 1 category
** level 2 category

*level 2 category

*level 1 category

I did notice that when I started going over my articles to make sure any links in each one lead to the new blog/cms, I found some in the wrong category. When I corrected that, they moved in the category listing. So the plugin is working, I just have to figure out what I’m doing wrong.

I don’t want articles to list in the sidebar, just categories. I suppose articles will list when a category is clicked.

Thanks.

My site is linked to the left and in my profile.

Last edited by JimJoe (2010-02-03 00:52:58)

Offline

#52 2010-02-02 11:19:23

gomedia
Plugin Author
Registered: 2008-06-01
Posts: 1,373

Re: adi_cat_menu – Category & article menu

JimJoe wrote:

My site is linked to the left and in my profile.

It’s coming up as “404 Not found”!

Offline

#53 2010-02-02 21:12:49

JimJoe
Member
From: United States
Registered: 2010-01-30
Posts: 573
Website

Re: adi_cat_menu – Category & article menu

Yeah, there was a router/backbone problem in the Montreal area. It is back up now.

Offline

#54 2010-02-04 12:19:27

gomedia
Plugin Author
Registered: 2008-06-01
Posts: 1,373

Re: adi_cat_menu – Category & article menu

JimJoe wrote:

… I just have to figure out what I’m doing wrong

The answer is nothing. Unfortunately adi_cat_menu doesn’t traverse down the hierarchy of categories. Currently, it’s strictly one level only. Sorry. Let me have a think & a play around.

Offline

#55 2010-02-04 12:58:08

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: adi_cat_menu – Category & article menu

JimJoe: is this what you need?

Offline

#56 2010-02-04 18:54:35

PascalL
Member
From: Switzerland
Registered: 2009-03-09
Posts: 132
Website

Re: adi_cat_menu – Category & article menu

stw_category_tree seems to work in 4.2, at least for me.

Offline

#57 2010-02-05 00:16:22

JimJoe
Member
From: United States
Registered: 2010-01-30
Posts: 573
Website

Re: adi_cat_menu – Category & article menu

What ever keeps the same listing as i have under the categories tab in the cms would be fine with me.

I’ll try out the suggestions so far. Looking forward to your changes Adi.

Offline

#58 2010-02-05 00:27:36

JimJoe
Member
From: United States
Registered: 2010-01-30
Posts: 573
Website

Re: adi_cat_menu – Category & article menu

Els wrote:

JimJoe: is this what you need?

Hmmm… I put it on both my defaultpage and archivepage, the copies I use instead of originals, and it doesn’t show on left sidebar.

Offline

#59 2010-02-05 01:04:19

JimJoe
Member
From: United States
Registered: 2010-01-30
Posts: 573
Website

Re: adi_cat_menu – Category & article menu

PascalL wrote:

stw_category_tree seems to work in 4.2, at least for me.

This works… but it breaks each category name at the end of a word.

so instead of this: Mad Krongo’s Castle Ruins

Or as:
Mad Krongo’s
castle ruins

it does this:

Mad
Krongo’s
Castle
ruins

making the category listing much longer than necessary.

Offline

#60 2010-02-05 01:34:16

JimJoe
Member
From: United States
Registered: 2010-01-30
Posts: 573
Website

Re: adi_cat_menu – Category & article menu

I have another site I am going to convert from MT to TP.

This is it, my drive in movie theater site: Drive-In Jim’s Drive-In Movie Theatre pages

I think I will use Adi’s category plugin there.

Why yes, I do sleep, every night. I have around 10 other web sites. But that is it for Movable Type, well, my dice collection, but it is small. And these two are the ones I update most of the time.

Offline

Board footer

Powered by FluxBB