Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#31 2004-06-23 01:18:50

alicson
Member
Registered: 2004-05-26
Posts: 465
Website

Re: mem_glinklist: Grouped Link List

> Sage wrote:
> I have a quick question – Are tags like this allowed to be used within a form itself? Or is it a page-only tag?

do you ever find the answer to this? i’d like to know also…


textpattern.org :: find and share Textpattern resources
docs.textpattern.io :: Textpattern user documentation

Offline

#32 2004-06-23 08:37:23

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

Re: mem_glinklist: Grouped Link List

It works fine in misc form types. I haven’t tested it with anything else. Sorry for the delayed response, but my friend was kind enough to get me sick.

Offline

#33 2004-06-23 16:01:51

alicson
Member
Registered: 2004-05-26
Posts: 465
Website

Re: mem_glinklist: Grouped Link List

> Manfre wrote:
> Sorry for the delayed response, but my friend was kind enough to get me sick.

awww… feel better..
and thanks for the response.


textpattern.org :: find and share Textpattern resources
docs.textpattern.io :: Textpattern user documentation

Offline

#34 2004-07-03 16:57:02

tkn
Member
From: New York
Registered: 2004-06-29
Posts: 39
Website

Re: mem_glinklist: Grouped Link List

I really like this plugin, but what I am trying to do is to create this. Any thoughts on how to get this to work?

Last edited by tkn (2004-07-04 17:09:51)

Offline

#35 2004-07-04 13:22:56

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

Re: mem_glinklist: Grouped Link List

tkn, the link listed doesn’t work.

Offline

#36 2004-07-04 17:10:53

tkn
Member
From: New York
Registered: 2004-06-29
Posts: 39
Website

Re: mem_glinklist: Grouped Link List

Sorry about that, I just fixed it in the link above, but here it is again

http://barclay.textdrive.com/~tarun/ken/

Offline

#37 2004-07-05 05:12:32

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

Re: mem_glinklist: Grouped Link List

To get the list items to match, create a link form “link_form” with the following “< txp:linkdesctitle /> |”

The plugin tag in the page template should look something like below:

<txp:mem_glinklist form="link_form" class="mylist" wraptag="entry" headwraptag="leftcol" listwraptag="rightcol" category="Community,Dojos,Equipment" />

You will need to play around with the stylesheet to get everything perfect, but this should be a good start.

Last edited by Manfre (2004-07-05 05:13:16)

Offline

#38 2004-07-05 15:47:44

tkn
Member
From: New York
Registered: 2004-06-29
Posts: 39
Website

Re: mem_glinklist: Grouped Link List

Let’s say I have a list of categories on my main page, is there a way to pass which category was selected to the plugin to display a context-aware list of links? This combined with some way to do a category_list of link categories is what I am looking for I guess…

Thanks for the help.

Last edited by tkn (2004-07-05 15:51:51)

Offline

#39 2004-07-07 15:03:52

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

Re: mem_glinklist: Grouped Link List

You can pass categories to the plugin by specifying lc=_category_ in the url query string. E.g. http://mysite.com/?lc=Blogs is functionally the same as putting in the plugin tag and specifying category=“Blogs”. If a category is specified in the plugin, then it will use that value.

To get the category_list, you could create a link category and then add links to it for each category that you would like to have in the list. This method allows you to restrict and order the categories however you like. I use this concept on my site for the Internal links in the nav box.

I will also extend my plugin so it can list the link categories, but I’m not sure when I can get to this (end of next week the latest).

Offline

#40 2004-07-07 20:12:09

ArbinShire
Member
From: Tallahassee, FL
Registered: 2004-03-23
Posts: 31
Website

Re: mem_glinklist: Grouped Link List

I would really like this plugin if I could figure out how to get it output as lists and not divs. How would I go about getting this to work?

Offline

#41 2004-07-07 20:56:37

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

Re: mem_glinklist: Grouped Link List

This plugin uses forms to determine the output of each individual link, so check the form specified. If a form is not listed in the tag, then it will use “plainlinks” as the default.

Offline

#42 2004-07-08 19:20:15

xenlab
Member
From: winter park, fl
Registered: 2004-07-08
Posts: 16

Re: mem_glinklist: Grouped Link List

awesome plug-in – thanks again!


thanks,
xenlab

http://www.xnlb.com/

Offline

#43 2004-07-13 05:33:16

nardo
Member
From: tuvalahiti
Registered: 2004-04-22
Posts: 743

Re: mem_glinklist: Grouped Link List

nice work, Manfre… I got it working; now I’d like to request something which may not be in the scope of this plugin… but would be useful for link lists

first off, see: http://www.laidbak.net/phpsample/columnsplit/

the idea is to count the number of link CATEGORIES, and split them roughly evenly into columns (essentially divs, to be floated)…

e.g. user specifies linkcols=“3” and plugin outputs as usual, but now wrapped in 3 divs, tagged with classname_col1, classname_col2, etc

I know you could use CSS & float every link – but then you’d get:

a b c
d e f

instead of

a c e
b d f

and then u can’t keep the category title with the category links

what do u reckon?

Offline

#44 2004-07-13 13:16:13

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

Re: mem_glinklist: Grouped Link List

nardo, that’s an interesting idea. Are you looking to have the following output? Where “a b c”, “d e”, “m n o”, “p q r”, “s t u” are wrapped with a specified tag and auto set to have something like class=“myclass_coln”

CAT1
a d
b e
c

CAT2
m p s
n q t
o r u

I think using divs would get quite fugly and difficult to work—I could be wrong. I will look in to this more. Do you have any objections to the output being placed in to a table?

Offline

#45 2004-07-13 13:56:34

nardo
Member
From: tuvalahiti
Registered: 2004-04-22
Posts: 743

Re: mem_glinklist: Grouped Link List

first question… probably simpler than that, it’s just carving the output into n columns, e.g.

CAT1 CAT3 CAT5
link link link
link link link
link link link
CAT2 CAT4
link link
link link
link link

each of those columns is a div called myclass_coln — and they’re floated so they stack up left to right (or position them absolutely, etc)

re: tables, that could be okay too

Last edited by nardo (2004-07-13 14:05:47)

Offline

Board footer

Powered by FluxBB