I simplified my code and here is how it works:
The template used:
[[$html?
&contentChunk=`[[*content]]`
]]
The chunk ’html’:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<title>[[++site_name]] - [[*pagetitle]]</title>
<base href="[[++site_url]]" />
</head>
<body>
[[+contentChunk]]
</body>
</html>
The resource content:
Just a word<br />
[[!If? &subject=`1` &operator=`eq` &operand=`1` &then=`checked="checked"`]]
Like that it DOESN`T work. The result:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<title>GalileoActive - test2</title>
<base href="http://localhost/active/ga/" />
</head>
<body>
</body>
</html>
Note that the words ’Just a word’ aren`t displayed either.
If I change [[+contentChunk]] by [[*content]] in the chunk ’html’ as following:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<title>[[++site_name]] - [[*pagetitle]]</title>
<base href="[[++site_url]]" />
</head>
<body>
[[*content]]
</body>
</html>
It WORKS
Any idea of what`s happening?