| General Plugin info | |
|---|---|
| Author: | Radek Hulan |
| Current Version: | - |
| Download: | Info and Download |
| Code: | - |
| Demo: | - |
| Forum Thread: | here |
NP_Table is a new plugin for Nucleus CMS. And I believe, and immensely useful one! It allows to create, in a very user-friendly way, a table, assign a name and description to this table, add, edit and delete items, and, also, create templates (header, footer, odd item, even item), that will display this table in your skin (skinVar) or even in your article (by subscribing to PreItem event)!
Of course, you can create as much tables as you like! And, because of templating system for each “table”, they do not have to look like <table>s, but, e.g., like lists ( <ul>, .. <li> ), or separated by <br />.
How it can be used? Imagine, e.g., that you wrote 10 articles about Nucleus CMS. Now, you would like, for each article, to include an updated list of links to few sites that inspired you. Support forums, and such. With NP_Table, you will create a new “table”, called, e.g., nucleuslinks. You will, in Nucleus admin interface, add items to this table. And change them, any time. And by calling
%++Table(nucleuslinks)++%
(no spaces inside!) in your articles body, NP_Table will automatically display this table, or list, or whatever (as each “table” has its own template) in all your articles.
You can also create a list of your favourite links, bookmarks (and maintain this in a very user-friendly way from admin interface) and display it on you homepage, by using a skinVar called
<%Table(nucleuslinks)%>
Possibilities for usage are unlimited... Phone numbers, email lists, come to mind..
NP_Table version 0.1 works with Nucleus CMS version 3.31 - 2007-11-28 kg