BoltWire

Innovative Ideas :: Radical Results!

INFORMATION

DOCUMENTATION

EXTENSIONS


Support BoltWire

Lytebox

Extensions > System Tools > Lytebox

Summary: Adds a lytebox function call
Status: Preliminary
Maintainer: krelvinaz.
Version: 2.2 (Supports Lytebox 3.22)
Downloads: lytebox2.2.php (Rename to lytebox.php after download)

Description

Plugin adds a function call that enables the use of the Lytebox system. Lytebox allows you to display a smaller image and link it to a larger image (or different content) when it is clicked on. When clicked on, the background will darken and the content will be displayed in a box at the size requested.

More info on how Lytebox works

Please refer to the Lytebox site:

Supported Lytebox functions

Currently, only the lyteframe call is supported. calls for lytebox and lyteshow will be added soon.

Usage

The source includes basic settings info.

After you have lytebox installed and you have installed this plugin, you can use lytebox on a page like:

lyteframe:
[(lytebox rel='lyteframe' rev='width: 640px; height: 670px; scrolling: no;' url='http://sitename/content' img='/images/image.jpg' )]

lytebox
[(lytebox rel='lytebox' url='http://sitename/content' img='/images/image.jpg' )]

Variables


VariableDescRequired
rellytebox lyteshow or lyteframeRequired
revMust contain rev codeingRequired for lyteframe only
urlMust contain URL of in to display when activatedRequired
imgMust contain image to show before actionRequired
widthWidth of img to displayOptional
heightHeight of img to displayOptional


CleanURL's

If you use cleanURL, you will need to exclude the directory that lytebox is installed into.

I install it in the webroot /lytebox and have reorganized all of its content within that directory for portability. You may need to install it differently.

Installing Lytebox in a selfcontained directory

Other notes

I currently only use lytebox (lytebox and lyteframe) with an display image. The package itself can work with just text for the display link but this plugin does not support that (yet).

Copyright © 2009, all rights reserved.