Skip to content

dennisinteractive/dennis_permalink

Repository files navigation

dennis_permalink

Dennis Permalink provides a token and a predictable pattern that is used for Open Graph urls and wherever a permalink is needed.

Once set, a permalink would not be changeable for a node.

Configuration

The permalink pattern uses a predefined prefix which should be set on install for example; variable_set('dennis_permalink_prefix', 'us');

The simplest way to do this is within a hook_update_N(). For example:

/**
 * Enable and configure dennis_permalink.
 */
function HOOK_update_7100() {
  module_enable(array('dennis_permalink'));
  variable_set('dennis_permalink_prefix', 'us');
}

About

Set and handle permalinks

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors