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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
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->skinvalue. Ideally, it should be located in the.statepath, 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
skinproperty in the main.\state.phpfile: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