Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#76 2004-12-26 19:01:00

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

Re: mem_glinklist: Grouped Link List

To get rid of the head tag, then you should specify the attribute class=“listclass” within the plugin tag. This will cause the head to be wrapped with the class “listclass_head”. With that, you just have to add CSS to format as desired, or hide it with “display: none;”.

Hope that helps. Sorry for the very delayed updates. I’ve been busy.

Offline

#77 2005-01-10 06:09:55

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

Re: mem_glinklist: Grouped Link List

Version 0.7 is now released and all the download links have been updated.

I changed the way it works, so make sure you read the plug-in documentation (that is now all inclusive).

Some Major Changes:
  • new attribute “headless” which supresses the outputting of the category heading.
  • added attribute to specify the desired number of columns. this will put the links with in a category in to n columns.
  • the categories specified will maintain that order on the way out.
  • added mem_redirect tag to create a single link pointing to /textpattern/link.php I published. mem_glinklist had the undocumented linkto=“1” attribute that would do this for list link tags.
  • more alterations…read the docs…

Offline

#78 2005-01-10 14:35:15

cojitza
New Member
From: Romania
Registered: 2004-09-19
Posts: 3

Re: mem_glinklist: Grouped Link List

Please help!

I installed the plugin, but…

Fatal error: Call to undefined function: latts() in /var/www/sites/www.standardeweb.org/beta/textpattern/publish.php(767) : eval()’d code on line 1030

I use
<txp:mem_glinklist limit=”“ category=”“ />

What is the problem??

Thankx

Last edited by cojitza (2005-01-10 14:35:43)

Offline

#79 2005-01-10 14:46:20

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

Re: mem_glinklist: Grouped Link List

> cojitza wrote:

Please help!

I installed the plugin, but…

Fatal error: Call to undefined function: latts() in /var/www/sites/www.standardeweb.org/beta/textpattern/publish.php(767) : eval()’d code on line 1030

I use
<txp:mem_glinklist limit=”“ category=”“ />

What is the problem??

Thankx
> end quote

Paste the below code to the end of ./textpattern/lib/txplib_misc.php, right above the ?&gt;

<pre>
<code>
// ——————————————————————————————- function gAtt(&$atts, $name, $default=NULL) { // trying this out as well return isset($atts[$name]) ? $atts[$name] : $default; }

// ——————————————————————————————- function lAtts($pairs, $atts) { // trying this out as well foreach($pairs as $name => $default) { $out[$name] = gAtt($atts,$name,$default); } return ($out) ? $out : false; }
</code>
</pre>

Offline

#80 2005-01-10 14:54:57

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

Re: mem_glinklist: Grouped Link List

> Manfre wrote:

> > cojitza wrote:

Please help!

I installed the plugin, but…

Fatal error: Call to undefined function: latts() in /var/www/sites/www.standardeweb.org/beta/textpattern/publish.php(767) : eval()’d code on line 1030

I use
<txp:mem_glinklist limit=”“ category=”“ />

What is the problem??

Thankx
> end quote

This should be fixed with ver 0.7.1. The missig method exists in 1.0rc2, but not rc1.

Offline

#81 2005-01-10 15:13:26

cojitza
New Member
From: Romania
Registered: 2004-09-19
Posts: 3

Re: mem_glinklist: Grouped Link List

Thank for respons!

Now it gives me a blank page…

i use just
txp:mem_glinklist /

i’we try
txp:mem_glinklist categroy =”“ limit=”“ /

same thing :(

Last edited by cojitza (2005-01-10 15:14:24)

Offline

#82 2005-01-10 15:22:05

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

Re: mem_glinklist: Grouped Link List

try…

<code>
<txp:mem_glinklist category="CAT"><txp:link />&lt;br /&gt;</txp:mem_glinklist>
</code>

…where CAT is the name of one of your link categories.

Last edited by Manfre (2005-01-10 15:22:19)

Offline

#83 2005-01-10 15:30:13

cojitza
New Member
From: Romania
Registered: 2004-09-19
Posts: 3

Re: mem_glinklist: Grouped Link List

it works! Thankx!

How can i use for all my category? Without naming the category?

Offline

#84 2005-01-10 22:53:05

Chris
Member
Registered: 2004-02-26
Posts: 22

Re: mem_glinklist: Grouped Link List

Hi Manfre,

<strike>Could you post a link to version 0.5 for me. I’ve just updraded and things are now broken and I don’t have time to sort it out right now so I’d like to revert to 0.5. Unfortunately I didn’t keep a copy of the plugin.</strike> Scratch that, I have it under control.

Cheers, this is the most useful plugin I use by far!

Last edited by Chris (2005-01-10 22:59:17)

Offline

#85 2005-01-11 05:14:14

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

Re: mem_glinklist: Grouped Link List

> cojitza wrote:
> it works! Thankx!
> How can i use for all my category? Without naming the category?

Can’t yet. For now, you’ll have to name the categories. I’ll add this feature back in soon enough.

Offline

#86 2005-01-11 22:41:56

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

Re: mem_glinklist: Grouped Link List

manfre, this is your friendly neighbourhood mem_glinklist stalker… bumping the request for categories divided (roughly evenly) into n columns…

so if u got 8 categories and you specify 3 columns, output is three divs with 3, 3 and 2 categories + links respectively…

where I’m using your plugin: <a href=“http://www.firecorner.com/link”>http://www.firecorner.com/link</a>

currently floating boxes containing individual category + links, but would prefer to float 3 divs…

hope that makes sense – I think this would be a useful feature for others too

cheers nyc

Last edited by nardo (2005-01-11 22:45:04)

Offline

#87 2005-01-11 22:54:59

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

Re: mem_glinklist: Grouped Link List

nardo,

I don’t that feature will make it in. What you are requesting is already possible with CSS (as you have shown). Another way to get the behaviour you are looking for would be to use 1 txp:mem_glinklist tag per column desired and specify the columns that will be placed in that column.

Offline

#88 2005-01-12 00:11:57

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

Re: mem_glinklist: Grouped Link List

Blimey Manfre. This one’s getting a bit complex. :grin: Anyway I just upgraded from 0.5 to 0.7.1 (missed some somewhere) and other than renaming my CSS classes it’s all working just as fine as it did yesterday thanks.


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

#89 2005-01-12 19:29:12

zoeglingjulian
Member
From: London, UK
Registered: 2004-12-23
Posts: 52
Website

Re: mem_glinklist: Grouped Link List

Thanks for this great plugin, but could someone please post version 0.5 again as the new one messed things up big time? I can’t seem to get <pre>
<code><ul> and <li> etc.</pre>
</code> anymore, just divs… or does anybody know how to get unordered lists again? And I don’t want the links to LOOK like they’re in a list but rather BE in a list. Quite important ;)

Last edited by zoeglingjulian (2005-01-12 19:38:10)

Offline

#90 2005-01-12 22:59:55

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

Re: mem_glinklist: Grouped Link List

The latest version (0.7.2) has been posted.

I added attributes to the tag to allow changing of the various wrap tags and associated CSS classes (listwraptag, listclass, headwraptag, headclass, columnwraptag, columnclass). listwraptag is for each list, not the tag that goes around all lists. Each wraptag defaults to “div”, and the class defaults are “mem_list”, “mem_list_head”, and “mem_list_column” (so those who were happy with 0.7 shouldn’t have to change anything).

Offline

Board footer

Powered by FluxBB