As far as I am aware, the Admin theme settings...

'Use the administration theme when editing or creating content'

Only kicks into action on the paths...

node/add/{NODE-TYPE}

and

node{ID}/edit

but not, for example on the extended path...

node/add/{NODE-TYPE}/STEP1 where this is defined as part of my Form Steps workflow.

I have tried using completely differently-shaped URLs in my steps configuration such as...

/article/create/step1

But no joy.

Finally, if I prefix my path with '/admin' for example, ...

/admin/article/create/step1

Then that works as you might expect but I don't really want to have to do that.

The Form steps features seem to be working just, my issue is only with the theme used.

Can anyone enlighten me on how to get the current admin theme to kick it here?

Thanks

Comments

SirClickALot created an issue. See original summary.

sirclickalot’s picture

Issue summary: View changes
sirclickalot’s picture

Issue summary: View changes
stborchert’s picture

Version: 8.x-1.3 » 8.x-1.x-dev
Status: Active » Needs review
StatusFileSize
new3.03 KB

We had the same issue so I created a simple patch.
In case you set the option to use the admin theme while adding/editing content, the steps are rendered using the admin theme also.

stborchert’s picture

StatusFileSize
new3.01 KB

The fix in #4 contained an error (wrong route parameters).

stborchert’s picture

StatusFileSize
new2.99 KB

Sorry for the noise. I should test the patch before uploading it. *sigh*

nicoloye’s picture

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

Very cool feature !
Thanks for the hard work !

  • nicoloye committed a465a68 on 8.x-1.x authored by stBorchert
    Issue #3104208 by stBorchert, nicoloye: Using the admin theme for...
nicoloye’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

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