/************************************************************************
Featured Content Manager for CPG Dragonfly™ CMS
********************************************
* This program is free software. You can redistribute it and/or modify *
* it under the terms of the GNU
General Public License as published by *
* the Free Software Foundation; either version 2 of the License. *
$Revision: RC 1.0 $
$Author: Green Day 2K greenday2k @ gmail.com $
$Date: 2009/07/06 $
************************************************************************/
Description:
Featured Content Slider makes a slideshow out of arbitrary content on your page,
Each content (slide) is defined simply inline on the page as regular HTML
so users can manually select a content to see or have them rotated automatically.
This Add-On (not a Module, Not a Block) for Dragonfly lets you insert anywhere on you site
a Featured Content Slider Managed from the Dragonfly's Admin Interface.
It Lets you use 3 different types of "slides":
Blocks: Include Block files from your /blocks Directory
HTML: You write/paste your HTML/bbcode.
Images: Upload a nice image, add a Title, Description and a Link.
With the Admin Interface interface You can
Create/Edit/Delete/Sort/Active/Desactive Slides.
Preview the Slides.
Set the type of Numeration for your FCS Slider Page numbers or "Labels"
Choose the display mode and its duration- "Manual" or "auto" For the later,
the slider automatically rotates the contents until the user explicitly
selects a content to view (clicks anywhere inside Featured Content slider).
Disable/Enable the fade effect and its duration.
Hide/Show the Next/Prev Buttons.
Specify whether the contents should be revealed "click" or "mouseover" over the pagination links.
Taken From:
www.dynamicdrive.com/d...slider.htm
Requirements:
Server Side
Dragonfly CMS 9.2.1
PHP 5.x / GD Lib
MySQL 5.x
Client side:
Javascript Enabled. And a Modern Browser
Installation:
1. Upload everything in the html folder to your web space.
2. Run Installer From admin=>Modules
Credits:
class.upload.php
Copyright (c) Colin Verot 2003-2009. All rights reserved.
Version 0.27
Last modified 14/05/2009
Email: colin @ verot.net
Web
www.verot.net
Featured Content Slider
Version 2.4
www.dynamicdrive.com/d...slider.htm
Green Day 2K
/************************************************************************
Usage:
To use it you need to include this file BEFORE the header.php
For example:
| PHP: |
require_once('modules/Featured_Content/featured_content.inc'); require_once('header.php');
|
and then use the template ($cpgtpl) to assign the vars and show the slider:
| PHP: |
$cpgtpl->set_handle('fc_body', 'featured_content.html'); $cpgtpl->display('fc_body');
|
Or just copy and paste the content from the temaplate 'featured_content.html' and paste it exactly where you want on another template.
Notes
This is a RC Version. Tested and almost ready to be an Official Version.
There are lots of "Sliders" more sophisticated and using some popular JS framework as jquery. I've chosen this because is simple and easy to use and does the job. And could look great working on the CSS. But if someone suggest me a better a Slider, i'll do the conversion =)
Uploads and images are handled by the class.upload.php
which seems to be secure and compatible with dragon fly.
Since it's a RC, all files are on the Featured_Content module directory except the template files and the language file.
Limitations:
The size of the "Slider" is limited to 350x250. (images will be resized to 350x250).
Comments/Bugs/Questions/Testers Are welcomed.