Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#136 2005-05-31 15:10:35
Re: mem_glinklist: Grouped Link List
Version 0.8.1:
————————
- Fixed mem_link_date.
- Added argname attribute to mem_if_category_empty.
- Fixed argname and category attribute behavior for mem_glinklist.
Offline
#137 2005-05-31 16:38:38
Re: mem_glinklist: Grouped Link List
Excellent Manfre, I love your work.
I have one more question (I hope) and then I’ll leave you alone. I am using glx_if, like this:
<code>
<txp:glx_if_section_frontpage>
stuff…
<txp:else />
stuff…
</txp:glx_if_section_frontpage>
</code>
I would like to use mem_if_category_empty inside the above tags but I get an error. I suspect it has to do with having two txp:else tags.
Is it possible to use your plugin in this way?
Refresh Dallas and other Refreshing Cities.
Offline
#138 2005-05-31 18:19:38
- Moondreamer
- New Member
- Registered: 2004-09-18
- Posts: 3
Re: mem_glinklist: Grouped Link List
I need some help here. I would like my links to be displayed in 2 colums in my <div id=“center”> linkcontent </div />. I already use a lot of hours on this project. Can anyone please submit some code i could use! I am a bit stupid, so i need the hole package.
What forms should i create, whar should i put on my page? And some sample css, to generate some need output.
I know i ask a lot – but i realy need this feature.
Greetings
Brian. Denmark
Offline
#139 2005-05-31 21:43:25
Re: mem_glinklist: Grouped Link List
tinyfly, I’ll have to look in to this more. Your assumption is correct in that the multiple txp:else tags are mostly the cause of your problems.
moondreamer, mem_glinklist has an attribute “columns”, which allows you to specify the number of columns to use to display the links. Each column will be wrapped in a “div” an tagged with the CSS class “mem_list_column”.
Offline
#140 2005-06-05 06:17:04
- mikkeX
- Archived Plugin Author
- Registered: 2004-02-26
- Posts: 74
Re: mem_glinklist: Grouped Link List
Upghraded and now it does not work anymore – could anoyone post som example forms etc so any beginner could use this plugin, is to difficult to set it up right now – and some examples would really help.
I want my ouput to be (without the spaces…):
< h2 > Category name < /h2 >
< h3 >Subcategory name< /h3 >
< p >< a href=“http:somelink.com”>Link title< /a >< /p >
< p >Link description</p>
< p >< a href=“http:someotherlin.com”>Link title< /a >< /p >
< p >Link description< /p >
And so one. Anyone?
Last edited by mikkeX (2005-06-05 07:04:41)
Offline
#141 2005-06-06 21:39:41
Re: mem_glinklist: Grouped Link List
mikkex, this plugin does not support subcategories in the way that you are requesting.
Offline
#142 2005-06-07 05:10:07
Re: mem_glinklist: Grouped Link List
I have a question.
Is it possible to generate an “mailto:” link in a link loaded in the “links” tab of TXP admin?
I know the question is not directly related to this plugin (¿or maybe yes?).
But I have a list of links, and I want that some of those links become “mailto:” links.
I have tried filling the field “URL” directly with the “mailto:joedoe@foo.com” but it doesnt work, ‘cause TXP (or this plugin) adds the “http://”.
Illuminate me.
Thanks in advance.
Offline
#143 2005-06-15 14:46:20
- pittster
- Member
- Registered: 2005-06-13
- Posts: 10
Re: mem_glinklist: Grouped Link List
I just installed v 0.8 of this plugin and I can only get it to display one category of links, displaying in a line.
all I put is <txp: mem_glinklist />
I would like to create something similar to what is being on Manfre’s site.
Could someone provide a step by step for creating a link list similar to this?
Any help would be appreciated.
demo at:
http://www.pittster.com/links
Last edited by pittster (2005-06-15 14:47:37)
Offline
#144 2005-06-15 15:19:49
Re: mem_glinklist: Grouped Link List
First, when you are posting code in the forum surround it by the <code>< code></code ></code> tags. (spacing added so it would show up)
Second, I see you used the tag this way: <code><txp: mem_glinklist=”“></txp:></code>; this is improper usage. Here is the proper usage of the tag: <code><txp:mem_glinklist /></code>. If you need to add one of the attributes, do this: <code><txp:mem_glinklist argname=“c” /></code>. I always use argname=“c” so that it uses the way textpattern handles categories by default.
Third, click the help link next to the plugin name in your textpattern install and you will see an explanation on how to use mem_glinklist.
Hope this helps.
Last edited by tinyfly (2005-06-15 15:22:55)
Refresh Dallas and other Refreshing Cities.
Offline
#145 2005-06-15 15:44:27
- pittster
- Member
- Registered: 2005-06-13
- Posts: 10
Re: mem_glinklist: Grouped Link List
Hi,
Thanks for the reply. the syntax error was a copy past problem… doh
All I’m using is the following code:
<code>
<txp: mem_glinklist />
</code>
I was hoping that would give me a list of all categories and their associated links. I does not. It gives me what you see at: http://www.pittster.com/links
I suspect that the form that I am using is the problem.
Here is basically what I want
Category Title <br> Link <br> Link <br> Link <br>
Next Category Title <br> Link<br> Link<br> Link<br>
I’m looking at the documentation, but it is assuming knowledge that I don’t have.
If you were going to implement this from scratch, what would the steps be, (format of the form etc.)
Offline
#146 2005-06-15 17:18:22
Re: mem_glinklist: Grouped Link List
This is the exact tag that Manfre uses on his site. ;-)
<code>
<txp:mem_glinklist category="Blogs,Blogs I read,Comics,Cool Links,Deals,DVD,Anime" crumbtrail="::" crumbroot="1" linkto="0" listwraptag="div" headwraptag="div" columnwraptag="ul">
<li><txp:link /></li>
</txp:mem_glinklist>
</code>
Offline
#147 2005-06-15 17:31:06
- pittster
- Member
- Registered: 2005-06-13
- Posts: 10
Re: mem_glinklist: Grouped Link List
Here is the code as I have implemented it.
is on a separate page, with separate section with basically only this code in the “center” div
<code>
<txp:mem_glinklist category=“friends, portfolio, filmcrumbtrail=:” crumbroot=“1” linkto=“0” listwraptag=“div” headwraptag=“div” columnwraptag=“ul”>
<li><txp:link /></li>
</txp:mem_glinklist>
</code>
The only category I see listed is “friends” with no category heading..
Offline
#148 2005-06-15 18:23:14
Re: mem_glinklist: Grouped Link List
Try removing the space between your categories.
Refresh Dallas and other Refreshing Cities.
Offline
#149 2005-06-15 19:51:32
- pittster
- Member
- Registered: 2005-06-13
- Posts: 10
Re: mem_glinklist: Grouped Link List
Same results….
Offline
#150 2005-06-15 19:55:27
Re: mem_glinklist: Grouped Link List
Do you have links in your other categories?
Refresh Dallas and other Refreshing Cities.
Offline