Jump to content

Themes locations

Recommended Posts

16 minutes ago, Kenneth Baker said:


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)

Link to comment
Share on other sites

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 }}
            <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>

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...