Hi there,
I think you have created an excellent plugin. Still, I cannot make it work in my wordpress 2.9.2 test installation.
What I have done after installing the plugin is this:
1. Created a new page template in the mandigo theme.
2. As instructed from your page. this is the code I put in:
<?php
/*
Template Name: Eletro Template
*/
global $mandigo_options, $dirs;
get_header();
// heading level for page title (h1, h2, div, ...)
$tag_post_title_single = $mandigo_options['heading_level_post_title_single'];
?>
<td id="content" class="<?php echo ($mandigo_options['sidebar_always_show'] ? 'narrow' : 'wide'); ?>column"<?php if (mandigo_sidebox_conditions($single = true)) { ?> rowspan="2"<?php } ?>>
<?php
// Activating the Eletro Widgets.
if (class_exists('EletroWidgets')) new EletroWidgets();
?>
<?php
// if we have posts
if (have_posts()) {
// main loop
while (have_posts()) {
the_post();
?>
Unfortunately, when I try to select the widgets I want to show from the drop down list, I can only see one widget present. And that is not even a native widget. Those are absolutely gone. On my sidebar I have 4 text widgets and cannot see any of them either.
To top the cake there is NO ADD button
Could you please show me what I do wrong? Furthermore I don't understand where exactly I am supposed to place (if it is needed) this piece of code:
<?php defineAsEletroWidget($widgetId); ?>
Thank you. Marikamitsos