Contribute  :  Support  :  Downloads  :  Forum  :  Links  :  Polls  :  Calendar  :  Directory  :  Advanced Search  
Geeklog The Ultimate Weblog System
Welcome to Geeklog
Thursday, May 15 2008 @ 11:08 PM EDT
   

File attachments?

GeeklogIs anyone interested in adding a file attachment system converted from the image attachment system?

Is the GL dev team currently working on something like this?

Here's my list of additions and changes.



Add in duplicate table of article_image. Change all row names to af_* from ai_*

Add conf var in config.php 'maxfilesperarticle'

Duplicate all instances of image insert and display code while swapping var names to read 'file' something.

Change html formatting to be an anchor href tag instead of an img tag and add a generic 'document' img inside the anchor along with the file name.

Change any image vars with 'file' something to 'image' something.

Add in template code for new file vars.


I'm currently stuck on getting/setting the sid for the files. I'll get that today.

If any of you GL developers know of a showstopper waiting for me I'd love to hear about it. ie: something harcoded especially for images that doesn't show up in the usual places?

I'll send my code in when it's all working as expected.

James

Story Options

File attachments? | 0 comments | Create New Account
The following comments are owned by whomever posted them. This site is not responsible for what they say.