Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
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
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
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
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
Offline
Re: mem_glinklist: Grouped Link List
Sorry about that, I just fixed it in the link above, but here it is again
Offline
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
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
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
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
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
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