Loading...
 

 Important

Major updates are in progress. Some pages and languages may not be available.

Using Attachments

With Tiki, you can add any type of file (such as an HTML page or MS-Word document) to a wiki page as an attachment. Visitors (with permission) can add new attachments or view/download existing attachments.

Configuring Wiki Attachments

From the Wiki: Administration page:

  1. Click the Features tab.
  2. On the Features tab, enable the Attachments option.

Enabling the Wiki Attachments.

  1. You can specify if attachments should be displayed automatically and where Tiki should store the attachments.

     Tip

    To edit individual attachments, or to change storage locations, click Manage Attachments.
  2. Click Apply. Tiki saves the information and reloads the page.

 Tip

Database or Directory?
Tiki can store your attachments either in the database or directly on your web server.

The database may be more secure, since web surfers would not be able to edit or change the attachment unless they had access to your database. The directory option may be better for performance, since Tiki would not have to issue a database query each time an attachment was displayed.

If you use a directory, you must make the directory writable. See Set Directory Permissions for more information.

Adding Attachments

As the admin you have full access to add or delete attachments. For other users and groups, you must grant the necessary permission. See Configuring Group Permissions for more information.

On the HomePage, notice that there is now a Files button.

File not found.
  1. Click Attach file. The Upload File area appears below the Home Page..
    Upload File area.

     Note

    If you enabled the Show by default option when enabling the Wiki Attachments feature, the Upload File area is displayed automatically.
  2. Click Browse and select a file from your PC.

     Tip

    You can attach any type of file to the page. The maximum filesize is specified by your php.ini file.
  3. In the Comment area, enter a brief description of the image.
  4. Click Attach. Tiki adds the file to the wiki page. The number of files attached to the page is shown in the button at the bottom of the wiki page.
    Home Page
    The Attach files button.

Files attached tot the Home Page
Visitors (with permission) who click the button 1 File attached button will see a table showing the attachments:

If it doesn't work

If Tiki displays a Cannot write to this file error message, Tiki was unable to upload the file. You enabled the Store in directory option, but Tiki could not save the file.
Make sure that:

  • The path is correct.
  • The directory's permissions allow Tiki to read, write, and update files.


If Tiki displays a white screen while attempting to upload the file, the filesize may be too large. Try increasing the upoad_max_filesize and post_max_size parameters in your php.ini file to allow large attachments.

Created by Rick Sapir (ricks99). Last Modification: Friday February 15, 2019 08:46:15 am EST by Rick Sapir (ricks99).

Advertising