add/remove side bar in a template

I use the Genesis Framework.

I am trying to create a template that calls a specific sidebar. I am trying to do this without creating an additional sidebar.php.

In several themes the homepage.php calls widget areas by simply doing functions like this:

function enterprise_home_top_helper() {

echo ‘<div id=”home-top-bg”><div id=”home-top”><div class =”wrap”>’;

if ( is_active_sidebar( ‘home-top-1? ) ) {

echo ‘<div class=”home-top-1?>’;

dynamic_sidebar( ‘home-top-1? );

echo ‘</div><!– end .home-top-1 –>’;

}

if ( is_active_sidebar( ‘home-top-2? ) ) {

echo ‘<div class=”home-top-2?>’;

dynamic_sidebar( ‘home-top-2? );

echo ‘</div><!– end .home-top-2 –>’;

}

I am trying to do a remove / add action to a template’s sidebar.

remove_action( ‘genesis_sidebar’, ‘genesis_do_sidebar’ );

add_action( ‘genesis_sidebar’, ‘rets_landing_widget’ );

function rets_landing_widget() {

echo ‘<div id=”rets-sidebar”>’;

dynamic_sidebar( ‘rets’ );

echo ‘</div><!– end #rets-sidebar –>’;

}

I registered rets in the functions.php:

genesis_register_sidebar( array(

‘id’ => ‘rets’,

‘name’ => __( ‘Rets’, ‘agentpress’ ),

‘description’ => __( ‘This is the disclaimer section.’, ‘agentpress’ ),

) );

I don’t understand why this does not work. PLEASE help me!