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.
    Multibox Enabled


    Features:

    • Supports a range of multimedia formats: images, flash, video, mp3s, html!
    • Auto detects formats or you can specify the format
    • Html descriptions
    • Enable/Disable page overlay when multibox pops up (via template parameters)
    • Enable/Disable controls (via template parameters)

    Images Example

    Image #1. It can support html.
      
    Image #2. It can support html.
      
    Image #3. It can support html.


    Separate Group Images Example

    Image #1. It can support html.
      
    Image #2. It can support html.
      
    Image #3. It can support html.


    Video Example:

    Youtube.com Video - CLICK ME
    UP: Carl and Ellie


    You can use the following video formats: flv, mov, wmv, real and swf. Just insert the URL to the videos in the href of the hyperlink, here is an example of how we did this for a Youtube video:

    YouTube Tutorial: Simply right click on a youtube video and copy the embed code, then paste into a text editor and look for the embed src and use that URL in your hyperlink.


    MP3 Example:

    MP3 example - CLICK ME
    mp3 example



    iFrame:

    iFrame/HTML Example - CLICK ME
    getfirebug.com




    I like what I see! I want to JOIN TODAY.