'WebLog', 'last_edit'=>'1322055182', 'description'=>'', 'keywords'=>'', 'title'=>'', 'robots'=>'', 'template'=>'', 'published'=>'', 'show_last_edit'=>'', 'linked_to_menu'=>'1', 'header_location'=>'', 'use_header_location'=>'' ); ?> 'Start', 'last_edit'=>'1515245437', 'description'=>'', 'keywords'=>'', 'title'=>'', 'robots'=>'', 'template'=>'0', 'published'=>'1', 'show_last_edit'=>'0', 'linked_to_menu'=>'1', 'header_location'=>'', 'use_header_location'=>'0', 'publication_date'=>'', 'expires'=>'' ); ?>

Overview

This installation of CMSimple demonstrates a couple of CMSimple plugins using the standard template:

'', 'title'=>'', 'robots'=>'', 'template'=>'', 'published'=>'', 'show_last_edit'=>'', 'linked_to_menu'=>'1', 'header_location'=>'', 'use_header_location'=>'', 'publication_date'=>'', 'expires'=>'', 'description'=>'', 'last_edit'=>'1515188055', 'url'=>'News' ); ?>

News

All plugin calls are wrapped in three opening and closing braces!

The basic plugin call {plugin:news('news', 5);} (with three opening and closing braces, as detailed in the documentation) generates the following list of (up to five) news entries:

{{{plugin:news('news', 5);}}}
'', 'title'=>'', 'robots'=>'', 'template'=>'', 'published'=>'', 'show_last_edit'=>'', 'linked_to_menu'=>'1', 'header_location'=>'', 'use_header_location'=>'', 'publication_date'=>'', 'expires'=>'', 'description'=>'', 'last_edit'=>'1515188192', 'url'=>'Newscase' ); ?>

Newscase

A newscase can be called using {plugin:newscase('News', 'news', '-5 years');}. It only shows news entries from the last five years:

{{{plugin:newscase('News', 'news', '-5 years');}}}
'', 'title'=>'', 'robots'=>'', 'template'=>'', 'published'=>'', 'show_last_edit'=>'', 'linked_to_menu'=>'1', 'header_location'=>'', 'use_header_location'=>'', 'publication_date'=>'', 'expires'=>'', 'description'=>'', 'last_edit'=>'1515188209', 'url'=>'Newsticker' ); ?>

Newsticker

The newsticker can be called using {plugin:newsticker('news', 5);}:

{{{plugin:newsticker('news', 5);}}}
'', 'title'=>'', 'robots'=>'', 'template'=>'', 'published'=>'', 'show_last_edit'=>'', 'linked_to_menu'=>'1', 'header_location'=>'', 'use_header_location'=>'', 'publication_date'=>'', 'expires'=>'', 'description'=>'', 'last_edit'=>'1515188219', 'url'=>'Newsscroller' ); ?>

Newsscroller

The newsscroller can be called using {plugin:newsscroller('news', 5);}:

{{{plugin:newsscroller('news', 5);}}}
'', 'title'=>'', 'robots'=>'', 'template'=>'', 'published'=>'', 'show_last_edit'=>'', 'linked_to_menu'=>'1', 'header_location'=>'', 'use_header_location'=>'', 'publication_date'=>'', 'expires'=>'', 'description'=>'', 'last_edit'=>'1515188230', 'url'=>'Newsslider' ); ?>

Newsslider

The newsslider can be called using {plugin:newsslider('news', 5, TRUE);}:

{{{plugin:newsslider('news', 5, TRUE);}}}
'', 'title'=>'', 'robots'=>'', 'template'=>'', 'published'=>'', 'show_last_edit'=>'', 'linked_to_menu'=>'1', 'header_location'=>'', 'use_header_location'=>'', 'publication_date'=>'', 'expires'=>'', 'description'=>'', 'last_edit'=>'1515194764', 'url'=>'Pictures' ); ?>

Pictures

All plugin calls are wrapped in three opening and closing braces!

The pictures plugin supports a range of different gallery options including displaying images as table using {PLUGIN:pictures('gallery', 'table');}:

{{{PLUGIN:pictures('gallery', 'table');}}}
 

Or using bxslider, {PLUGIN:pictures('gallery', 'bxslider4');}:

{{{PLUGIN:pictures('gallery', 'bxslider4');}}}

Note that some CSS in the template is required for the bxslider to work:

.bx-wrapper {
    position: relative;
    margin: 0 auto 60px;
    padding: 0;
    *zoom: 1;
}
 
.bx-wrapper img {
    max-width: 100%;
    display: block;
}
 
.bx-wrapper .bx-viewport {
    -moz-box-shadow: 0 0 5px #ccc;
    -webkit-box-shadow: 0 0 5px #ccc;
    box-shadow: 0 0 5px #ccc;
    border: solid #989D9D 3px;
    left: -5px;
    background: #989D9D;
}
 
.bx-wrapper .bx-pager,
.bx-wrapper .bx-controls-auto {
    position: absolute;
    bottom: -30px;
    width: 100%;
}
 
.bx-wrapper .bx-prev {
    left: -40px;
}
 
.bx-wrapper .bx-next {
    right: -40px;
}
 
.bx-wrapper .bx-controls-direction a {
    color: #989D9D;
    position: absolute;
    top: 50%;
    margin-top: -16px;
    outline: 0;
    width: 21px;
    height: 32px;
    text-indent: -9999px;
    z-index: 9;
    border: none;
    padding: 0;
}
 
.bx-wrapper .bx-controls-direction a img {
    color: #989D9D;
    border: none !important;
    border-color: transparent;
}
 
.bx-wrapper .bx-controls-direction a.disabled {
    display: none;
}
 
.bx-wrapper .bx-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    background: #666\9;
    background: rgba(80, 80, 80, 0.75);
    width: 100%;
}
 
.bx-wrapper .bx-caption span {
    color: #fff;
    font-family: Arial;
    display: block;
    font-size: .85em;
    padding: 10px;
}

Images taken from the BSDS300.

'', 'title'=>'', 'robots'=>'', 'template'=>'', 'published'=>'', 'show_last_edit'=>'', 'linked_to_menu'=>'1', 'header_location'=>'', 'use_header_location'=>'', 'publication_date'=>'', 'expires'=>'', 'description'=>'', 'last_edit'=>'1515245241', 'url'=>'Youtube' ); ?>

Youtube

All plugin calls are wrapped in three opening and closing braces!

The YouTube plugin can be called using {PLUGIN:youtube('gallery');}:

{{{PLUGIN:youtube('gallery');}}}