wat is the meaning of this

Author Message

eve f

Sunday 19 December 2004 7:45:37 pm

just nesd some help.. what is the meaning of this statement and where is the function or file located??

{"content/action"|ezurl}

thanks :)

Balazs Halasy

Monday 20 December 2004 12:35:38 am

I guess you found this on a <form action= ...> line, right? It basically translates into the following:

- use the "action" <b>view</b> in the content <b>module</b>; which is: /kernel/content/action.php

Balazs

eve f

Monday 20 December 2004 1:35:51 am

oh.. ok.. thanks alot.. great help to mi

just got another question, how to fetch the child of a parent? i only want to fetch 1 of the child. can it be done?? and what condition to use??

example:
parent: folder1
child: folder2
folder3
folder4

how can i fetch oni folder 2??

1 more question, i uploaded several images. i would like to call them out randomly.. how can i do it..?? any functions??

thanks..

Roy Bøhmer

Monday 20 December 2004 12:07:11 pm

Check out the docs:
http://ez.no/ez_publish/documentation/reference/data_fetching/content/list
http://ez.no/ez_publish/documentation/reference/data_fetching/content/node

If you don't know the node-id I'll suggest using the content list fetch, and supply it with the limit attribute (limit, 1) and do a proper sort_by to get the node you want at "the top".

If you know the node-id {fetch('content', 'node', hash(node_id, [nodeID]))} should do the trick.

eve f

Monday 20 December 2004 8:19:11 pm

oh. thank you..

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 07:27:53
Script start
Timing: Jan 19 2025 07:27:53
Module start 'layout'
Timing: Jan 19 2025 07:27:53
Module start 'content'
Timing: Jan 19 2025 07:27:55
Module end 'content'
Timing: Jan 19 2025 07:27:55
Script end

Main resources:

Total runtime1.3330 sec
Peak memory usage4,096.0000 KB
Database Queries65

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0064 589.1563152.6250
Module start 'layout' 0.00640.0027 741.781339.4453
Module start 'content' 0.00911.3224 781.2266554.6328
Module end 'content' 1.33150.0015 1,335.859412.1641
Script end 1.3330  1,348.0234 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.2445160.0002
Check MTime0.00130.0992160.0001
Mysql Total
Database connection0.00100.077010.0010
Mysqli_queries1.278495.8997650.0197
Looping result0.00070.0530630.0000
Template Total1.299097.420.6495
Template load0.00200.147320.0010
Template processing1.297097.296220.6485
Template load and register function0.00020.017610.0002
states
state_id_array0.00150.111310.0015
state_identifier_array0.00200.153720.0010
Override
Cache load0.00170.1284300.0001
Sytem overhead
Fetch class attribute can translate value0.00090.067730.0003
Fetch class attribute name0.00220.168460.0004
XML
Image XML parsing0.00150.110030.0005
class_abstraction
Instantiating content class attribute0.00000.001260.0000
General
dbfile0.00090.0711160.0001
String conversion0.00000.000640.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/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/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: 16
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs