Custom Panel Skin #154
taufik-nurrohman
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Panel will no longer support global
$_['skin']
property in the future. It is your task to add GUI that can store some value to determine the current skin.Extension author can add an option field to store and load the current
$state->x->panel->skin
value. Ideally, it should be located in the.state
path, under the Panel tab.A Skin option should appear in the field list under the Panel tab:
If you hit the Update button, the state value will be stored as a
skin
property in the main.\state.php
file:You can then use that value to load your skin assets when the skin name matches:
Beta Was this translation helpful? Give feedback.
All reactions