Add helpers for retrieving a random item in an exhibit and exhibit section

Open
#6 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
25/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
php
Domain
backend

Research direction

Start by locating the existing display_random_featured_item helper and reading how it retrieves featured items. Add a corresponding helper for random items used in an exhibit or exhibit section, with an option to restrict results to items that have an image file; done means both retrieval cases work as described.

Written by the indexing model from the issue text.

Description

Feature Major

Imported from Trac ticket #83 reported by jboggs on 2010-04-30:

Create a helper similar to display_random_featured_item that will retrieve a random image used in an exhibit or exhibit section. The function could have an argument that would return only items with an image file.

Dominant language
PHP
Stars
25
Forks
37
Avg merge
5d 19h
Merged PRs (30d)
1

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from omeka/plugin-ExhibitBuilder

All issues in omeka/plugin-ExhibitBuilder

Similar issues

More PHP issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.