summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathan Haug2009-03-04 05:33:53 (GMT)
committer Nathan Haug2009-03-04 05:33:53 (GMT)
commit8a3bf92377e2762b59e1ed07340e8394b331824e (patch)
treee38d3aa759ec29feca6a3f69d5261e98111875e5
parentad98c19d56dcd075fecc179e676a15f6ee6f2efd (diff)
Updating readme.
-rw-r--r--README.txt40
1 files changed, 31 insertions, 9 deletions
diff --git a/README.txt b/README.txt
index 0cf70b6..a93d9f9 100644
--- a/README.txt
+++ b/README.txt
@@ -1,15 +1,37 @@
-filefield provides a file field type to CCK.
+// $Id$
-In order to make files show up on a page, you need to do three things:
+FileField provides an "File" field type to CCK. It provides many advantages over
+the Drupal core "Upload" module including:
--> Add a CCK field of the type "File" to any content type.
+ * Per-field upload control (file extensions, file size).
+ * Per-node upload size limits.
+ * Multiple fields per content type.
+ * Customizable paths for saving uploads (plus token support for dynamic paths).
+ * Icons for uploaded file types.
--> If the Content Permissions module is enabled:
- Enable the "view <fieldname>" permission for all roles that should be able to view these files.
+FileField was written by Darrel Opry (dopry).
+Maintained by Nathan Haug (quicksketch) and Andrew Morton (drewish).
- Otherwise:
- Enable the "access content" permission for all roles that should be able to view filefield uploads.
+Dependencies
+------------
+ * Content
+FileField also provides additional features when used with the following:
--> Create a node of this content type, upload some file(s),
- and set the "List" option for those files that should show up on the node.
+ * ImageField (See an image preview during editing.)
+ * Token (Generate dynamic paths when saving images.)
+ * ImageCache (Create thumbnails of images on output.)
+
+Install
+-------
+
+1) Copy the filefield folder to the modules folder in your installation.
+
+2) Enable the module using Administer -> Site building -> Modules
+ (/admin/build/modules).
+
+3) Create a new file field in through CCK's interface. Visit Administer ->
+ Content management -> Content types (admin/content/types), then click
+ Manage fields on the type you want to add an file upload field. Select
+ "File" as the field type and "File" as the widget type to create a new
+ field.