+ Post New Thread
Page 1 of 2 1 2 LastLast
Threads 1 to 20 of 27

Forum: Developing Plugins

Guides to help you build your own plugins or contribute to the Hotaru codebase.

  1. Sticky Thread Sticky: [Docs] Making a Plugin - Case Study 3: Tweet This

    Adding a Tweet This! button so you can send your posts to Twitter is incredibly easy. All you would have to do is add this code to the sb_list.php...

    Started by Nick, 11-27-2009 05:05 AM
    2 Pages
    1 2
    • Replies: 10
    • Views: 750
    11-28-2009 03:01 AM Go to last post
  2. Sticky Thread Sticky: [Docs] Use the PEAR Coding Standards

    Drupal and Wordpress both have a list of guidelines based on the PEAR Coding Standards: Drupal Coding Standards | Wordpress Coding Standards I...

    Started by Nick, 08-10-2009 12:53 PM
    coding, drupal, guidelines, pear, rules, standards, wordpress
    • Replies: 3
    • Views: 751
    09-19-2009 02:16 AM Go to last post
  3. Sticky Thread Sticky: [Docs] Making a Plugin - Case Study 2: Hello World Widget

    What's the difference between a plugin and a widget? There isn't much difference at all. A Hotaru widget is a plugin which can be displayed in any...

    Started by Nick, 08-08-2009 05:37 PM
    case study, hello world, plugin, sidebar, sidebar widget, widget
    • Replies: 0
    • Views: 468
    08-08-2009 05:37 PM Go to last post
  4. Sticky Thread Sticky: [Docs] Making a Plugin - Case Study 1: Hello World

    The first ever plugin for Hotaru CMS is, unsurprisingly, Hello World. It's a plugin that does absolutely nothing, except display the words "Hello...

    Started by Nick, 06-18-2009 05:49 PM
    hello world, plugin, tutorial
    • Replies: 0
    • Views: 479
    06-18-2009 05:49 PM Go to last post
  1. [Docs] Testing for Active Plugins

    Hotaru provides a built-in method for checking if another plugin is enabled. This is especially helpful if your own plugin depends on that plugin. ...

    Started by Nick, 03-28-2010 08:40 AM
    active, enabled, isactive
    • Replies: 0
    • Views: 376
    03-28-2010 08:40 AM Go to last post
  2. [Docs] Adding Content to User Profiles

    User profiles in the Users plugin can be extended in three ways: 1. Add a link to the profile menu 2. Add content to the body of the main profile...

    Started by Nick, 02-28-2010 11:05 AM
    menu, navigation, pages, profile links, profile pages, profiles, user pages
    • Replies: 0
    • Views: 355
    02-28-2010 11:05 AM Go to last post
  3. [Docs] Logging Results to a File

    Hotaru CMS has a few debugging functions that can help you with testing. This tutorial details how to log results from your plugin to a file in the...

    Started by Nick, 01-18-2010 05:11 AM
    debug, errors, log files, logging, logs, tools
    • Replies: 0
    • Views: 313
    01-18-2010 05:11 AM Go to last post
  4. [Docs] Adding User Settings

    Hotaru CMS allows users to choose their own settings rather than using site-wide settings. One example of a plugin that adds such an option is the...

    Started by Nick, 01-16-2010 12:47 PM
    user settings
    • Replies: 0
    • Views: 636
    01-16-2010 12:47 PM Go to last post
  5. [Docs] Adding Extra Post Information

    To demonstrate how you can add extra post information, let's use the Media Select plugin as an example. This plugin does four things: 1. Add a...

    Started by Nick, 01-11-2010 09:56 AM
    extra fields, post, post fields
    • Replies: 0
    • Views: 1,292
    01-11-2010 09:56 AM Go to last post
  6. [Docs] Extending Plugins

    Hotaru's ability to extend plugins is one of the best features of this CMS. Without any plugin hooks, you can alter or extend the behavior of other...

    Started by Nick, 01-10-2010 09:15 AM
    extend, extending, plugin
    • Replies: 0
    • Views: 342
    01-10-2010 09:15 AM Go to last post
  7. [Docs] Hotaru's Different Caching Methods

    Hotaru CMS uses different kinds of caching for different things. Here's an overview of each of them so you can use them appropriately in your...

    Started by Nick, 11-27-2009 03:39 PM
    cache, caching, database cache, memory, plugin, queries, smart cache
    • Replies: 0
    • Views: 365
    11-27-2009 03:39 PM Go to last post
  8. [Docs] Working with Plugin Hooks

    Part 1: The Basics of Plugin Hooks Plugin hooks allow developers to add functionality to Hotaru CMS or other plugins. A typical plugin hook looks...

    Started by Nick, 06-27-2009 03:00 PM
    check_actions, hook, plugin
    • Replies: 2
    • Views: 473
    11-23-2009 07:48 AM Go to last post
  9. [Docs] Install and Upgrade Functions

    This guide gives an overview of the install plugin function, when it is used and potential problems. As of Hotaru 0.8, there is no longer an...

    Started by Nick, 10-22-2009 03:53 AM
    development, install, plugin, upgrade
    • Replies: 0
    • Views: 402
    10-22-2009 03:53 AM Go to last post
  10. [Docs] Changing the Meta Tags

    You can dynamically change a page's meta tags from a plugin by including a function for the header_meta hook. Here are two real examples. The...

    Started by Nick, 10-13-2009 01:14 PM
    description, keywords, meta
    • Replies: 0
    • Views: 321
    10-13-2009 01:14 PM Go to last post
  11. [Docs] Global Constants and Variables

    Here's an overview of the main global constants and variables. Constants Database: DB_USER DB_PASSWORD DB_NAME DB_HOST

    Started by Nick, 09-28-2009 12:34 PM
    constants, globals, variables
    • Replies: 0
    • Views: 421
    09-28-2009 12:34 PM Go to last post
  12. [Docs] Adding Permissions

    Every user is given a role, for example admin or member, and then plugins assign default permissions to those roles. Here's how: 1. Add your...

    Started by Nick, 09-27-2009 04:36 PM
    permissions
    • Replies: 0
    • Views: 731
    09-27-2009 04:36 PM Go to last post
  13. [Docs] Overview of Hotaru Plugins

    Hotaru plugins can be as big as you like and do as much as you want them to do. You could build a simple plugin to show the date in the sidebar, or a...

    Started by Nick, 09-24-2009 02:08 PM
    overview, plugins
    • Replies: 0
    • Views: 372
    09-24-2009 02:08 PM Go to last post
  14. [Docs] Including Template, Language, JavaScript and CSS Files in a Plugin

    In order for users to save their customizations from unwanted overwrites when plugins are upgraded, Hotaru allows them to move files out of a plugin...

    Started by Nick, 07-21-2009 09:38 PM
    css, include, javascript, language, plugin, template
    • Replies: 1
    • Views: 406
    09-24-2009 06:36 AM Go to last post
  15. [Docs] header_include Versus header_include_raw

    There are two different ways to include code in the header using these plugin hooks: header_include should be used for including css and...

    Started by Nick, 09-24-2009 06:27 AM
    header, include, plugin hooks, raw
    • Replies: 0
    • Views: 378
    09-24-2009 06:27 AM Go to last post
  16. [Docs] The Hotaru Cycle

    Here's a brief explanation of how Hotaru works: The Hotaru Cycle: Core index → Theme index → Display template → user action → Core index ...

    Started by Nick, 09-23-2009 08:47 AM
    admin, basics, cycle, hotaru, index
    • Replies: 0
    • Views: 435
    09-23-2009 08:47 AM Go to last post
  17. [Docs] Creating a Plugin Settings Page

    There are various ways to add a settings page to your plugin, but the method described here is preferable because it separates your settings code...

    Started by Nick, 08-02-2009 01:36 PM
    page, plugin, settings
    • Replies: 0
    • Views: 358
    08-02-2009 01:36 PM Go to last post
  18. [Docs] Language Files for Plugins

    Wherever possible, you should avoid hard-coding raw language into your plugin and put it in a language file instead. There are two obvious benefits...

    Started by Nick, 07-21-2009 05:50 PM
    files, language
    • Replies: 0
    • Views: 360
    07-21-2009 05:50 PM Go to last post
  19. [Docs] Display Success and Failure Messages

    Hotaru has functions which fade in a red or green div with a given message on it. There are three ways to display messages: Show a single message...

    Started by Nick, 07-17-2009 03:47 PM
    alert, announcement, failure, message, notice, success
    • Replies: 0
    • Views: 263
    07-17-2009 03:47 PM Go to last post
  20. [Docs] Plugin Dependencies - Plugin A requires Plugin B

    With plugins playing such a large role in Hotaru CMS, it's important that they play nicely with each other. If your plugin relies on other plugins...

    Started by Nick, 07-16-2009 06:29 AM
    dependencies, plugins, requires
    • Replies: 0
    • Views: 361
    07-16-2009 06:29 AM Go to last post

+ Post New Thread

Thread Display Options

Use this control to limit the display of threads to those newer than the specified time frame.

Allows you to choose the data by which the thread list will be sorted.

Order threads in...

Note: when sorting by date, 'descending order' will show the newest results first.

Icon Legend

Contains unread posts
Contains unread posts
Contains no unread posts
Contains no unread posts
More than 20 replies or 250 views
Hot thread with unread posts
More than 20 replies or 250 views
Hot thread with no unread posts
Closed Thread
Thread is closed
Thread Contains a Message Written By You
You have posted in this thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts