Multiple Poll's in a Gallery site

Author Message

Jorge estévez

Wednesday 13 October 2004 7:38:14 am

Hi,

I am making a gallery site and I would like to add to each Picture a poll. How can I insert a poll in every picture (once the user clicks a link to go to the poll page of the image)

Is there a way to add a code that could manage the same poll on each picture but keeping each pictures polls results for each of them...

?
thanks

Diseño Web Cuba
Web Design Cuba
www.elfosdesign.com

Alexandre Cunha

Thursday 14 October 2004 4:56:20 pm

I think is easy and you have 2 options:

Why not you embed the pool in the image ?
Create the pools, then edit the image and assign the pool (use the related objects tool).
In the Caption field of the picture, add
<object id="pool_object_id" />
In this case you get the pool embed in the same page of the image

or

Just create a link in the caption of the image to the pool.
Something like this:
<link href='path_to_your_pools/pool_2/'>pool_2</link>

In this case you get a link to the pool you whant

This solves your problem ?

axel

http://AlexandreCunha.com

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 19 2025 04:36:14
Script start
Timing: Jan 19 2025 04:36:14
Module start 'layout'
Timing: Jan 19 2025 04:36:14
Module start 'content'
Timing: Jan 19 2025 04:36:14
Module end 'content'
Timing: Jan 19 2025 04:36:14
Script end

Main resources:

Total runtime0.0237 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0068 590.6094152.6250
Module start 'layout' 0.00680.0026 743.234439.4453
Module start 'content' 0.00940.0120 782.679789.2266
Module end 'content' 0.02140.0022 871.906330.3047
Script end 0.0236  902.2109 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002610.9833140.0002
Check MTime0.00124.9535140.0001
Mysql Total
Database connection0.00145.760710.0014
Mysqli_queries0.003012.573330.0010
Looping result0.00000.046410.0000
Template Total0.00177.110.0017
Template load0.00093.740410.0009
Template processing0.00083.292010.0008
Override
Cache load0.00062.603710.0006
General
dbfile0.00031.238480.0000
String conversion0.00000.038340.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_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