Ok..
IF we save "Access permissions" under "All Document Groups (Public)" and we click "Preview Document" ... Everything is perfect
B..U..T..
When i change "Access permissions" of one child document, under another document group ex.: "testdocument" and i click "Preview Document" we see only "All Document Groups (Public)" (child document doesnt display)
I created another user, linked to the "testdocument", and we can edit any document under this group, but cannot see document under preview document..
and, if we set all document (parent & child) under "testdocument" we obtain this error:
ERROR: Too many forward attempts!
The request could not be completed due to too many unsuccessful forward attempts.
My config :
shrunk name: tpl_main
[+title+]<br>
<p>[+content+]</p><br>
My template: def_temp
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>[(site_name)] | [*pagetitle*]</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="stylesheet" href="[(base_url)]assets/templates/default/site.css" type="text/css" media="screen" />
<base href="[(site_url)]" />
</head>
<body>
[[Ditto? parents=`1` &tpl=`tpl_main` hidePrivate=`0`]]
</body>
</html>
Maybe i forgot a param inside Ditto
Could you help me ?