Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#16 2004-06-14 10:41:24

robertbrook
New Member
From: London, UK
Registered: 2004-05-28
Posts: 4
Website

Re: mem_glinklist: Grouped Link List

Works great for me: thanks!

Offline

#17 2004-06-14 10:56:52

Jennifer
Member
From: Michigan
Registered: 2004-02-25
Posts: 74
Website

Re: mem_glinklist: Grouped Link List

Oh, wow. I never saw this before. I am so excited… I have wanted this for a very long time.

One request: is there a way to display nested categories? I can set categories of parents of each other – can I get this plugin to show that relationship?

Offline

#18 2004-06-14 14:48:27

Manfre
Plugin Author
From: North Carolina
Registered: 2004-05-22
Posts: 588
Website

Re: mem_glinklist: Grouped Link List

I had thoughts about handling nested categories, but I’m not sure which way to go with it. I could either do a breadcrumb style category header (E.g. Main Category :: Sub Category) or make it look like threaded comments.

Main Category
  • Link 1
  • Link 2
  • Sub Category 1
    • L1
    • L2
    • L3

The breadcrumb style is much cleaner with regards to several levels of categories, but the threaded look has its advantages. I will not be available to work on this until next week, but I’ll let you know when I have something.

Last edited by Manfre (2004-06-14 15:08:59)

Offline

#19 2004-06-14 15:11:37

Jennifer
Member
From: Michigan
Registered: 2004-02-25
Posts: 74
Website

Re: mem_glinklist: Grouped Link List

Well, I don’t know which one would be better. Personally, if you’re able to find a way to do either one, I’d be very happy.

I really need to learn PHP so I can do these things myself. :\

Offline

#20 2004-06-15 02:14:40

Manfre
Plugin Author
From: North Carolina
Registered: 2004-05-22
Posts: 588
Website

Re: mem_glinklist: Grouped Link List

Wilson, you are missing a piece. This is designed with the goal of listing multiple categories with their headers in a way that keeps each list separate, but grouped together. I could push it up a level and add another wrapper to surround the header and the list.

Last edited by Manfre (2004-06-15 06:21:12)

Offline

#21 2004-06-15 06:27:23

Manfre
Plugin Author
From: North Carolina
Registered: 2004-05-22
Posts: 588
Website

Re: mem_glinklist: Grouped Link List

Jennifer, I added support for the breadcrumb style headers and updated the link above. The way to turn on bc headers is with the attribute crumbtrail. If this attribute is set, then it will be used as a separator for each level. This does not show the root (empty) level. To achieve this (and effectively put the separation character before the heading) specify the attribute crumbroot=“1”.

Offline

#22 2004-06-15 11:53:47

Jennifer
Member
From: Michigan
Registered: 2004-02-25
Posts: 74
Website

Re: mem_glinklist: Grouped Link List

Thank you so much!

I can’t seem to get it to work; maybe I’m not not awake enough?

This is what I’ve used:

<txp:mem_glinklist headwraptag=“h4” crumbroot=“1” />

Last edited by Jennifer (2004-06-15 11:54:23)

Offline

#23 2004-06-15 13:16:23

Manfre
Plugin Author
From: North Carolina
Registered: 2004-05-22
Posts: 588
Website

Re: mem_glinklist: Grouped Link List

You need to specify the crumbtrail attribute for it to turn on.

<txp:mem_glinklist headwraptag="h4" crumbtrail="::" crumbroot="1" />

Last edited by Manfre (2004-06-15 13:16:35)

Offline

#24 2004-06-15 14:16:20

Jennifer
Member
From: Michigan
Registered: 2004-02-25
Posts: 74
Website

Re: mem_glinklist: Grouped Link List

Strangely enough, I still don’t get bread crumbs. I double checked that I had the latest version of the plugin, and that it was active.

I pasted your latest example into my page, and then double-checked all the quotes to make sure they were correct… and no crumbs. My header wrap tags work all right, but that’s all.

I’m sorry to keep bugging you with this plugin; I really am very grateful for its existence!

Offline

#25 2004-06-15 18:31:15

Manfre
Plugin Author
From: North Carolina
Registered: 2004-05-22
Posts: 588
Website

Re: mem_glinklist: Grouped Link List

The link above was incorrect and has been fixed. The txt file should specify that it is version 0.3.

Offline

#26 2004-06-15 19:27:25

Jennifer
Member
From: Michigan
Registered: 2004-02-25
Posts: 74
Website

Re: mem_glinklist: Grouped Link List

Now that I have version 0.3, it works like a charm!

Thank you so much!

Offline

#27 2004-06-19 20:56:42

kellner
Member
Registered: 2004-02-27
Posts: 21
Website

Re: mem_glinklist: Grouped Link List

Splendid plugin, thanks!

I have a small problem with sorting. See here.

Subcategories are not grouped together with their main category. Any ideas how I could get this done?

Offline

Board footer

Powered by FluxBB