One child=full in node, the rest as icons?

Author Message

ole poulsen

Tuesday 13 June 2006 6:29:00 am

I know it can be done! But now I'm getting frustrated and might just quit :-(

I want to display all children (they are pictures) of a node in the node - in small versions.

Then when the user clicks on one of them, it would be cool if he stays in the same node, but the picture she has clicked is displayed in a large version. When she clicks another of the small icons, that picture is displayed large - but all in the same node.

That should be possible - I know it is! But I don't know how.

It must be something that involves the "(offset)"-function, is my guess.

I have been working with something where it fetches one child and able the user to click on "next" etc. and by (offset) it stays in the same node.
So that should be a good starting point, eh?
Now, all I want is for it to display ALL the children, in miniature, and make them clickable - instead of the "next"-function.

I will be gratefull for your replies :-)

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

Main resources:

Total runtime0.9016 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0060 589.2891152.6406
Module start 'layout' 0.00600.0035 741.929739.4766
Module start 'content' 0.00950.8905 781.4063401.3438
Module end 'content' 0.90000.0015 1,182.75008.1250
Script end 0.9015  1,190.8750 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.3689160.0002
Check MTime0.00130.1409160.0001
Mysql Total
Database connection0.00070.080210.0007
Mysqli_queries0.857895.1423460.0186
Looping result0.00040.0438440.0000
Template Total0.858295.220.4291
Template load0.00220.239820.0011
Template processing0.856094.948220.4280
Template load and register function0.00020.020610.0002
states
state_id_array0.00140.157810.0014
state_identifier_array0.00120.136020.0006
Override
Cache load0.00180.1972120.0001
Sytem overhead
Fetch class attribute can translate value0.00060.062010.0006
Fetch class attribute name0.00060.063510.0006
XML
Image XML parsing0.00020.019610.0002
class_abstraction
Instantiating content class attribute0.00000.000410.0000
General
dbfile0.00110.1255100.0001
String conversion0.00000.001040.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
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/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: 6
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs