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.
    S5 Masonry
    The Masonry module is demo'd on this page, and is a powerful module that pulls your article from a category or categories and can display them in masonry style format. The module automatically changes on screen resize to fit the screen a user is viewing them on. You can choose to output a "load more" button that will load a set number of articles you define via AJAX. The second method to load articles is "scroll to load" which will load articles once you scroll to the bottom of your screen. You simply assign an intro image under your "Image and Links" parameters area of your article and then if you choose to show it in the module it will show up. The intro text will show up if you've added text to your article before your read more button.

    Features:

    • Choose to enable scroll to load or load more or neither
    • Show or hide category elector
    • Show or hide read more
    • Set how many articles are to be shown
    • Set how many articles are to load via AJAX button or scroll methods
    • Order articles by publish date, created date, random or ordering
    • Show or hide hits
    • Standard layout or hover layout
    • Responsive ready and more, view the below admin screenshot to see all the features


    Admin Area Features:

    admin

    Gaming News

    Next Battlefield Version Is Revealed

    Lorem ipsum dolor sit amet consectetur adipiscing elit Curabitur dignissim metus purus a consequat velit scelerisque elementum Vestibulum in augue...
    Hits: 13

    Watch Dogs Reboot Comes To Xbox

    Ut eget neque tortor Fusce imperdiet posuere orci quis lobortis Proin aliquet tempor felis in sagittis Sed porta et orci...
    Hits: 14

    FIFA World Cup Soccer 2015

    Nunc nec augue nec mi auctor venenatis in et quam Suspendisse ut sodales orci In hac habitasse platea dictumst Class...
    Hits: 17

    2016 Will Be The Best Year Of Halo

    Proin aliquet tempor felis in sagittis Sed porta et orci hendrerit pretium Donec ac magna mi In eu elementum nisi...
    Hits: 17

    World Of Warcraft Like Never Seen

    Ut nec erat id magna blandit luctus in at sem Integer posuere libero congue sem malesuada cursus Nulla rutrum sit...
    Hits: 13

    TMNT Hits The Playstation Store

    Ut ultricies tellus sit amet lorem pharetra sagittis Nunc nec augue nec mi auctor venenatis in et quam Suspendisse sapien...
    Hits: 14

    Gameglobe A World Of Wonder

    Nunc nec augue nec mi auctor venenatis in et quam Suspendisse ut sodales orci In hac habitass esapien id ultricies...
    Hits: 13

    Planetside 2 To Be Announced

    Lorem ipsum dolor sit amet consectetur adipiscing elit Curabitur dignissim metus purus a consequat velit scelerisque elementum Vestibulum in augue...
    Hits: 14