Main
Index
Search
Posts
Who's
Online
Log
In

Home: Discontinued/Classic Products: Article Manager 2:
can I show the size of the attached files?

 

 


MEKAEEL
User

Nov 30, 2006, 10:59 PM

Post #1 of 2 (508 views)
Shortcut
can I show the size of the attached files? Can't Post

Hello again,

I wonder if it's possible to show the size of the attached files in articles or summaries?

any ideas?


ross
Staff / Moderator


Dec 5, 2006, 12:50 PM

Post #2 of 2 (497 views)
Shortcut
Re: [MEKAEEL] can I show the size of the attached files? [In reply to] Can't Post

Hi Mekaeel

Thanks for posting!

I have been looking into this for you and there isn't really a nice simple way to do it. I am going to add something about this to our feature request list though so hopefully in a future version there will be a file attribute we can use for something like this.

In the meantime, I was able to hammer out a work around. Basically, there is a neat little SSI that you can use which will return the size of any file.

The only thing is that you would need to turn off some security features that would mean you can run SSI code from within your article content. The reason this is a problem is because SSI let's you access just about anything on the server and you won't want to allow that to everyone who creates articles.

Now, if you were the only one who was creating the articles, it shouldn't actually be a problem. So if you are interested in trying it out, let me know Smile.
-----------------------------------------------------------
Cheers,
Ross Fairbairn - Product Specialist
support@interactivetools.com

Hire me!  Save time by getting our experts to help with your project.
Template changes, advanced features, full integration, whatever you
need. Whether you need one hour or fifty, get it done fast with
Priority Consulting: http://www.interactivetools.com/consulting/