ExpressionEngine addons

NB moji limit

Similar to the character limiter plugin, but for multibyte characters saved as entities in the database.

Has this ever happened to you?

You have some text in a language that uses multibyte characters (for example, Japanese), but using word/character trimming plugins give you garbled text, especially near the last character. Your foreign characters are probably saved in the database as ASCII entities, and those characters are being trimmed instead.

The NB moji limit plugin allows you to trim foreign language characters correctly, without garbled text (known as mojibake in Japanese).

NB Japanese year

Converts dates into Japanese era format. For example, 2009 is known as year Heisei 21.

Dates cover from the Meiji (1868-1911) to Heisei (1989-present day) periods (Meiji - Taisho - Showa - Heisei).

NB Cycle

Cycles through a series of values, which are used within a tag pair

Google Analytics

Adds Google Analytics tracking code in templates. Does this happen to you? You're adding the finishing touches to a website, including Google Analytics tracking. After registering the site in GA, you have to hunt for that tiny "edit" link in your website profile list, then "check status". After getting your Web property ID, you copy that magic tracking code at the bottom of the page and paste it in your website template. ... or, you could simply type


in your template*, and let the plugin put the code in for you. * See usage below.

NB Show custom field data

Shows custom field data in the Edit menu of the Control Panel. Does this happen to you?

  • You build multilingual sites using the entry title for one language, and another custom field for the other language. You would like to easily see if a translation has been already written in that custom field, or check what the translation is.
  • You create entries, but leave the body blank to be filled out later. You would like to easily see if the body has been filled out, or check what the content is.

Of course, you could search for this information on your site by displaying the corresponding template, or you could access this information by selecting individual entries, one-by-one, in the Edit section of the Control Panel. However, wouldn't it be nice if you could see custom field data from multiple entries directly in the "Edit Weblog Entries"? This is what the NB Show custom field data extension does. It displays custom field data of entries in the Edit Weblog Entries page. The custom fields to display can be set for each weblog.

NB CSV to table

Creates a simple table from a CSV file uploaded from an entry.

Any segment

A plugin that can be used with ExpressionEngine conditionals which returns TRUE if a specified string is found in any segment. Does this happen to you?

  • Your templates are accessible on your site with or without the default template group.
    eg.
    yoursite.com/index.php/en/blog
    yoursite.com/index.php/blog

    ... but you have conditionals in your template targeting specific segments.
    eg. {if segment_2 == "blog"}

    What happens if en is not part of the URL? blog may not be in segment_2

In this case, the any_segment plugin would look at all segments and return true if any segment contains "blog".