Custom Module Standard User
Jamroom Developers
I found this code in: profile_menu.tpl
{if isset($_items)}
{foreach $_items as $module => $entry}
{if $entry.active == '1'}
<a href="{$entry.target}" class="t{$module}"><div class="profile_menu_entry profile_menu_entry_active">{$entry.label}</div></a>
{else}
<a href="{$entry.target}" class="t{$module}"><div class="profile_menu_entry">{$entry.label}</div></a>
{/if}
{/foreach}
{/if}
If we hard-code a change to this template, my guess is we would also have to hard-code the mobile version of this template.
--
Based on the code above, it seems if the module logic - {if $entry.active == '1'} - then the module tab will show?
--
IDEA: So would it be possible, say in the custom module php code, to "manually" set and force the custom module to always be "active" even if it is read only, and stores no data? Then it seems the module might show on desktop, and mobiles with no template code changes?
updated by @softdesigns: 09/15/18 11:08:42AM