Included Plugins
This is a list of all plugins that ship with BlueIce.
BlueIce
A simple text-replacement plugin that wraps all instances of the word 'BlueIce' (case-sensitive) within the page content with a span with a class of 'highlight'.
Breadcrumb
Creates a simple breadcrumb (like at the top of this page). Replaces any instances of {breadcrumb} in the template or page content.
Javascript
This plugin makes it easy to include external scripts in your pages in a way that Yahoo's Performance Guidelines
recommend. It replaces the {javascripts} placeholder with external scripts specified in one of two places: either in the function itself or in the javascripts: name page data defined in the head of your page.
Javascript files names should leave off the '.js' extension. Nested javascripts can be used by adding the path below
/public/js/ to the name. All scripts must be found in /public/js/ for this script to work.
Partials
Allows you to insert the contents of a file (stored in templates/partials/) with a user-defined page. Developed to allow templates to have different sidebars on different pages, but can find many other uses.
To use:
- create page data with the name of your desired placeholder.
- insert a placeholder where you want it:
{partial: placeholder_name}. - create a file in
/templates/partials/whose name matches the page data you created.
For example, to create a left sidebar, at the beginning of your page, you would create the page data: partial_left_sidebar: sb_left. Where you want the sidebar to be inserted, you would type: {partial: left_sidebar}. You then create a file located at /templates/partials/sb_left.php.
Stylesheets
This plugin makes it easy to include external stylesheets in your pages, even when a style is only needed on one page.
It replaces the
placeholder with external scripts specified in one of two places: either in the function itself (below) or in the stylesheets: name page data defined in the head of your page.
Stylesheet files names should leave off the '.css' extension. Nested stylesheets can be used by adding the path below /public/css/ to the name. All scripts must be found in /public/css/ for this script to work.
Blue