Forums / Setup & design / wat is the meaning of this

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..