New plugin Carousel

Third Party Plugins to CMSimple - how to install, use and create plugins

Moderator: Tata

delan10
Posts: 32
Joined: Sat May 24, 2008 6:18 pm

Re: New plugin Carousel coming soon

Post by delan10 » Tue Jul 08, 2008 2:21 pm

Thank you

What about a commercial version ?
Cause customers will probably ask me to take the copyright off...

:)

Tata
Posts: 3587
Joined: Tue May 20, 2008 5:34 am
Location: Slovakia
Contact:

Re: New plugin Carousel coming soon

Post by Tata » Wed Jul 09, 2008 11:35 am

One more thing would be nice to have in the plugin configuration:
Optional target for opening linked content

Code: Select all

$plugin_cf['carousel']['image_big_target']="_parent"; //_blank - for "_parent" select an internal page from the selectbox, for  "_blank" insert external path for each link
I just test this plugin and there is a possibility to use it e.g. as a kind of navigation for multiple galleries:
There is e.g. this tree:
<H1>Welcome</h1>
some Welcmoe content

Code: Select all

<H1>Gallery</H1>
#cmsimple $output.=carousel();# 
<H2>Album 01</H2>
#cmsimple $output.=gallery('gallery/album_01');#
<H2>Album 02</H2>
#cmsimple $output.=gallery('gallery/album_02');#
<H2>Album 03</H>
#cmsimple $output.=gallery('gallery/album_03');#
// here it would be nice to have the thumbs folder used as a variable and specified in the plugin configuration with automatic image array generation transfered into the configuration section

In the configuration then I use e.g.:
image big path1: ./?Gallery:Album_01
image big path2: ./?Gallery:Album_02
image big path3: ./?Gallery:Album_03
...
and
image thumb path1: ./images/thumb_01.jpg
image thumb path2: ./images/thumb_02.jpg
image thumb path3: ./images/thumb_02.jpg

It would be though possible to use an internal page as a source of thumbs (would be very simple for user to create such a page using images select box and IMAGES uploader. And also linking of these thumbs would be absolutely simple using the Pages/Files select box.).

The only annoying feature for me is that the links are opened in new window/tab. This goes IMHO a little out of CMSimple standard behavior. It is easy to change some of mentioned above in the admin.php. But it is not simple for those unfamiliar with PHP.
But the plugin seems to be really very nice and I see its future very bright.
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.

mlafefoni
Posts: 8
Joined: Sun Jun 15, 2008 3:47 pm

Re: New plugin Carousel coming soon

Post by mlafefoni » Wed Jul 09, 2008 3:31 pm

delan10 wrote:Thank you

What about a commercial version ?
Cause customers will probably ask me to take the copyright off...

:)
As for the moment there is no commercial version , so credit must stay.
maybe in the future.

mlafefoni
Posts: 8
Joined: Sun Jun 15, 2008 3:47 pm

Re: New plugin Carousel coming soon

Post by mlafefoni » Wed Jul 09, 2008 3:51 pm

Tata wrote:One more thing would be nice to have in the plugin configuration:
Optional target for opening linked content

Code: Select all

$plugin_cf['carousel']['image_big_target']="_parent"; //_blank - for "_parent" select an internal page from the selectbox, for  "_blank" insert external path for each link
I just test this plugin and there is a possibility to use it e.g. as a kind of navigation for multiple galleries:
There is e.g. this tree:
<H1>Welcome</h1>
some Welcmoe content

Code: Select all

<H1>Gallery</H1>
#cmsimple $output.=carousel();# 
<H2>Album 01</H2>
#cmsimple $output.=gallery('gallery/album_01');#
<H2>Album 02</H2>
#cmsimple $output.=gallery('gallery/album_02');#
<H2>Album 03</H>
#cmsimple $output.=gallery('gallery/album_03');#
// here it would be nice to have the thumbs folder used as a variable and specified in the plugin configuration with automatic image array generation transfered into the configuration section

In the configuration then I use e.g.:
image big path1: ./?Gallery:Album_01
image big path2: ./?Gallery:Album_02
image big path3: ./?Gallery:Album_03
...
and
image thumb path1: ./images/thumb_01.jpg
image thumb path2: ./images/thumb_02.jpg
image thumb path3: ./images/thumb_02.jpg

It would be though possible to use an internal page as a source of thumbs (would be very simple for user to create such a page using images select box and IMAGES uploader. And also linking of these thumbs would be absolutely simple using the Pages/Files select box.).

The only annoying feature for me is that the links are opened in new window/tab. This goes IMHO a little out of CMSimple standard behavior. It is easy to change some of mentioned above in the admin.php. But it is not simple for those unfamiliar with PHP.
But the plugin seems to be really very nice and I see its future very bright.
Hi tata
Nice remarks. I will make it more flexible in the next version so you could choose to open links in new window or parent.
I didn't understand the things about
using images select box and IMAGES uploader

Tata
Posts: 3587
Joined: Tue May 20, 2008 5:34 am
Location: Slovakia
Contact:

Re: New plugin Carousel coming soon

Post by Tata » Wed Jul 09, 2008 7:24 pm

mlafefoni wrote:I didn't understand the things about
using images select box and IMAGES uploader
I mean the integrated functions of CMSimple present e.g. in oEdit
[ external image ]
In this case:
1. step: a "source page" for thumbs, e.g.:

Code: Select all

<H1>thumbs</H1>
#cmsimple hide#
<img src="./thumbs/img_01.jpg:>|<img src="./thumbs/img_02.jpg:>|<img src="./thumbs/img_03.jpg:>
2. step: the use of IMAGES manager to upload thumbs to server
3. step: inserting thumbs to "thumbs" page and eventuall inserting links to internal pages or documents stored in [downloads] or external links using the "insert link" button/function
4. step: the "carousel page", e.g.:

Code: Select all

<H1>Carousel</H1>
#cmsimple $output.=carousel('thumbs');#
I this case there wouldn't be a need to insert all paths in plugin configuration. Also it would be possible to use the plugin on more places within the page (e.g. reading the content from "thumbs_1","thumbs_2","thumbs_3").
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.

mlafefoni
Posts: 8
Joined: Sun Jun 15, 2008 3:47 pm

Re: New plugin Carousel coming soon

Post by mlafefoni » Thu Jul 10, 2008 3:34 am

Tata wrote:

Code: Select all

<H1>Carousel</H1>
#cmsimple $output.=carousel('thumbs');#
But in this way you can make multiply carousels with different thumbs but the links to the big picture would be the same in all carousels no?
* Is it possible to post this pluging on cmsimplewiki now ?

Holger
Site Admin
Posts: 3470
Joined: Mon May 19, 2008 7:10 pm
Location: Hessen, Germany

Re: New plugin Carousel coming soon

Post by Holger » Thu Jul 10, 2008 8:25 am

Hi,

I made a quick test and found that the plugin only works on the default language.
On another language the flash movie runs without pictures.
Seems the path to the images is not correct.

On FF with flashplayer 7 the plugin is not running, of course.
But there's no error message like "You need flashplayer 9...", just a white area and the
copyright message.

And it's a good idea to initialise $t at the top of the function.

Holger

Tata
Posts: 3587
Joined: Tue May 20, 2008 5:34 am
Location: Slovakia
Contact:

Re: New plugin Carousel coming soon

Post by Tata » Thu Jul 10, 2008 11:53 am

For me it works also in SK language. Have even not tested it in EN environment.
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.

Holger
Site Admin
Posts: 3470
Joined: Mon May 19, 2008 7:10 pm
Location: Hessen, Germany

Re: New plugin Carousel coming soon

Post by Holger » Thu Jul 10, 2008 12:23 pm

Tata wrote:For me it works also in SK language. Have even not tested it in EN environment.
Yes, when SK is the default language.
Try on multilanguage site on the second language.

Holger

Post Reply