Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted June 23, 20186 yr Hello Is there a way to move the Themes menu on the forum index? in its current place even the most veteran members on my board doesnt know this menu exist I also like to know if there's a way to re order the themes in that menu?
June 23, 20186 yr 16 minutes ago, Kenneth Baker said: Hello Is there a way to move the Themes menu on the forum index? in its current place even the most veteran members on my board doesnt know this menu exist I also like to know if there's a way to re order the themes in that menu? You'd have to edit the templates to be able to move it. The order displayed is the same order as the ACP (you can drag and drop there)
June 23, 20186 yr Author 19 minutes ago, AlexWright said: You'd have to edit the templates to be able to move it. thanks for the answer I take it its the footer template under Global? And i have changed the order on the ACP but it didnt make any effect
June 23, 20186 yr 1 minute ago, Kenneth Baker said: thanks for the answer I take it its the footer template under Global? And i have changed the order on the ACP but it didnt make any effect Correct, it's this bit: {{$themes = \IPS\Theme::getThemesWithAccessPermission();}} {{if count ( $themes ) > 1 }} <li> <a href='#elNavTheme_menu' id='elNavTheme' data-ipsMenu data-ipsMenu-above>{lang='skin'} <i class='fa fa-caret-down'></i></a> <ul id='elNavTheme_menu' class='ipsMenu ipsMenu_selectable ipsHide'> {{foreach $themes as $id => $set }} {{if $set->canAccess()}} <li class='ipsMenu_item{{if \IPS\Theme::i()->id == $id}} ipsMenu_itemChecked{{endif}}'> <form action="{url="app=core&module=system&controller=theme" noprotocol="true" csrf="true" seoTemplate="theme"}" method="post"> <button type='submit' name='id' value='{$id}' class='ipsButton ipsButton_link ipsButton_link_secondary'>{lang="$set->_title"} {{if $set->is_default}}{lang="default"}{{endif}}</button> </form> </li> {{endif}} {{endforeach}} </ul> </li> {{endif}}
Archived
This topic is now archived and is closed to further replies.