[documentation] php snippets for blogrolls

Laura Scott laura at pingv.com
Sat Dec 17 04:48:51 UTC 2005


The other day I threw a couple of snippets up into the handbooks.

http://drupal.org/node/41233 creates a conventional blogroll from the 
weblink posts on a site. This is tested and running on several of my 
4.6.x installations. (I for one am sick of having to use a service like 
Blogrolling.com to do what each site should be able to do for itself.)

http://drupal.org/node/41234 is an attempt to limit that blogroll to 
weblinks of a particular taxonomy term, written for a pro bono client 
TBA in January. I thought I had it working so I went ahead and posted 
it, but since then I've learned that, depending upon the term I'm using, 
the code either does not limit by tid and/or loops through several 
times, giving several instances of each link. If anyone has any insights 
on what I'm missing or munging, I welcome corrections/comments. I've had 
a burn-out week and I'm just not seeing it.

Both are designed for 4.6, but are culled from code that was working for 
4.5. I've not had time to dive into 4.7 yet, so I have no idea if those 
snippets will work there.

Anyway, if anyone would like to read, edit, approve, or comment on those 
posts, I'd be most appreciative.

Laura


-- 
pingVision <http://www.pingv.com> | interactive media design
*Laura Scott*, President
laura at pingv.com • 303.459.4859
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/documentation/attachments/20051217/ed0fe1ac/attachment.htm


More information about the documentation mailing list