dino

NP_Dino.php

General Plugin info
Current Version: 0.3
Download: http://www.niccolai.cc/downloads/NP_Dino_03.zip , size ~15Kb, 4 files
Code: (Nucleus forum - obsolete, please download plugin ) http://forum.nucleuscms.org/viewtopic.php?t=9488
Demo version 0.2: http://www.kl0k.net/dino/demo/
Demo version 0.3: http://www.niccolai.cc/?content_id=dino_demo
Forum Thread: http://forum.nucleuscms.org/viewtopic.php?t=14762

Installing

  1. Unzip the file and upload the contents to your plugin directory
  2. Install the plugin...
  3. more detailed info in forum

Available SkinVars and/or TemplateVars

  • <%Dino(content, <skin type/subtype>, <blog_count>)%> In dynamic index page generation it’s replaced by your dynamic content if ?content_id= is in URL; else, the normal <%Blog( <skin type/subtype>, <blog_count> ) %> is loaded.
  • <%Dino(menu)%> it create menu for you. You can select prefix and postfix code for every item a full menu, and select which entries will be displayed in this menu.
  • <%Dino(link,name)%> It generate link for your item.
  • <%Dino(link,name,title of link)%> like above, instead take title of link from DB, it use ‘title of link’, which you provide
  • <%Dino(static, <content_name>)%> load in the skin a content that is managed by Dino.

Options

  • Menu header html code before menu (default <ul class=”menu”>)
  • Menu footer html code before menu (default </ul>)
  • Item prefix html code before menu item (default <li>)
  • Item postfix html code after menu item (default </li>)
  • Content prefix html code before displayed content.
  • Content postfix html code after displayed content.

TODO

  • multi level menu (actually not urgent as it can be “manually” created as DINO content and included with <%Dino(static...)%>)

Changelog

  • Version 0.1, released 2005-11-14
    • Initial release
  • Version 0.2, released 2006-02-07
    • add fancyurl support
    • add <%Dino(title)%>
    • add parsing for <%blogsettings(...)%>
    • fix rendering pages withouth conected skin
    • add fn createDinoLink() for embeded scripts
  • Ver: 0.3, released 2007-01-01
    • Dyncontent can now be load from files, php files and templates
    • Added <%Dino(...)%> variable can now be used in place of <%Blog(...)%> variable, so that it manages either blogs or static contents.
 
dino.txt · Last modified: 2007/01/01 14:21 by jonnymind