<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Kevin,<br>
thank you for your reply.<br>
<br>
The fact is that the DokuWiki page ARE on the same domain as the RT pages.<br>
<br>
Actually, they are two virtual domains on the same apache server:<br>
<br>
rtbkd.fake.it<br>
dokuwiki.fake.it<br>
<br>
(obviously fake.it is NOT the real domain)<br>
<br>
Bye<br>
Cris<br>
<br>
<div class="moz-cite-prefix">----------------- Messaggio originale -----------------<br>
Da: Kevin Falcone <a class="moz-txt-link-rfc2396E" href="mailto:falcone@bestpractical.com">
<falcone@bestpractical.com></a><br>
Inviato: Fri Apr 26 2013 18:31:32 GMT+0200 (CEST)<br>
A: <a class="moz-txt-link-abbreviated" href="mailto:rt-users@lists.bestpractical.com">
rt-users@lists.bestpractical.com</a><br>
Oggetto: Re: [rt-users] How to use custom field with "Include page"<br>
</div>
<blockquote cite="mid:20130426163132.GB1668@jibsheet.com" type="cite">
<pre wrap="">On Fri, Apr 26, 2013 at 04:15:07PM +0000, Guadagnino Cristiano wrote:
</pre>
<blockquote type="cite">
<pre wrap=""> I created a new custom field called DokuWiki of type "Enter one value", selected "applies to
articles", and entered [1]<a class="moz-txt-link-rfc2396E" href="http://dokuwiki.fake.it/doku.php?id=__CustomField__">"http://dokuwiki.fake.it/doku.php?id=__CustomField__"</a> in the
"Include page" field.
Then I created a sample article and entered "start" in the new custom field. When I look at
the article I only see "start" next to the "DokuWiki" field and nothing else. I would have
expected to see the content of the actual page at
[2]<a class="moz-txt-link-freetext" href="http://dokuwiki.fake.it/doku.php?id=start">http://dokuwiki.fake.it/doku.php?id=start</a>.
</pre>
</blockquote>
<pre wrap="">
>From the explanatory text in the Include page option:
"Some browsers may only load content from the same domain as your RT server"
This is a security measure - I'd guess that your browser is stopping
the javascript you quote from running.
-kevin
</pre>
<blockquote type="cite">
<pre wrap=""> If I look at the html source of the RT page, it seems it is actually trying to include
content, but I see nothing. Here is an excerpt from the html source:
<tr id="CF-13-ShowRow">
<td class="label">DokuWiki:</td>
<td class="value">
start<div class="object_cf_value_include" id="object_cf_value_13912">See also:<a href="[3]<a class="moz-txt-link-freetext" href="http://dokuwiki.fake.it/doku.php?id=start">http://dokuwiki.fake.it/doku.php?id=start</a>">[4]<a class="moz-txt-link-freetext" href="http://dokuwiki.fake.it/doku.php?id=start">http://dokuwiki.fake.it/doku.php?id=start</a></a></div>
<script><!--
jQuery('#object_cf_value_13912').load('http\x3A\x2F\x2Fdokuwiki\x2Efake\x2Eit\x2Fdoku\x2Ephp\x3Fid\x3Dstart');
--></script>
</td>
</tr>
</pre>
</blockquote>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<b><i>Cristiano Guadagnino</i></b><br>
<small>Servizio Data Administration<br>
Bankadati S.I.<br>
Gruppo Credito Valtellinese<br>
Tel. +39-0342-522172</small><br>
</div>
</body>
</html>