Attachment Manager
Date 2004-10-04 17:37:14 | Category: Site News
|
myAlbum-P has been implemented a new feature "Attachment Manager". This is an extension from ImageManager Integration.
You can attach any type of files into almost modules which use DhtmlTextArea of XoopsForm. The operations to upload and attach some files are very natural for all Xoopsers.
<- This is a sample attachment of PDF files.
All you have to do is:
-Install myAlbum-P. (If you are using myAlbum-P, install it with another name like myalbum0, myalbum1, myalum2)
-Enable ImageManager Integration like this: line 28 of imagemanager.php
include './mainfile.php';
include 'modules/myalbum/imagemanager.php'; // add this line
if (!isset($HTTP_GET_VARS['target']) && !isset($HTTP_POST_VARS['target'])) {
exit();
}
If you install myAlbum-P with another name, the line should be added are like this: include 'modules/myalbum0/imagemanager.php'; include 'modules/myalbum1/imagemanager.php'; include 'modules/myalbum2/imagemanager.php';
-Append extension which you allow to upload into myAlbum-P's preferences: jpg|jpeg|gif|png|pdf
-Set blank as "MIME Types can be uploaded"
That's all.
enjoy!
|
|