2012-11-13, 22:52:22
(2012-11-13, 21:43:12)Timbow Wrote: I have a fresh new vanilla installation of GS using the std Innovation Theme. I want to use this plugin to make the sidebar content editable on a tab and through the wysiwyg editor.
'Cardinal' would be a better bet for initial experimenting as it's organised in a much more straightforward manner.
'Innovation' has a problem as it relies on the sidebar script being included at runtime, which doesn't happen when editing. You need to move the contents of theme/Innovation/sidebar.inc.php (from <aside> to </aside>, inclusive) to the main template.php file, in place of <?php include('sidebar.inc.php'); ?>.
Now edit this revised theme/Innovation/template.php and replace
Code:
<?php get_component('sidebar'); ?>
with
Code:
<?php insert_page_content('sidebar'); ?>
and also replace
Code:
<?php get_page_content(); ?>
with
Code:
<?php insert_page_content(); ?>
That should be it. The 'sidebar' component then becomes redundant and all content is entered/edited in the tabs.
--
Nick.
Nick.