soflyy / oxygen-bugs-and-features

Bug Reports & Feature Requests for Oxygen
https://oxygenbuilder.com/
315 stars 31 forks source link

Allow users with Editor role to assign templates to posts #2433

Open jevgen opened 2 years ago

jevgen commented 2 years ago

Currently there is no UI for user with Editor role to assign templates to posts.

A dropdown metabox on the right panel "Assign Oxygen Template" available for Editors and one for bulk assignment and re-assignment in Quick Edit UI of WP admin area would be a huge time-saver. Especially for multilingual projects, where currently only admin can assign templates designed for each language to posts.

perrelet commented 2 years ago

A workaround is to associate your oxygen templates with a taxonomy. Editors can then select an appropriate tax term, which will render the post with the corresponding template.

jevgen commented 2 years ago

This removes the core strength of Oxy -- ability to have several templates to choose from for a post. So its not a workaround, it only covers one use case, when posts have only one template.

perrelet commented 2 years ago

@jevgen An oxygen template can be associated with taxonomy term(s).

Screenshot 2021-10-08 111411

Thus, a post can be rendered via any number of different templates by simply selecting the corresponding tax term for that post. This avoids giving the user access to any oxygen ui panels, however they can still control the template.

Let us know if you need further clarification. :)

jevgen commented 2 years ago

I understand the underlying design decision. Thank you for clarification. Question stays how to make template assignable in bulk via Quick Edit UI in WP Admin?

FougereBle commented 2 years ago

Sorry for my english.

This feature is missing. I would like to see it in the next release, for posts but also pages.

Imagine a client that would like to create Landing Page. With the actuel system, the client cannot hide header & footer, and Taxonomies is not available for pages (or I don't know how to use it).

If the client can choose the template (in the same way that we can choose template in a normal theme, at the right of the edition content), the client can choose "Page Layout" (default) or "Landing Page Layout".