There is currently no concise/succinct way to configure the output of
Attachlist, you need to override and redefine the whole markup
directive. Something like this in config.php:
Markup('attachlist', 'directives',
'/\\(:attachlist\\s*(.*?):\\)/i',
"DavidMarkupFmtUploadList");
function DavidMarkupFmtUploadList($m) {
extract($GLOBALS["MarkupToHTML"]); # get $pagename
return Keep('<ul>'.DavidFmtUploadList($pagename,$m[1]).'</ul>');
}
function DavidFmtUploadList($pagename, $args) {
## copy here the code from upload.php:FmtUploadList()
## and adapt it for your needs.
}
Petko
On 27/11/2019 15:28, [email protected] wrote:
Is there any way to configure output from Attachlist. I am especially
interested in supressing file details and would like to reconfigure in
the
possible using fmt= with pagelist.
_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users