[rt-users] How to use custom field with "Include page"

Kevin Falcone falcone at bestpractical.com
Fri Apr 26 12:31:32 EDT 2013


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__" 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>
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 235 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20130426/11285bcf/attachment.sig>


More information about the rt-users mailing list