[ewiki] mpi: mpi_insert.php bug?
- From: massenmensch <kontakt@xxxxxxxxxxxxxxx>
- To: ewiki@xxxxxxxxxxxxx
- Date: Thu, 26 Feb 2004 14:00:14 +0100
Hi there!
And yet another question / bug report:
###REPORT
I included the mpi-plugin. mpi_embed works e.g. with PowerSearch. But when I
want to use mpi_insert by
<?plugin insert WhatEverPage ?>
I get is the non-existing page "_ 0id", which is what your get when you
implode("", array_keys($args))
with $args being what's passed to ewiki_mpi_insert(). And the "implode"-thingy
is what's done before calling ewiki_page in the function.
###FIX
My hack exchanges (in line 26 of mpi_insert.php)
$o = ewiki_page(implode("", array_keys($args)));
with
$o = ewiki_page($args[0]);
and it works.
Is my setup messed up that the CVS-version doesn't work or is it a bug?
###REQUEST
What I'd like as additional feature in mpi_insert is the ability to switch of
the pages footer (i.e. define("EWIKI_CONTROL_LINE", 0); - but just for the
inserted page and not the main page).
Solong, Timm
- Follow-Ups:
- [ewiki] Re: mpi: mpi_insert.php bug?
- From: Mario Salzer
Other related posts:
- » [ewiki] mpi: mpi_insert.php bug?
- » [ewiki] Re: mpi: mpi_insert.php bug?
- [ewiki] Re: mpi: mpi_insert.php bug?
- From: Mario Salzer