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

    Welcome to Kunena!

    More
    7 months 4 weeks ago #1 by Metalslug
    Welcome to Kunena! was created by Metalslug
    Welcome to Kunena!

    Thank you for choosing Kunena for your community forum needs in Joomla.

    Kunena, translated from Swahili meaning "to speak", is built by a team of open source professionals with the goal of providing a top quality, tightly unified forum solution for Joomla.


    Additional Kunena Resources

    Kunena Documentation: www.kunena.org/docs/en

    Kunena Support Forum: www.kunena.org/forum

    Kunena Downloads: www.kunena.org/download

    Kunena Blog: www.kunena.org/blog

    Follow Kunena on X: www.kunena.org/twitter

    Please Log in or Create an account to join the conversation.

    More
    7 months 4 weeks ago #2 by Metalslug
    Replied by Metalslug on topic Welcome to Kunena!
    Test

    Please Log in or Create an account to join the conversation.

    Moderators: Metalslug
    Time to create page: 0.281 seconds