NP_LinkDB

The LinkDB plugin allows you to create and display a categorized list of weblinks. Categories are displayed in alphabetical order, and links are also displayed in alphabetical order within each category. Admin users of the blog can add/delete links and categories.

General Plugin info
Author: JavaSage
Current Version: 0.2
Download: np_linkdb_v0.2.zip
Code: NP_LinkDB_code
Demo: -
Forum Thread: Thread 2539

Note: NP_LinkDB has no admin area, all links and categories will be edited on the website. If you search a plugin that works in the admin area you can try NP_Blogroll.

Installing

  • Copy the Code and save it as NP_LinkDB.php. Or download and extract the zip file from above.
  • Upload NP_LinkDB.php into the nucleus plugin directory, than install or update the subscription list.
  • Include <%LinkDB%> in your skins where you want the list of links appear. <%LinkDB(linkform)%> displays the form for adding links, and <%LinkDB(catform)%> displays the form for adding categories.

Announcements

10/05/2003 - v0.2 changed the way categories are rendered so that each category is in a separate <ul> element. In addition, the title of the category is rendered as a <li class=“title”> element. This can make CSS styling a little easier. ~ Justin

5/19/2003 - I've finally finished grad school for the semester - NO CLASSES THIS SUMMER! - and I'll have time to update the plugin to 2.0 and address your requests. Thanks for being patient! ~ JavaSage

Bugs

  • After submission, the page is redirected back to index.php. This could be alittle more flexible ~ Justin
[FIXED 10/05/2003 ~Justin ]On the addlink form the text caption "site title" is repeated for the site description. ~ GregorLove

Suggestions

It wasn't clear that the 'redirect' page had to be changed in the doAction() plugin code. I'd suggest this be turned into an option under the plugin's management page, so the plugin code won't have to be edited. ~ GregorLove

Add CSS classes to the addlink & addcategory forms so users can control how they look more easily. ~ GregorLove

Version history

  • 0.2 (2003-10-05): fixed layout problems :
    • each catagory is rendered as a separate <ul></ul> element
    • catagory titles are rendered as the first <li> element with class=“title” CSS style sheet formatting can be applied more specifically to the title of the catagory
  • known problems:
    • the redirect.php is still a dummy.. for now.. using index.php as a place holder
  • v0.1: initial plugin

Plugin review

NP_LinkDB version 0.2 works with Nucleus CMS version 3.31 - 2007-11-14 kg

:: Back to Plugins Overview ::

linkdb.txt · Last modified: 2007/11/14 00:10 (external edit)
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki