hi list
Anyone know how to add an element to an array which I made with the
MakePageList function?
A simple:
$ptcontent[] = 'SiteStructure';|
seams not to work|, I get an empty element.
thanks for any hints
nos
function PTConfigArr($prefix) {
global $FmtPV;
$opt_ptcontent = array(
"group" => "PagetypeConfig",
"$:pagetypetype" => "Content",
);
$opt_ptrelated = array(
"group" => "PagetypeConfig",
"$:pagetypetype" => "Related",
);
$ptcontent = MakePageList($pagename, $opt_ptcontent, 0);
$ptcontent[] = 'SiteStructure';
_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users