Add link to Components in Page Manager (GetSimple plugin)
If you frequently edit your GetSimple components, it can be handy to have a shortcut link in GS's admin panel main page (Page Manager) so that you don't need to go to the Theme tab.
I made a small plugin for that:
<?php
$thisfile = basename(__FILE__, ".php");
register_plugin(
$thisfile,
'Components in Admin Pages sidebar',
'0.1',
'Carlos Navarro',
'#',
'Adds shortcut link to Edit Components in Page Management sidebar',
'pages',
''
);
add_action('pages-sidebar', 'sidebarcomponentslink');
function sidebarcomponentslink() { ?>
<li id="sb_components" ><a href="components.php" <?php check_menu('components'); ?> accesskey="<?php echo find_accesskey(i18n_r('SIDE_COMPONENTS'));?>" ><?php i18n('SIDE_COMPONENTS'); ?></a></li>
<?php }
// end of file
Save this as compoadminpages.php in your plugins folder.
(I posted this here: http://get-simple.info/forum/post/25998/#p25998)