Thanks for reply. I see how what you wrote would work, and thanks for it, but why can't I just do it Jean-Vincents's way? That seemed to work fine.
Edward -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Sergiu Dumitriu Sent: 12 September 2008 00:03 To: XWiki Users Subject: Re: [xwiki-users] attachement names Jean-Vincent Drean wrote: > Hi, > > To do this you can increase the variable maxnamelength in the macro > packName (macros.vm). Actually you shouldn't change macros.vm. Instead, you should override attachmentsinline.vm and redefine this variable in there. More specifically, copy attachmentsinline.vm from templates/ to your skin folder, and add at the start of it: #set($maxnamelength = 1000) Or, just remove the call to packName from the file, just use $attach.filename > JV. > > On Thu, Sep 11, 2008 at 3:14 PM, Edward Laptop > <[EMAIL PROTECTED]> wrote: >> Hi >> >> My client has asked if there is anyway to increase the maximum number of >> characters in an attachment name. It appears to display up to 25 characters >> and then a ~.jpg or whatever. He wants the full name displayed. >> >> Thanks >> -- Sergiu Dumitriu http://purl.org/net/sergiu/ _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users