Hi there,
how can i make it possible to access contributor’s to use the shortcode menu in tiny?
Thanks for help
Hi Robert!
Try opening up /enfold/config-templatebuilder/avia-template-builder/php/tiny-button.class.php and find lines 37 – 43.
if ( current_user_can('edit_posts') && current_user_can('edit_pages') && self::$count == 0)
{
add_filter( 'mce_external_plugins' , array( &$this, 'add_javascript' ) );
add_filter( 'mce_buttons' , array( &$this, 'display_in_editor' ) );
add_filter( 'admin_print_scripts' , array( &$this, 'create_js_globals' ) );
self::$count ++;
}
And change them to this.
//if ( current_user_can('edit_posts') && current_user_can('edit_pages') && self::$count == 0)
//{
add_filter( 'mce_external_plugins' , array( &$this, 'add_javascript' ) );
add_filter( 'mce_buttons' , array( &$this, 'display_in_editor' ) );
add_filter( 'admin_print_scripts' , array( &$this, 'create_js_globals' ) );
self::$count ++;
//}
Cheers!
Elliott