Replace powerpoint slideshow with eZ publish

Author Message

Frode Slettum

Tuesday 12 September 2006 10:32:22 am

Hi

I posted this a while ago: http://ez.no/community/forum/setup_design/ez_publish_used_as_slideshow/re_ez_publish_used_as_slideshow__1

This answered my question, but now I realised that I had to do it another way.

To sum it up: I have a computer with a huge monitor that displays a slideshow with a few slides. Today we use powerpoint, but I want to replace PP with eZ publish to be able to update news remotely without stopping the slideshow.

The case is that I don't know how many slides it will be. Sometimes 2, sometimes 5.

How could I make a template that displays each node within a top-node in a loop and displays it x seconds each? The redirection itself isn't a problem, but I'm not sure how to redirect to the next page, and the last page must redirect to the first page (within the top-node)

regards
Frode

Claudia Kosny

Tuesday 12 September 2006 12:42:57 pm

Hello Frode

If you really have only 2 to 5 nodes below each topnode I would do it the inefficient but simple way:
Just fetch all the nodes below the the topnode and order them by whatever order you have. Then go through all these nodes and compare the node ids to the currently displayed node. If you have a match, take the next node and redirect to it. If there is no next node redirect to the first node.

Greetings from Luxembourg

Claudia

Frode Slettum

Tuesday 12 September 2006 3:32:38 pm

Hi

Yes, that was the idea. I'll try to make some code that does this :)

Xavier Dutoit

Tuesday 12 September 2006 9:14:27 pm

Hi,

Have a look at the image template, and how it calculates the next button.

X+

http://www.sydesy.com

Xavier Dutoit

Tuesday 12 September 2006 9:41:17 pm

BTW,

Did you think about doing it only as a pure html slideshow ?

http://meyerweb.com/eric/tools/s5/

There is another version, from someone at the W3C if my memory serves me right.

X+

http://www.sydesy.com

Frode Slettum

Wednesday 13 September 2006 12:07:04 am

Thank you so much. The reason I want to use eZp, is that the user can publish news in a user friendly frontend.

Actually, I was thinking about the image gallery template myself. That really does what I want. I will also look into that link you gave me and I'm sure there are some good tips there as well.

regards
Frode S

pinaki chakraborty

Monday 30 November 2009 6:16:53 am

can you please help me on how to make the images in a gallery slides automatically? i have a gallery containing three images.But i am not able to make the the slide show automated.is it possible to do?

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 18:39:41
Script start
Timing: Jan 18 2025 18:39:41
Module start 'layout'
Timing: Jan 18 2025 18:39:41
Module start 'content'
Timing: Jan 18 2025 18:39:42
Module end 'content'
Timing: Jan 18 2025 18:39:42
Script end

Main resources:

Total runtime0.7936 sec
Peak memory usage4,096.0000 KB
Database Queries73

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0066 588.0469152.6406
Module start 'layout' 0.00660.0046 740.687539.4766
Module start 'content' 0.01130.7810 780.1641653.8438
Module end 'content' 0.79220.0013 1,434.007816.1250
Script end 0.7936  1,450.1328 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00380.4816160.0002
Check MTime0.00190.2413160.0001
Mysql Total
Database connection0.00090.118310.0009
Mysqli_queries0.724291.2476730.0099
Looping result0.00080.1051710.0000
Template Total0.762496.120.3812
Template load0.00240.297020.0012
Template processing0.760095.766620.3800
Template load and register function0.00010.013210.0001
states
state_id_array0.00080.106310.0008
state_identifier_array0.00080.097420.0004
Override
Cache load0.00180.2322420.0000
Sytem overhead
Fetch class attribute can translate value0.00060.069340.0001
Fetch class attribute name0.00150.185390.0002
XML
Image XML parsing0.00130.166040.0003
class_abstraction
Instantiating content class attribute0.00000.0034120.0000
General
dbfile0.00090.1138220.0000
String conversion0.00000.001140.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
5content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
7content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
10content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 27
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs