#############################################################
# SmoothGallery ADD-ON - Version 1.0.0 - 11/April/2008      #
# This add-on was Developed using a SG 2.0 script, see more #	
# http://smoothgallery.jondesign.net			    		#
#							    							#
# TAG: {addon_smoothgallery_display1}						#
# 	   {addon_smoothgallery_display2} 			 		    #
#							    							#
# @author Renato Dias 										#
# <ocahost@ocahost.com.br>	            					#
# Tested over O.R Ver. 2.4.4 				    			#
#############################################################

>>>>>> INTRODUCTION <<<<<<


This add-on was Developed using a SG 2.0 Script (GPL licensed), see more in:
http://smoothgallery.jondesign.net

And FEATBYCLASS ADD-ON By Ebmarques:
http://support.open-realty.org/showthread.php?t=14483
 	
I'm use The FEATBYCLASS ADD-ON because this code gave me the ability to create galleries for one or more classes in O.R Sys.


>>>>>> ATTENTION: <<<<<<

The Galleries classes don't work in the same Page, so, don't put a tag {addon_smoothgallery_display1} and {addon_smoothgallery_display2} in the same page ok.

You need create one page for each tag.


>>>>>> INSTALLATION <<<<<<

Inside the smoothgallery.zip we have the "smoothgallery" folder, unpack this folder into your "addons" folder.

For your first test i recommend you create a new page in admin area / "Page Editor". 
Insert the tag  {addon_smoothgallery_display1} or {addon_smoothgallery_display2} and save the new page.

UNNINSTALL

Delete the folder smoothgallery (at your "addons" folder).
This add-on DO NOT modify your DB.


>>>>>> FOR MORE CLASSES: <<<<<<
(a exemple How Create a Class 3.)

For defaut this addon display just 2 classes, 1 and 2 classes.

-------------
1 - Line 11.
-------------

$template_array = array('addon_smoothgallery_display1','addon_smoothgallery_display2');

For class 3.

$template_array = array('addon_smoothgallery_display1','addon_smoothgallery_display2','addon_smoothgallery_display3');

--------------
2 - Line 34.
-------------

function smoothgallery_run_template_user_fields($tag = '') {
Bla Bla Bla ...
}

For class 3, Insert this code After second code Class.

case 'addon_smoothgallery_display3':
	$data = smoothgallery3_display_addon();
	break;
	
--------------------------------
3 - Copy and paste the fuction:
--------------------------------

Line 53 until 138.

And Paste After the line 226.

Change the name of fuction :
----------------------------

function smoothgallery1_display_addon() 
to ...
function smoothgallery3_display_addon().

Change the name of ClASSID:
---------------------------

// CLASS ID
   $classID = 1;

To

// CLASS ID
   $classID = 3;

It is, The New gallerie_class_3 was Create, tag {addon_smoothgallery_display3}.


>>>>>> FEATURES OF SG 2.0 SCRIPT and TYPES OF THEN <<<<<<

http://smoothgallery.jondesign.net/showcase/gallery/ 

In this link, you can see some examples of galleries types, the SmoothGallery_ADD-ON, display just 2 types:
a (timed-gallery) or a (Not-timed-gallery).

If you don't want a Timed-gallery, Take a look in:

Line 73:
timed: true

Change To:
timed: false.

With the SmoothGallery_ADD-ON code, I don't think hard to change to another types of galleries.

Is this,

[]'s 
Renato Dias.