I've searched and found no examples of this. The one that someone pointed to is no longer available (php-studio).
I want my UCP to have two modes:
I can't figure out how to enable/disable respective UI in my HTML. I thought this would work (or something like it):
Help please!
I want my UCP to have two modes:
Code:
'modes'=> ['settings', 'gallery'],
Code:
{% if MODE == 'settings' %}<h2>{{ lang('SETTINGS') }}</h2>{% else %}<h2>{{ lang('UCP_BLOBLOADER_PHOTO_GALLERY') }}</h2>{% endif %}
Statistics: Posted by tig_ — Sun Jan 26, 2025 10:30 pm