Problem/Motivation

According to the tutorial here [https://pierce-lamb.medium.com/how-to-use-personalized-paragraphs-559dd5..., in the step "Make sure to check the box that says ‘Allow adding to library’" at /admin/structure/paragraphs_type/add, I should see a checkbox. I do not see the checkbox.

Screenshot of Paragraph Type add form

Steps to reproduce

  1. Go to /admin/structure/paragraphs_type/add
  2. "Allow adding to library" is not on the form

Proposed resolution

n/a

Remaining tasks

n/a

User interface changes

n/a

API changes

n/a

Data model changes

n/a

CommentFileSizeAuthor
Screen Shot 2021-05-21 at 4.52.59 PM.png42.53 KBcapellic

Comments

capellic created an issue. See original summary.

capellic’s picture

There is a dependency I did not enable: Paragraphs Library. I enabled Paragraphs Library. I now see the checkbox just above the Save button when adding a new Paragraph Type or when editing an existing one.

I suggest creating a dependency so that the Paragraphs Library module is enabled if not already enabled when enabling this module.

I suggest some updates to https://pierce-lamb.medium.com/how-to-use-personalized-paragraphs-559dd5...

  1. Change "If they are not enabled, make sure Entity Usage, Paragraphs, Smart Content, Smart Content Browser and Personalized Paragraphs are enabled." to "If they are not enabled, make sure Entity Usage, Paragraphs, Paragraphs Library (a Paragraphs sub-module), Smart Content, Smart Content Browser and Personalized Paragraphs are enabled.
plambie’s picture

Version 1.2.x was deployed with dependencies declared in the .info.yml file so this cannot happen again

https://www.drupal.org/project/personalized_paragraphs/releases/1.2.x-dev

plambie’s picture

capellic’s picture

I verified that the documentation (blog post) was updated.

I verified that the Paragraphs Library is now a dependency.

capellic’s picture

Status: Active » Reviewed & tested by the community