Linodef Buttons - BUEditor provides functions required to create buttons in BUEditor that use the Linodef filter tags. To insert a button, proceed the following steps:
  1. Go to Administer → Settings → BUEditor
  2. Edit the editor in which you want to include the buttons
  3. Now you can either:
  4. As value for the variable enter the element type whose elements you want to show with the button. If you are not sure how to do this see the tip that is included in the button template and read which drupal element types are supported.
You may create as many buttons as the editor allows. Template for the button:
php: // Button for Linodef tags.
// Enter a viewname, fieldname, content type or vocabulary ID.
// E.g. 'view_viewname', 'field_example', 'story', '10' or 'getallviews'.
$drupal_element = 'enter_your_element_here';
// Set the button type to 'list', 'popup' or 'autocomplete'.
$button_type = 'list';
// Add tag options, separated by comma.
// E.g. 'nolink' or 'nolink,translation="de"'.
$options = '';

// Do not modify.
if (module_hook(linodef_buttons_bueditor, buttons)) {
    return linodef_buttons_bueditor_buttons($drupal_element, $button_type, $options);
}
else {
    return t('Module !module not enabled!', array('!module' => 'Linodef Buttons - BUEditor'));
}
Advanced users might want no comments:
php:
$drupal_element = 'enter_your_element_here';
$button_type = 'list';
$options = '';

if (module_hook(linodef_buttons_bueditor, buttons)) {
    return linodef_buttons_bueditor_buttons($drupal_element, $button_type, $options);
}
else {
    return t('Module !module not enabled!', array('!module' => 'Linodef Buttons - BUEditor'));
}