Content last modified Monday 6 March 2017
hop to #bottom
Categories:
Author:
About It:
Get it:
Rate it:
  • Helpful?
  • 0 Yes
  • 0 No
Flag it:
Contact Reason [ ? ]

mic_permlink

This plugin is for custom permalinks.

It is designed to be used in combination with sgb_url_handler, to display different URL schemes in different sections.

It’s really simple to use: it works exactly as the original permlink tag, but using the mode attribute you can specify the URL scheme to be generated.

Valid mode values are (values on the same row are aliases):

  • section or section_title
  • section_id or section_id_title
  • date or year_month_day_title
  • id or id_title
  • title ot title_only
  • messy

Example:
<txp:mic_permlink mode="date" />

will be rendered as:
<a href="/2005/03/25/example-title" title="...">Example Title</a>

Article Request Count:
Initially released:
March 27, 2005
Posted here:
27 Mar 2005

You may want to leave your comments/questions at the Forum thread for quicker feedback. Otherwise, comment away:

Your comment will NOT be submitted until you click the 'Submit' button on the next pageload.

Commented (1)

Subscribe to this article's comments RSS feed. [ ? ]   View Recent Comments across the site.

You know you want to visit the Archives.

Browse

Categories


Articles

There are also tag clouds, 'cause those are fun.
Published with Textpattern