Sample Sidebar Module

This is a sample module published to the sidebar_top position, using the -sidebar module class suffix. There is also a sidebar_bottom position below the menu.

get('tag_id');$tag_id = '';if ($tag_id != NULL) { $tag = $tag_id . ''; echo ' id="' . $tag . '"'; }?> &$item) : $class = ''; if ($item->flink == "") { $item->flink = "javascript:;"; } if (in_array($item->id, $path)) { $class .= ' s5_mobile_sidebar_active'; } if (!empty($class) && count($path)==1) { $class = ' class="'.trim($class) .'"'; } if ($item->level==1) { if ($item->deeper) { echo "

".$item->title."

"; echo "
"; } else { echo "

".$item->title."

"; continue; } } else { echo '
  • '; } // Render the menu item switch ($item->type) : case 'separator': case 'url': case 'component': if (!$item->deeper || $item->level > 1) { $sidebar_file = dirname(__FILE__) . '/sidebar_' . $item->type . '.php'; require $sidebar_file; } break; default: if (!$item->deeper || $item->level > 1) { $sidebar_url = dirname(__FILE__) . '/sidebar_url.php'; require $sidebar_url; } break; endswitch; // The next item is deeper. if ($item->deeper) { echo '
      '; } // The next item is shallower. elseif ($item->shallower) { echo ''; echo str_repeat('
    ', $item->level_diff); } // The next item is on the same level. else { echo '
  • '; } if (@$list[$i+1]->level==1 || !@$list[$i+1]->level) { echo '
    '; }endforeach;?>

    Sample Sidebar Module

    This is a sample module published to the sidebar_bottom position, using the -sidebar module class suffix. There is also a sidebar_top position below the search.
    Forum

    Kunena Forum - Team credits

    Kunena

    Kunena® Forum is an open source project that requires the dedication and investment of personal time from various contributors. This version has been made possible by the following contributors :

    Florian Dal Fitto
    Development

    Jelle Kok
    Development and Design

    Richard Binder
    Forum Moderation and Testing

    Matias Griese
    Co-Founder

    Oliver Ratzesberger
    Founder

    Donate:

    The Kunena Team would like to thank the community for its help and support. We also appreciate the hard work of everyone who have translated Kunena into many other languages. In addition we would like to thank many members of www.kunena.org, past and present, who have contributed and helped make this a more stable and bugfree version.

    To return to the forum click here

    Copyright © 2008 - 2024 Kunena, License: GNU GPL

    Time to create page: 0.124 seconds