[pmwiki-users] Attach syntax
Mike Shanley
up at upisup.com
Sun Jan 6 09:02:30 CST 2008
pmwiki at 911networks.com wrote:
> I want to display only: broken.zip
> I have also tried Attach:broken.zip and still get:
> Attach:broken.zip
>
> http://www.sqlhacks.com/index.php/Administration/Restore-Verify-Only
>
> Any suggestion?
>
I found this in the Cookbook a while back:
Put this is config.php:
# To get rid of 'Attach:' prefix
Markup('Attach','>img',"/\\bAttach:([^\\s$UrlExcludeChars]*[^\\s.,?!$UrlExcludeChars])/e",
"Keep(MakeLink(\$pagename,'$0','$1'),'L')");
It will work for all attachments from now on.
--
~Mike Shanley~
~you are almost there~
~http://mike.upisup.com~
More information about the pmwiki-users
mailing list