Fivestar does not appear in content authoring

Created on 29 November 2024, 7 months ago

Problem/Motivation

Installing in 10.3.10

Steps to reproduce

composer require 'drupal/votingapi:^3.0@beta'
composer require 'drupal/fivestar:^1.0@alpha'

Fivestar does not appear under /admin/config > content authoring
Navigating to /admin/config/content/fivestar give 'Page not found'

I have enabled Voting API and Voting API tokens, removed the Fivestar module including replacing code without success.

When I visit update.php there are no pending updates.

I am running under ddev.

Thanks for any insight.

πŸ› Bug report
Status

Active

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States brookfield

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @brookfield
  • πŸ‡ΊπŸ‡ΈUnited States tr Cascadia

    Fivestar provides a field. Fields are added to content types and configured by editing the content type at "/admin/structure/types".

    I don't know why you expect to see anything at "/admin/config > content authoring" or "/admin/config/content/fivestar"

  • πŸ‡ΊπŸ‡ΈUnited States brookfield

    Thanks for the reply.

    According to fivestar README.txt
    1) Configure the site-wide setting for Fivestar, Administer -> Configuration ->
    Fivestar (or go directly to /admin/config/content/fivestar)
    That worked under D7, so the README may need to be updated.

    From your suggestion, when I visit

    /admin/structure

    I see 'vote types', but nothing directly mentioning Fivestars.

    I do see an option for adding a Fivestar field when configuring a content type.

    I can't see where to select the widget type. Thanks for any help.

  • πŸ‡ΊπŸ‡ΈUnited States tr Cascadia

    Actually, the README.txt appears to contain Drupal 6 instructions. That's badly out of date. I will see what I can do to clean that up over the next few weeks.

    The documentation guide is a lot more up-to-date. See https://www.drupal.org/docs/contributed-modules/fivestar β†’

    Because the Fivestar module just provides a Field type, anything you read about Fields in Drupal will hold true for this module. To use a Field type, you add the Field to a content type, then you configure the display settings and the form settings right there. The Field is configured differently for each different content type - there is no global setting.

    For example, to add a Fivestar field to the standard Article content type,

    • Visit /admin/structure/types/manage/article/fields
    • Click "Create a new field"
    • Select the Fivestar field type.
    • Give the field a name and save the field.
    • Go to /admin/structure/types/manage/article/form-display and click the gear next to your Fivestar field to change the settings and select the widget for the form display. Be sure to click "Save" at the bottom of the page if you changed anything.
    • Go to /admin/structure/types/manage/article/display and click the gear to change the settings for the view display. Be sure to click "Save" at the bottom of the page if you changed anything.

    That's the basics, and all that is the same as you would do for any field type and any content type in Drupal.

  • πŸ‡ΊπŸ‡ΈUnited States tr Cascadia

    I see there's already an issue open to update the README.txt. See πŸ“Œ Update README.txt Active . Please contribute there if you find any more problems with the README.txt

  • Automatically closed - issue fixed for 2 weeks with no activity.

Production build 0.71.5 2024