Textpattern Forum

You are not logged in. Register | Login | Help

#201 2006-10-06 00:13:13

tameboy
Plugin Author
Registered: 2006-06-29
Posts: 48

Re: mem_glinklist: Grouped Link List

obley – your modification to this plugin seems to be just what I was looking for. However, I don’t understand how you are organising your links into parent and child categories in the first place. As far as I can see you can only have one category for each link.

I want to have a section on a site I am developing which would be very similar to what you have on http://sandbox.obleys.net/linkage.

Any help/explanation gratefully received.

Offline

#202 2006-10-07 03:57:12

obley
New Member
From: Champaign, IL
Registered: 2006-04-07
Posts: 7
Website

Re: mem_glinklist: Grouped Link List

I’m not sure I understand your question. I’m not trying to map a link to several categories, rather two groups of links with sub categories. And the real deal is live, you can see my final organization here even though the site is suffering from serious neglect these days.

screen shot of my links admin section

Maybe that will help shed some light. What ever I throw in the “linkage” category will show up on my page of links. Anything I organize in the “main” category ends up on every page in a margin link list.

To my disipointment, recursive categories only show up in one dimension. For example, the “Fonts and Such” category should be a child of “web design” but the page diasplays it as a sibling. Not that big a deal.. or I would have fixed it already.

Does that explain better what I am doing?

Last edited by obley (2006-10-07 04:01:32)

Offline

#203 2006-10-10 17:01:22

tameboy
Plugin Author
Registered: 2006-06-29
Posts: 48

Re: mem_glinklist: Grouped Link List

Obley, I have sorted my problem. Thanks for your modification to this extension, it has really helped my site.

Another thing I have added is a named anchor along site each category title, so that you can link from another page to a specific category of links. It also enables you to cross reference other categories from within the links list. At the end of function mem_glinklist if you find:

if (!$headless) {
     $c_out .= doTag($hd,$headwraptag,$headclass).n;
}

and change it so it reads:

if (!$headless) {
&nbsp;&nbsp;&nbsp;&nbsp; $c_out .= "<a id=\"".strtolower($c)."\" ></a>";
&nbsp;&nbsp;&nbsp;&nbsp; $c_out .= doTag($hd,$headwraptag,$headclass).n;
}

you get an anchor identifying the location of that category title. So if you have a category “Lots More Links”, you can link to this directly with the url mysite.com/linkspage#lots-more-links

Hope someone finds that useful.

NB I should just point out that this only works in Obley’s modification!

Last edited by tameboy (2006-10-11 09:27:37)

Offline

#204 2006-10-15 22:48:53

tameboy
Plugin Author
Registered: 2006-06-29
Posts: 48

Re: mem_glinklist: Grouped Link List

I’ve made some further additions to this extension on a site I am developing for a client. The links page using this extension will have a long list of links in different categories. To enable easier navigation I have placed an alphabetical navigation tool at the top of the page which links to anchors to corresponding alphabetically grouped link categories.

This image probably shows what I am not doing very well at explaining:

<img src=“http://i46.photobucket.com/albums/f131/mikeysmall/brookmill.jpg” border=“0” alt=“Photobucket – Video and Image Hosting”>

I’ve not posted the code changes here but if anyone is interested I could send them on.

Offline

#205 2006-11-28 11:19:39

bigtom
New Member
Registered: 2006-11-21
Posts: 4

Re: mem_glinklist: Grouped Link List

Hi
great job, I use that plugin and it does a very goog job
Does anibody know if I can use this plugin to classify the files by their category as it does with the link ?

Offline

Board footer

Powered by FluxBB