Topic on Extension talk:IframePage

Can't embed multiple pages

2
101.98.169.168 (talkcontribs)

Hi there. I'm a newbie so please forgive...

I want to embed two different websites in one of my wiki pages (version 1.29.1) but can only get the first one in the array to display. With the below code, I end up with the same page embedded twice! Also, if I use the pipe (|) before 'path', my wiki shows "404, key not found". Your help is appreciated.

Localsettings.php is as below:

require_once "$IP/extensions/IframePage/IframePage.php";

$wgIframePageSrc= array( 'Congo' =>'https://datawrapper.dwcdn.net/iJgI6/2/','googlenz'=>'https://www.google.co.nz' );

$wgIframePageAllowPath = true;

My Wiki is as below:

{{Special:IframePage|Congo?path=https://datawrapper.dwcdn.net/iJgI6/2/}}

{{Special:IframePage|googlenz?path=https://www.google.co.nz}}

101.98.169.168 (talkcontribs)

All solved now. I used the "piping" instructions from earlier in this discussion. Basically, I wasn't following the instructions correctly.

Reply to "Can't embed multiple pages"