When checking the scheduled content of a user the frontend theme is user instead of the admin theme.
Is this a bug or intended?

Comments

seirerman created an issue. See original summary.

pcate’s picture

I believe this is the default for Drupal user pages.

jonathan1055’s picture

Category: Bug report » Support request

@seirerman do you know of other modules which do things differently? There is no code in Scheduler which specifically sets the theme so I think this is just as it comes.

@PCate thank you for the response. Yes I assume this is the default but I could not find any documentation on it. Do you have any more info on this?

pcate’s picture

@PCate thank you for the response. Yes I assume this is the default but I could not find any documentation on it. Do you have any more info on this?

I don't have a ton more info. There are ways to force the admin theme: https://www.computerminds.co.uk/drupal-code/drupal-8-views-how-set-admin... programmatically.

There is also work to add this as a option in the Views UI which will make things much easier: https://www.drupal.org/project/drupal/issues/2719797

jonathan1055’s picture

Status: Active » Closed (works as designed)
Related issues: +#2719797: New option for Views page displays to use the admin theme

Thanks for those. I am happy that we default to the front-end theme, as that is what the actual user would see when they go to their scheduled tab. It is not an admin page, after all.

Closing this as 'works as designed' but re-open if you want to continue the discussion.