Problem/Motivation

Content provisioning from theme settings in a theme that is not the default results in blocks being placed on the default theme of the system.

Steps to reproduce

I am go to CT Theme or sub-theme theme settings.
I go to the content provisionining section and select "Blocks"
I click Provision Content

The blocks are created but placement is on the default theme not on the theme settings I was just in.

Proposed resolution

1. Pass a theme parameter from the form to the provisioning functions.

Comments

richardgaunt created an issue. See original summary.

richardgaunt’s picture

fionamorrison23’s picture

richardgaunt’s picture

Status: Active » Needs review
richardgaunt’s picture

Status: Needs review » Reviewed & tested by the community
nickgeorgiou’s picture

I have tested the functionality of the updated provisioning script and can confirm that:

  • the issue with the block placements is now fixed
  • block placements are now created in the correct theme (the theme in whose theme settings I pressed "provision content") instead of the default theme.

  • 0d892a03 committed on 1.x
    [#3543470] Updated provision callbacks to provide the theme_name to...
fionamorrison23’s picture

Version: 1.x-dev » 1.12.0
Status: Reviewed & tested by the community » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

fionamorrison23’s picture

Assigned: richardgaunt » Unassigned

Status: Fixed » Closed (fixed)

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