Nicer Wiki Titles

Developer

Michael Rog

3rd Party (Free)

Creative Commons Attribution Share Alike

EE Version Support

  • ExpressionEngine 2

Compatibility

If an item is crossed out, it might be untested, not applicable or incompatible. Contact the developer to be sure.

  • Updater
  • Multi Site Manager
  • Stand Alone Entry Form
  • Low Variables
  • Content Elements
  • Better Workflow
  • Matrix
  • Grid
  • Webservice
  • Publisher

Requirements

  • jQuery for the Control Panel

Add-On Type(s)

Extension

Tags

Allows wiki articles to retain nicer 'display titles' (i.e. with punctuation and capitalization intact) than what EE interprets from the wiki URL.

This extension is still in development. There are bugs (especially associated with the move to EE2.1), but hopefully I’ll get them all squished pretty soon. If you’d like to contribute, check out the Mercurial (Hg) repo link.

The Problem with Wiki Titles

The EE Wiki Module displays article titles as taken directly from a URL segment (not from the database). As such, EE wikis often display titles incorrectly for a number of reasons:

  • punctuation not allowed by EE’s URL functions
  • capitalization, because EE interprets the display title directly from URLs
  • hyphens and underscores, whichever is set as the system’s default word-separator character

For example, when you create a page named

My Hyphenated-Word Article (with parentheses)

the URL becomes something like

http://mysite.com/wiki/my-hyphenated-word-article-with-parentheses

so the displayed title would be something like

my hyphenated word article with parentheses

A Solution

Nicer_Wiki_Titles allows wiki articles to retain a nicer ‘display title’ (with punctuation and capitalization intact) than what EE interprets from the article URL.

With Nicer_Wiki_Titles active, when you create or rename page, the text from the “Rename” field is copied directly into the database as a ‘Nice Title’ and displayed with a variable you select.

You can customize a bit using the three settings:

  • Tag to replace: Select the tag you wish to replace in your templates with a Nice Title (if available). (default: {nicer_title})
  • Use basic page title: If a Nicer Title is not registered, should the extension display the default title instead? (default: yes)
  • Fallback text: If a Nicer Title is not registered and you prefer the extension to not display the default title instead, you can specify fallback text to use instead. (default: blank)

note: For now, the extension only works in basic article templates. It will not work on special pages (including revision pages) or in title lists. I hope to add support for this soon.

Nicer Wiki Titles Links

Hooks Used

If the add-on is an extension, and ties into ExpressionEngine's core files, it will use ExpressionEngine hooks. We are listing any hooks the add-on uses for developers to have an easier time locating other add-ons that they can reference for their own work.

  1. wiki_article_end
  2. edit_wiki_article_end

This entry was created June 8, 2010, 11:21 am.
This entry was last updated September 3, 2016, 4:30 pm.

Disclaimer: Information about ExpressionEngine add-ons is provided as a service to you, the user, and every member of the ExpressionEngine community. devot:ee is not responsible if you hose, mangle, wreck, or otherwise destroy your EE website by installing an add-on that you found out about at this site, regardless of its rating, Favorites status, commercial or free status, or general popularity. Caveat EEmptor!

Returns: devot:ee has a 30-day return policy on all commercial add-ons sold through devot-ee.com. If you need to return an add-on, do not go to the developer or the developer's site, but rather visit our returns page at https://devot-ee.com/returns to initiate your return. If you have questions, email support@devot-ee.com.

There are no reviews for this add-on yet.

What are you waiting for? Rate it and review it!