Forums / Setup & design / Replace powerpoint slideshow with eZ publish

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?

eZ debug

Timing: Jan 30 2025 21:39:17
Script start
Timing: Jan 30 2025 21:39:17
Module start 'content'
Timing: Jan 30 2025 21:39:17
Module end 'content'
Timing: Jan 30 2025 21:39:18
Script end

Main resources:

Total runtime0.2082 sec
Peak memory usage8,192.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0065 588.0625370.2734
Module start 'content' 0.00650.0131 958.33591,009.5781
Module end 'content' 0.01960.1886 1,967.91413,898.5391
Script end 0.2082  5,866.4531 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00452.1775200.0002
Check MTime0.00130.6330200.0001
Mysql Total
Database connection0.00060.284710.0006
Mysqli_queries0.115855.60471410.0008
Looping result0.00130.64271390.0000
Template Total0.188290.410.1882
Template load0.00090.413910.0009
Template processing0.187389.941410.1873
Override
Cache load0.00060.283210.0006
Sytem overhead
Fetch class attribute can translate value0.00190.897010.0019
XML
Image XML parsing0.00030.122510.0003
General
dbfile0.00391.8548200.0002
String conversion0.00000.001930.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs