random-photo-postgresql.xql

  • last updated 17 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
First shot at merging oacs-5-2 apps used in .LRN to HEAD.

  1. … 2478 more files in changeset.
Possible bug fix -- I believe ci_items is not the name of a table in OpenACS.

- Fixed random photo query. Split in two queries. One to select a

random photo across all photo albums and another for a random photo

from a single package or a specific photo.

- Random photo includes now accept a photo_id, package_id or a url. If

a photo_id is provided then that photo will be displayed. Otherwise

a random photo will be selected. See comments in random-photo.tcl

for details.

  1. … 1 more file in changeset.
Made a few minor bug fixes to random photo widget

  1. … 1 more file in changeset.
Added includable random-photo widget to Jeff's photo album in contrib. Works only with Postgres at the moment

    • -0
    • +66
    ./random-photo-postgresql.xql
  1. … 2 more files in changeset.