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

Reply via email to