How to attach a file or insert code into a forum post

Submit New Article

February 17, 2010 8:00 PM PST


When composing a post in the Intel Software Network forums, you may want to attach a file (such as source code or a project archive) to a post, or insert an image into the post.  Here's how to do it.

  1. Click on the Add Files button that appears above the edit window.
  2. All files need to be in a folder - this folder is an organization for your convenience and the folder structure is not visible to others. If you want to use a previously created folder, click on the folder name.  Otherwise, enter a new folder name and click Create Folder.  Then click on the newly created folder name.
  3. Click the Browse button and select the file you want to upload, then click Upload.  If you had previously uploaded a file, click its name.
  4. You will be shown a screen that contains a URL for the file - you can use this URL in a link in your text.  You can also attach the file to the post by clicking Add As Attachment, or, if it's a graphic, you can insert it inline in the post by clicking Add To Editor.  The other fields in this window should be left unchanged.
If you chose to attach a file, the file name will be displayed below the editor window.  You can undo the attachment by clicking on the X to the right of the file name.

You can also insert code using the code formatting tool - this is best for shorter codes.  Longer ones should be added as attachments.  The code formatting tool appears in the editor controls and looks like a yellow pencil:

CodeEdit.png

Click on this and a window will appear.  Select the language for your code, paste or type the code, then click Insert. When your post is submitted, the code will appear properly formatted for the selected language.