Not finding what you are looking for? Request a recipe!

  1. Avg. Rating 5.0

    You want to dynamically substitute values in a template

    ColdFusion has several in-built functions that we can utilise to solve this problem. Two possible solutions are shown below.

  2. Avg. Rating 4.0

    How do I send an HTML email that can also be read in text-on ...

    Some email clients are text only and don't understand HTML content. With ColdFusion it simple to send multi part emails using the <cfmail> and <cfmailpart> tags.

  3. Avg. Rating 4.0

    Setup your workspace: Change the font size of the code edito ...

    In Eclipse IDE, which Flex / Flash Builder and CF Builder are based on, you can change the font size in the preferences.

  4. Avg. Rating 3.0

    How do I get a file to download, instead of opening in the b ...

    To stop the browser opening the file and show a save dialog instead, you can use the cfheader and cfcontent tags.

  5. Not yet rated

    Resize images on the fly to fit in a grid

    ColdFusion 8 introduced a several powerful image manipulation functions which we can use to solve this problem.

  6. Not yet rated

    How do I get a random image from a directory?

    Use the <cfdirectory> tag to retrieve a list of all the images in a specified directory, then use the RandRange function to select one randomly.

  7. Not yet rated

    How do I show the first n and last n words?

    By taking advantage of the fact that ColdFusion runs on Java, we can use java.util.Arrays class to get a range of elements from an array of words.

  8. Not yet rated

    How do I merge two Arrays into a single Array?

    Because Coldfusion is built on top of java we can take advantage of some of the java methods. One of these is addAll(), which merges two arrays together.

  9. Not yet rated

    How do I create a random password?

    This is a simple example of some code that will generate a random password, 3 characters long from the letters A to Z.

  • Results 1-9 of 9