Textpattern CMS support forum

You are not logged in. Register | Login | Help

#41 2009-06-06 03:56:23

floodfish
Member
From: Brooklyn, NY
Registered: 2007-01-11
Posts: 155
Website

Re: adi_cat_menu – Category & article menu

Have you got an example? Do you mean fragment anchors (e.g. …/category/cat-name/#fragment)?

Well, just to link to parts of the category list on the same page, not to fragments on the category page. Imagine I have 4,000 articles in 35 categories. It would be nice to offer a list of the category names at the top, and have each link to its portion of the larger list. Otherwise, it’s quite a lot of scrolling to even see what some of the categories are called.

Last edited by floodfish (2009-06-06 03:59:28)

Offline

#42 2009-06-16 04:53:18

floodfish
Member
From: Brooklyn, NY
Registered: 2007-01-11
Posts: 155
Website

Re: adi_cat_menu – Category & article menu

Another question/request (requestion?) from me…

Is there a way to suppress listing of empty categories from the list?

Offline

#43 2009-06-16 21:42:54

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

Re: adi_cat_menu – Category & article menu

floodfish wrote:

Is there a way to suppress listing of empty categories from the list?

Yes … but you’ll have to hang on for the next version!

Offline

#44 2009-06-21 23:38:11

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

Re: adi_cat_menu – Category & article menu

Version 0.4 now available:

  • new attributes: ‘link’, ‘article_form’ & ‘rss_article_form’
  • enhancement: extended ‘categories’ & ‘exclude’ functionality to section sensitive mode
  • fix: suppress empty <ul></ul>

Offline

#45 2009-07-09 05:51:32

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

Re: adi_cat_menu – Category & article menu

This is a great plugin. I am curious if there is a way to get the plugin to also include articles that are Sticky? Not an either/or situation — I do want to list Live articles at the same time as well. I’ve fiddled around inside the plugin code, but can’t figure out how to not exclude sticky articles.

If anyone is curious, I am trying to make it so that sticky articles will appear differently (actually show the body of the article vs. the permlinked title) in the category list by using the wet_if_status plugin inside the adi_cat_menu_articles form. I just need to get over this Sticky roadblock first!

Offline

#46 2009-07-09 18:06:19

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

Re: adi_cat_menu – Category & article menu

Ok… I just threw out the Sticky idea and created a custom field to use instead.

Now I am wondering how to alter the wraptags so that I can use the output of this plugin with a vertical jquery menu. The category names would need to be wrapped in a <dt></dt> and then adi_cat_menu would output the list of articles in the regular unordered list within <dd></dd> tags.

example of the type of list I am going for: http://www.stunicholls.com/menu/jquery-slide-1.html#url

)

Offline

#47 2009-07-09 23:42:25

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

Re: adi_cat_menu – Category & article menu

photonomad wrote:

This is a great plugin.

Thanks, glad you find it useful.

I am curious if there is a way to get the plugin to also include articles that are Sticky?

On a quick glance, I think this would require a major change to the code but is possibly doable.

Offline

#48 2009-07-09 23:47:56

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

Re: adi_cat_menu – Category & article menu

photonomad wrote:

Ok… I just threw out the Sticky idea and created a custom field to use instead.

Phew.

Now I am wondering how to alter the wraptags so that I can use the output of this plugin with a vertical jquery menu. The category names would need to be wrapped in a <dt></dt> and then adi_cat_menu would output the list of articles in the regular unordered list within <dd></dd> tags.

Sounds feasible. I’ll have a ponder on the subject …

Offline

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

photonomad
Member
Registered: 2005-09-10
Posts: 287
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: 287
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

Board footer

Powered by FluxBB