Can I include links to message attachments on index pages?
Not directly, but a (dirty) work-around maybe possible. You can modify the mhexternal.pl filter to write to a file (name based off the message number) with some HTML markup that creates the HTML attachment list (mhexternal.pl knows about content-types and other stuff, so it can make a useful list). Note, since mhexternal.pl works on a single part at a time, it needs to create the list via append operations to the file. The implementation is similiar to how mhexternal.pl supports placing attachments into a subdirectory. Make sure that mhexternal.pl returns the file as part of the return value so it is automatically deleted if the message is removed from the archive. Then, you define the LITEMPLATE resource to use a server-side include to include the file as part of the message listing. I did say it was dirty, but it should work.
Related Questions
- When I open a certain cookbook, I get the message "For this cookbook: NAME.GCF the category index file (.cdx) is longer than it should be. It may be corrupt." What is happening?
- Does Ibeem CMS allow editors to create and edit links to other pages within their site and external URLs?
- Can I include links to message attachments on index pages?