We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Document management Plugin for EE?

Development and Programming

Versa Studio's avatar
Versa Studio
572 posts
16 years ago
Versa Studio's avatar Versa Studio

A need that has come up repeatedly with my clients is document management. EE can do this in a rudimentary fashion, but it’s really inadequate. Some years ago I wrote some code that works like this:

inspect_directory('/my-docs/') as my_directory
for each item in my_directory
    check for matching row in DB_table
    if matching row
        SELECT * FROM DB_table
        WHERE doc_filename = my_directory.filename
        output results
    else
       display message "doc not yet entered"
    end
end

It worked pretty well. Basically, you let the user dump whatever files they want in to a directory on the server (how the docs get there doesn’t matter). They you loop through them all and compare to the DB. Anything without a match is new, and the user then has to enter that document’s details. Otherwise display the standard stuff–filename, title, doc type, KB size, category, date entered, etc.

Also give the user the option to delete a doc right from this list.

Added to this is standard exp:weblog:entries behaviour so documents, and links to them, can be output in templates.

I’ve written this successfully in ColdFusion, but that was years ago and I don’t know much PHP–I prefer to focus on EE development.

Any interest in writing something like this? I know it would be worth $100+ for some of my clients.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.