Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#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

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

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

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

Re: mem_glinklist: Grouped Link List

Try removing the space between your categories.

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

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

Re: mem_glinklist: Grouped Link List

Do you have links in your other categories?

Offline

#151 2005-06-15 20:11:43

pittster
Member
Registered: 2005-06-13
Posts: 10

Re: mem_glinklist: Grouped Link List

Yep,

And if I specify only one category, it displays the links from the one category…

Offline

#152 2005-06-16 12:24:07

pittster
Member
Registered: 2005-06-13
Posts: 10

Re: mem_glinklist: Grouped Link List

Yes I do, and I can display each category individually if I specify it in the attributes.

I’ve gotten very fustrated, so I’m writing my own and having pretty good success…

Offline

#153 2005-06-16 15:55:44

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

Re: mem_glinklist: Grouped Link List

pittster, what version of Textpattern are you using? If it’s rc3, what is the build number?

Is anyone else experiencing this problem?

Last edited by Manfre (2005-06-16 16:04:53)

Offline

#154 2005-06-17 12:29:59

pittster
Member
Registered: 2005-06-13
Posts: 10

Re: mem_glinklist: Grouped Link List

I’m using the april 29th build off their website.

Offline

#155 2005-06-26 02:11:59

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

Re: mem_glinklist: Grouped Link List

gday brize a.k.a. moondreamer,

two ways to do it…

1. use Manfre’s suggestion – “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”.”

2. hardcode two divs, and specify which categories of links you’d like in each (this is what I did)… e.g.

<code><div class=“link_list”>
<txp:mem_glinklist form=“plainlinks” category=“friends,enemies,friend enemies,romans” headwraptag=“h2” listwraptag=“div” wraptag=“div” />
</div>

<div class=“link_list”>
<txp:mem_glinklist form=“plainlinks” category=“heathens,lost tribes of israel,rapture ready” headwraptag=“h2” listwraptag=“div” wraptag=“div” />
</div>

<br clear=“all” />
</code>

and then, whether you’re using div.mem_list_column or in my case div.link_list, you float them …

<code>div.link_list {
width:230px;
float:left;
}
</code>

alternatively post a link to the page you’re working on and we can take a look under the hood

Offline

#156 2005-06-27 15:00:37

Moondreamer
New Member
Registered: 2004-09-18
Posts: 3

Re: mem_glinklist: Grouped Link List

It’s working! And the output looks very nice. I big thanks to nardo, for this solution to all my problems!

It’s always nice to get some help – i hope i can help someone else some day ….

Greetings
Brian Denmak

Offline

Board footer

Powered by FluxBB