Hi Philipp !
> where could I get PageLinks for 1.4beta3, or how can I use them?
> Is there any more detailed documentation than the announcement?
Midgard 1.4beta3 and 1.4beta4 already have PageLinks, you can enable this
feature with --with-pagelinks on the ./configure command line in
midgard-lib, then you'll need to recompile lib, mod and php.
you can use the following functions to create/update/delete/get/list
pagelinks:
mgd_list_pagelinks($up)
mgd_get_pagelink($id)
mgd_get_pagelink_by_name($name)
mgd_create_pagelink($up, $name, $target, $grp, $owner)
mgd_update_pagelink($id,$name,$target,$grp,$owner)
mgd_delete_pagelink($id)
class pagelink {
var $id;
var $up; // id of the container page
var $name; // name of the pagelink (appears in the uri)
var $target; // id of the target page
var $grp; // does nothing for the moment (set it to 0), may be available
soon with Emile's last patch
var $owner; // standard field
function create();
function update();
function delete();
}
Hope this helps.
Disclaimer:
PageLinks is an experimental feature.
This means you cannot rely on current PageLinks implementation to build a
site.
This implementation can deeply change in the future.
Blah, blah, blah....
> Thanks,
> phr
Best regards,
David
--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org
To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]