Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2005-04-19 16:40:07

wilshire
Plugin Author
From: Akron, Ohio
Registered: 2004-08-27
Posts: 656
Website

[plugin] [ORPHAN] rss_linkcat_list

This plugin generates a listing of hyperlinked link category names with an optional display of the number of links assigned to that category.

The primary usage of this would be to use the listing as a table of contents to filter a link listing.

This plugin can work in conjunction with mem_glinklist or tfu_linklog (with one small mod).

Download rss_linkcat_list

Offline

#2 2005-05-24 22:23:53

tinyfly
Member
From: Dallas, Texas
Registered: 2004-05-10
Posts: 462
Website

Re: [plugin] [ORPHAN] rss_linkcat_list

Thanks for the plugin, its just what I needed.

One thing though when I set linktosection=“links” I get this where the section should be in the url:

%EF%BF%BDlinks%EF%BF%BD

looking at the status bar when I hover over one of the links shows this where the section /links/ should be:
/?links?/

Any ideas?

Offline

#3 2005-05-25 00:03:08

wilshire
Plugin Author
From: Akron, Ohio
Registered: 2004-08-27
Posts: 656
Website

Re: [plugin] [ORPHAN] rss_linkcat_list

What are your category names? Is there a URL I can see?

Offline

#4 2005-05-25 13:01:54

tinyfly
Member
From: Dallas, Texas
Registered: 2004-05-10
Posts: 462
Website

Re: [plugin] [ORPHAN] rss_linkcat_list

The site I am working on is on my local machine at the moment but one of my category names is:

EU Enlargement

so when I roll over it the status bar shows:

http://cepa/main/?links?/?c=EU+Enlargement

But when I click on the link this is the url in the address bar:

http://cepa/main/%EF%BF%BDlinks%EF%BF%BD/?c=EU+Enlargement

Also, I have sub-categories a couple levels deep. Will this plugin allow the listing of only certain levels or of just the top level?

Last edited by tinyfly (2005-05-25 13:04:50)

Offline

#5 2005-05-25 16:17:56

wilshire
Plugin Author
From: Akron, Ohio
Registered: 2004-08-27
Posts: 656
Website

Re: [plugin] [ORPHAN] rss_linkcat_list

Whats happening seems weird. Seems like there are some character encoding issues going on. But I’m not even urlencoding the linktosection so I don’t know where that would be coming from. Have you tried on a fresh install? Are you using the new pretty section names?

And no, the plugin only lists categories at one level.

Offline

#6 2005-08-31 04:10:24

Samanta
New Member
From: Dominican Republic
Registered: 2005-08-13
Posts: 2

Re: [plugin] [ORPHAN] rss_linkcat_list

It’s not really working for me… is this plug-in complatible with TXP 4.0?

Offline

#7 2005-10-17 23:51:26

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

Re: [plugin] [ORPHAN] rss_linkcat_list

I can’t get it to work right either. If the list of categories is in a side column, then what tag do you put in the main content area that will make the link list change based on the category a visitor wants to filter? here is a link to what i’m working on: http://snapnashville.org/resources

my side column has the following:
<code><txp:rss_linkcat_list linktosection=“resources” /></txp:if_section></code>

and the main content area has:
<code><txp:linklist /></code>

What I would really love is to output a list similar to the Link Archives list on wilshireone.com — but instead of listing by date, list by category… Then use rss_linkcat_list to make it easy for visitors to filter — in case the number of categories and links is long.

thanks,
stacey

Last edited by photonomad (2005-10-17 23:52:08)

Offline

#8 2005-10-23 20:37:27

wilshire
Plugin Author
From: Akron, Ohio
Registered: 2004-08-27
Posts: 656
Website

Re: [plugin] [ORPHAN] rss_linkcat_list

The plugin is not meant to work with txp:linklist.

Its detailed in the documentation and in my original post above.

This plugin can work in conjunction with mem_glinklist or tfu_linklog (with one small mod).

Offline

#9 2005-11-14 15:03:36

maniqui
Member
From: Buenos Aires, Argentina
Registered: 2004-10-10
Posts: 3,070
Website

Re: [plugin] [ORPHAN] rss_linkcat_list

Nice plug-in.

Could it be possible to add support for category titles?

Thanks!


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

#10 2005-11-14 15:13:43

maniqui
Member
From: Buenos Aires, Argentina
Registered: 2004-10-10
Posts: 3,070
Website

Re: [plugin] [ORPHAN] rss_linkcat_list

BTW, how can I make this to work? :D

I’m using mem_glinklist.
I mean:
if I’m in the section frontpage (/links/) I want to show the full link list.
But if I click in a category filter (/links/?c=category), I want to show the filtered link list.

How can I achieve that?


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

#11 2005-11-14 15:21:30

maniqui
Member
From: Buenos Aires, Argentina
Registered: 2004-10-10
Posts: 3,070
Website

Re: [plugin] [ORPHAN] rss_linkcat_list

OK, I get the half of what I want to achieve (see post below):

I have a form with:
<code>
<txp:if_category>
(what should I put here to show a “category sensitive” link list?)
<txp:else />
<txp:mem_glinklist form=“Links” columns=“1” columnwraptag=”“ columnclass=”“ listwraptag=“div” listclass=”“ headwraptag=“h3” headclass=”“ />
</txp:if_category>
</code>

With that, I get the full link list in the section frontpage (/links/) but I still trying to figure out a simple tag that will output a category sensitive link list.
(simple: as Wilshire does in his link section)

PS: why < pre>< code> isnt working in the forum?

Last edited by maniqui (2005-11-14 15:22:44)


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

#12 2005-11-14 18:49:59

maniqui
Member
From: Buenos Aires, Argentina
Registered: 2004-10-10
Posts: 3,070
Website

Re: [plugin] [ORPHAN] rss_linkcat_list

Aaaaah, finally, I get it.

I must use “argname” attribute in mem_glinklist when I want to list links only for one category.
<code>
<txp:if_category>
<txp:mem_glinklist form=“Links” columns=“1” columnwraptag=”“ columnclass=”“ listwraptag=“div” listclass=”“ headwraptag=“h3” headclass=”“ argname=“c” />
<txp:else />
<txp:mem_glinklist form=“Links” columns=“1” columnwraptag=”“ columnclass=”“ listwraptag=“div” listclass=”“ headwraptag=“h3” headclass=”“ />
</txp:if_category>
</code>

One more question: if I want to use “lc” as the argument in the URL (i mean, to have URLs like /links/?lc=category) of the links generated by rss_linkcat_list, ¿do I have to edit the plug-in code?

Or can this be done by an attribute in rss_link_list tag?

Finally, dont forget to add support for category titles! :D

Thanks. Great plug-in.


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

Board footer

Powered by FluxBB