tnx for the reply opengeek.
as for the modx-cms.com thingie, the site modx-cms exists (and is the same as modxcms.com) but now all links on that page reffer to modxcms.com .
that was not the case when I posted the message.
about my snippets.
below is from the page:
http://www.fabber.be/modx-2.0.0-rc-1/index.php?id=5
with as parents cultuur & sport
and as children beachvollyebal & wallybal/
I looked in the cache.
when I call my snippets like:
[[showparents? &categorie=`[[*categorie]]`]]
[[showchildren? &categorie=`[[*categorie]]`]]
then I see in the id.cache files:
in _content:
<div id="links">3<a href="index.php?id=6">cultuur</a> <a href="index.php?id=4">sport</a> </div>
<div id="rechts">5<a href="index.php?id=6">cultuur</a> <a href="index.php?id=4">sport</a> </div>
and
'elementCache' =>
array (
'[[*pagetitle]]' => 'volleybal',
'[[*categorie]]' => '2',
'[[showparents? &categorie=`2`]]' => '3<a href="index.php?id=6">cultuur</a> <a href="index.php?id=4">sport</a> ',
'[[showchildren? &categorie=`2`]]' => '5<a href="index.php?id=6">cultuur</a> <a href="index.php?id=4">sport</a> ',
)
the 3 and 5 are correct but after 5 there should be something else . (id’s 9 and 10 should be there)
when I call like
[[!showparents? &categorie=`[[*categorie]]`!]]
[[!showchildren? &categorie=`[[*categorie]]`!]]
then is see:
in _content
<div id="links">[[!showparents? &categorie=`2`!]]</div>
<div id="rechts">[[!showchildren? &categorie=`2`!]]</div>
and nothing about them in elementcache output same as above...
wich seems logical as now nothing is cached of the snippet...
I don’t see where the problem might be.
The id from the document of wich the snippets should show te children is shown correctly but not the children of the document.
I have no idea how the cache will help me?
Should I reïnstall rc-2 from scratch or is there another place I can look ?
to be complete: here are the snipptes without echo and with return

showparents
<?php
$currentResource = $modx->resource;
$tv = $modx->getObject('modTemplateVar',array('name'=>'categorie'));
//zet $kindervan op de juiste id en nul als er geen id is
if ($categorie<>0){
$parentResource = $currentResource->getOne('Parent');
if (isset($parentResource)){
if ($tv->renderOutput($parentResource->get('id'))<>0){
$parentsparentResource = $parentResource->getOne('Parent');
if (isset($parentsparentResource)){
if ($tv->renderOutput($parentsparentResource->get('id'))<>0){
$kinderenvan=$parentsparentResource->get('id');
}
else{$kinderenvan=3;}
}
else{$kinderenvan=3;}
}
else{$kinderenvan=3;}
}
else{$kinderenvan=3;}
}
else{$kinderenvan=3;}
$criteria = $modx->newQuery('modResource');
$criteria->where(array(
'parent' => $kinderenvan,
));
$showparents=$kinderenvan;
$criteria->sortby('pagetitle','ASC');
$parents = $modx->resource->getMany('Children',$criteria);
foreach ($parents as $parent){
$showparents=$showparents."<a href=\"index.php?id=".$parent->get('id')."\">".$parent->get('pagetitle')."</a> ";
}
return $showparents;
?>
showchildren
<?php
$currentResource = $modx->resource;
if ($categorie<>0){
$criterias = $modx->newQuery('modResource');
$criterias->where(array(
'parent' => $currentResource->get('id'),
));
$showchildren=$currentResource->get('id');
$criterias->sortby('pagetitle','ASC');
$children = $modx->resource->getMany('Children',$criterias);
foreach ($children as $child){
//print_r($child);
$showchildren=$showchildren."<a href=\"index.php?id=".$child->get('id')."\">".$child->get('pagetitle')."</a> ";
}
return $showchildren;
}
?>