Re: AW: list of objects - thanks

Niels Dettenbach <[email protected]>
Newsgroups gmane.comp.cms.zms.devel
Organization Syndicat IT&Internet
Message-ID <[email protected]>
On Tuesday 15 December 2009 13:55:33 you wrote:
> <dtml-in "getChildNodes( REQUEST)" >
> <dtml-var "getObjProperty( 'title',REQUEST) ">
> </dtml-in>
> 

"folders" are "content" too.

you have to declare the meta_type of the required content objects - i.e. if 
you want to look for all objects "on" the page(s) you have to filter against 
the meta_types PAGEELEMENTS (instead of "PAGES" or all).

example:

<dtml-in "getChildNodes(REQUEST,PAGEELEMENTS)">
   <dtml-var id>
  <br />
  </dtml-in>

Please be aware that most "content" objects of type PAGEELEMENTS has no 
"title" (makes no sense for the most of them) - this is why i used "id" 
instead for this example here.

see here for more details:
http://www.zms-publishing.com/support/content/e732/e739/e758/e1095/


hth
best regards,


Niels.
-- 

---

  Niels Dettenbach
  ---
  Syndicat IT&Internet
  http://www.syndicat.com
  T.-Muentzer.-Str. 2, 37308 Heilbad Heiligenstadt - DE
  ---
  Kryptoinfo: 
  PGP public key ID 651CA20D
  Fingerprint: 55E0 4DCD B04C 4A49 1586  88AE 54DC 4465 651C A20D
  https://syndicat.com/pub_key.asc
  ---
signature.asc (application/pgp-signature, 836 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.13 (GNU/Linux)

iQIcBAABCAAGBQJLJ40pAAoJEM78prARigUnn84P/17aIwhY1YzFfgmhMU8vgR1Z
2Haqu83rjBH4dBtRCyYcBbjh9PGqcrBOIcgagHF23na50J8iBO49NgCLB2rbgyYv
ZNG7Mt0Cx7D3X1qG/wJaxN3DBAkEgRqoBcejvZgLta6hE+1MKZJcBCikkTlDKLj0
/yqovBVwFZE+LoZZrsaYRG0UCxhM80QegjKGVIKoZ3HAtOH3YT6wcJydYXGVCsWG
vCnCVGs1CM7YwPMr1H+ny+FCR/5SS7lGY6hqRUlGrLa4HWPqYI5e0vmCVdIAkRhA
tsixX1/j3exzwc5gEHKY8scxB6hCG5Kdmvo1Msu0yuu8qcZN4d+n4s8pqaNhVtNO
Bk5gceSmLGSNc8GeGxYgGvK68yrfKo24K5vz4n5H3tvz6I+kUy0/TW3T3I0aFgi4
gELgbbWmooierL8l3LGHM2BaG1Hvj1BYog264b13Jv6c9r4598dt5v7bBo8kXn7x
FqXtKM+slELVfJ4WNS8fc7y55iy7B/n7DXnu/578fX2dRg8Vqu9qpaYWxed7gv+u
fzdzKiFj2qsGM9xfWa5tMdQ1ta24hS9F/qzxCAFcGZvaTpSAQMSwq4bGN9Pv59yL
bV3wcCDUvHPGHX527zZhehyGKPkW+rZ7kq6Qk0BzXEVWlZNjplcrWMZXNDIzAWyE
vs8oEf+mYXgrboXzkD1C
=GKVB
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.