When checking the scheduled content of a user the frontend theme is user instead of the admin theme.
Is this a bug or intended?
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
Comment #2
pcate commentedI believe this is the default for Drupal user pages.
Comment #3
jonathan1055 commented@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?
Comment #4
pcate commentedI 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
Comment #5
jonathan1055 commentedThanks 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.