[rt-users] How to use custom field with "Include page"
Guadagnino Cristiano
guadagnino.cristiano at creval.it
Fri Apr 26 13:43:06 EDT 2013
Kevin,
thank you for your reply.
The fact is that the DokuWiki page ARE on the same domain as the RT pages.
Actually, they are two virtual domains on the same apache server:
rtbkd.fake.it
dokuwiki.fake.it
(obviously fake.it is NOT the real domain)
Bye
Cris
----------------- Messaggio originale -----------------
Da: Kevin Falcone <falcone at bestpractical.com><mailto:falcone at bestpractical.com>
Inviato: Fri Apr 26 2013 18:31:32 GMT+0200 (CEST)
A: rt-users at lists.bestpractical.com<mailto:rt-users at lists.bestpractical.com>
Oggetto: Re: [rt-users] How to use custom field with "Include page"
On Fri, Apr 26, 2013 at 04:15:07PM +0000, Guadagnino Cristiano wrote:
I created a new custom field called DokuWiki of type "Enter one value", selected "applies to
articles", and entered [1]"http://dokuwiki.fake.it/doku.php?id=__CustomField__"<http://dokuwiki.fake.it/doku.php?id=__CustomField__> 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]http://dokuwiki.fake.it/doku.php?id=start.
>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
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]http://dokuwiki.fake.it/doku.php?id=start">[4]http://dokuwiki.fake.it/doku.php?id=start</a></div>
<script><!--
jQuery('#object_cf_value_13912').load('http\x3A\x2F\x2Fdokuwiki\x2Efake\x2Eit\x2Fdoku\x2Ephp\x3Fid\x3Dstart');
--></script>
</td>
</tr>
--
Cristiano Guadagnino
Servizio Data Administration
Bankadati S.I.
Gruppo Credito Valtellinese
Tel. +39-0342-522172
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20130426/2b9dec35/attachment.htm>
More information about the rt-users
mailing list