Note: An alternative skin, TW4MW (work in progress), is available from the user preferences.

Getting started with UploadPlugin

TiddlyWiki Community Wiki

Jump to: navigation, search
This page is still incomplete. You can help by contributing to its expansion.
Please improve the article, or discuss the issue on the talk page.

You can use BidiX's UploadPlugin to enable editing and saving your TiddlyWiki to your web host.

The plugin and documentation are available from BidiX's site; this document is a quick-start to getting it going.

[edit] Simple instructions for BidiX's UploadPlugin

Extracted from 'TiddlyWiki for the rest of us' by Dave Gifford

  1. Import the plugin and its friends. In your TiddlyWiki file, go to the backstage section and import the following tiddlers from http://tiddlywiki.bidix.info/
    1. PasswordOptionPlugin
    2. UploadPlugin
    3. store.php
  2. Save changes to your file and reload / refresh your browser.
  3. Create a store.php file. Open the store.php tiddler in your file and copy its contents. In Notepad, or whatever program you use to create webpages, paste the contents you've copied, and save the file as store.php. Be sure your program hasn't added any extensions such as .html, etc. The file should be called 'store' and its extension should be .php.
  4. Set your username and password. In the store.php file, add your username(s) and password(s). Do this by going to the line $USERS = array( '~UserName1'=>'Password1', etc) and replacing Username1 with your username, and Password1 with your password. Be sure to leave all the punctuation and code, such as the single quotes, intact. Save your file.
  5. Upload store.php. Use your FTP client (the program you use to upload files to your website - I use ~FileZilla) to upload store.php to the directory (folder) where you are going to put your ~TiddlyWiki file. If it's been uploaded correctly, you should be able to open your file from your browser (e.g. http://www.giffmex.org/experiments/store.php) and see BidiX's message.
  6. Go to the Upload options panel. Now go to your TiddlyWiki file and in the backstage area at the top you should be able to see an 'upload' button. Click it.
  7. Fill in the Upload options panel.
    1. Set the same username and password that you placed in your store.php file
    2. Add the url of your store.php file (e.g., http://www.giffmex.org/experiments/store.php)
    3. Leave the Relative directory blank, and it will use default settings
    4. For filename, add the filename of the ~TiddlyWiki you are uploading
    5. If you have created a special directory on your site for backups, enter it in the Relative Directory for backups line. You don't add the entire url, just the name of the directory.
    6. Decide whether you want the ~UploadLog tiddler in your file to display the new logging data every time you save changes to the web, and check the box accordingly.
    7. Decide how many lines of data you want to appear in UploadLog, or leave it at a default of 10.
  8. Click 'Upload' in the Upload with options panel. There will be a delay as your file is uploaded, but a message area should appear saying that your file is saved and about to upload. When done it should say 'Main TiddlyWiki file uploaded'. You are done!
  9. Upload to your heart's content. Now, every time you want to upload the changes from your local file to the file on your website, go to the upload section of the backstage area, be sure your username and password are correct, and hit the upload button. That's it!
Personal tools