Diem plugins syndication

dmAlternativeHelperPlugin

Provide shortcuts for those that don't have the pound sign on their keyboards

Deprecated plugin
Default helpers no more use the "£" letter, so this plugin is now useless.

The dmAlternativeHelperPlugin provides Diem's template helper functions (Diem's class-based and symfony's standard function-based helpers) that normally require the pound sign (i.e. £, £link, £o etc.) but for people without this letter on their keyboards to ease template development.

Included in Diem Core
Since Diem 5.0 ALPHA8, this plugin is packaged with the standart Diem installation.
You don't need to download it, but you still have to enable it in the ProjectConfiguration.class.php

You may want to learn how this plugin was built.

Installation

  • In config/ProjectConfiguration.class.php, add dmAlternativeHelperPlugin to the list of enabled plugins:
class ProjectConfiguration extends dmProjectConfiguration
{  
  public function setup()  
  {  
    parent::setup();  
 
    $this->enablePlugins(array(  
      // your enabled plugins  
      'dmAlternativeHelperPlugin'  
    ));  
  • In a console, from your project root dir, run:
php symfony dm:setup  

Usage

Available template helpers are:

  • _tag (= £)
  • _tagO (= £o)
  • _tagC (= £c)
  • _link (= £link)
  • _media (= £media)
  • _table (= £table)

Just use these instead of Diem's standard template helpers, which are given in parenthesis above.

    Add a comment

    Impossible to fetch issues for this plugin.
    Impossible to get this plugin changelog.

    dmAlternativeHelperPlugin, created on December 10, 2009 by annis, used by 53 projects

    Fork Diem on GitHub