derouck / banner

A simple Banner plugin for Croogo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Croogo: Banner Plugin

Banner is a free, open source, banner that sits on top of the Croogo content management system for PHP, released under [MIT License].

It is powered by CakePHP MVC framework.

Requirements

  • Apache with mod_rewrite
  • PHP 5.2 or higher
  • MySQL 4.1 or higher
  • Croogo 2.0 or higher

Installation

Web based installer

  • Upload the .zip file through Croogo's extension manager.

Dependencies

Manual installation

  • Extract the archive. Upload the content to your Croogo installation in the ./app/Plugins/Banner directory. # git clone https://github.com/chrisderouck/banner.git ./app/Plugin/Banner
  • visit Croogo's extension system to "activate" the plugin.

Usage

  • Create a node for a certain type
  • Add a featuredImage throughs Assets Plugin
  • Create a block with a selector in the content field which has your nodes e.g. [node:banner-head conditions=Node.type:blog;Node.status:1 order=Node.id DESC; limit=3 element=Banner.photo-banner]
  • Make sure your block is loaded somewhere in your layout

Links

About

A simple Banner plugin for Croogo


Languages

Language:PHP 95.4%Language:JavaScript 4.6%