Responsive SMF Themes. We're currently working on brand spankin' new Responsive SMF themes for SMF 2.1

Footer Menu v.1

Mick in Mods on Feb 27, 2011

Footer Menu v.1

COMPATIBLE WITH all SMF 2.0

This mod will make a custom footer menu above the info center for forum owners that have lots of internal and/or external links.


Bug Fixes / Updates
1.) Created v.1 | February 2011

Footer menu positioning legend:

1    2    3   4
5    6    7   8
9    10   11  12
13   14   15  16
17   18   19  20


If you need support or need customize help, please post in the thread at SimpleMachines.org or @ idesignSMF.com Thanks!

Tagged with: smf script menu footer 


Mick

Mick G

idesignsmf.com

    

Mick is an American theme designer for Simple Machines Forum software currently living in South Florida, USA. He runs idesignSMF and started tinkering with SMF in 2006 where he created several SMF forums of his own before he founded idesignSMF in 2009 to which he is dedicated full time and has a weakness for Tacos and Pizza.


21 Comments

I made a change in placement of the code so that it will display on every page. I took the inserted code out of the BoardIndex.template.php and applied it to the index_template.php :

Find:


echo '
</div>
</div></div>';

// Show the "Powered by" and "Valid" logos, as well as the copyright. Remember, the copyright must be somewhere!

Add Before:

//Footer Menu v.1 by: bluedevilcustoms.com
       if (!empty($modSettings['fmenu_enabled']))
{
echo'
<br />
    <h2>', $txt['quick_links'], ': </h2>
   <span class="clear upperframe"><span></span></span>
    <div class="roundframe"><div class="innerframe">
    <table border="0" cellspacing="2" cellpadding="2" width="100%">
      <tbody>
        <tr>
          <td>';
// Don't show a link if they haven't specified a url.
 !empty($modSettings['fmenu_title1']) && !empty($modSettings['fmenu_url1']);
echo '
            <div align="center"><a href="' ,$modSettings['fmenu_url1'], '">' ,$modSettings['fmenu_title1'], '</div>
                    <td>';
 !empty($modSettings['fmenu_title2']) && !empty($modSettings['fmenu_url2']);
echo'
            <div align="center"><a href="' ,$modSettings['fmenu_url2'], '">' ,$modSettings['fmenu_title2'], '</div>
          </td>
           <td>';
 !empty($modSettings['fmenu_title3']) && !empty($modSettings['fmenu_url3']);
echo'
            <div align="center"><a href="' ,$modSettings['fmenu_url3'], '">' ,$modSettings['fmenu_title3'], '</div>
          </td>
          <td>';
 !empty($modSettings['fmenu_title4']) && !empty($modSettings['fmenu_url4']);
echo'
            <div align="center"><a href="' ,$modSettings['fmenu_url4'], '">' ,$modSettings['fmenu_title4'], '</div>
          </td>
        </tr>
        <tr>
          <td>';
 !empty($modSettings['fmenu_title5']) && !empty($modSettings['fmenu_url5']);
echo'
            <div align="center"><a href="' ,$modSettings['fmenu_url5'], '">' ,$modSettings['fmenu_title5'], '</div>
          </td>
          <td>';
 !empty($modSettings['fmenu_title6']) && !empty($modSettings['fmenu_url6']);
echo'
            <div align="center"><a href="' ,$modSettings['fmenu_url6'], '">' ,$modSettings['fmenu_title6'], '</div>
          </td>
          <td>';
 !empty($modSettings['fmenu_title7']) && !empty($modSettings['fmenu_url7']);
echo'
            <div align="center"><a href="' ,$modSettings['fmenu_url7'], '">' ,$modSettings['fmenu_title7'], '</div>
          </td>
          <td>';
 !empty($modSettings['fmenu_title8']) && !empty($modSettings['fmenu_url8']);
echo'
            <div align="center"><a href="' ,$modSettings['fmenu_url8'], '">' ,$modSettings['fmenu_title8'], '</div>
          </td>
        </tr>
        <tr>
          <td>';
 !empty($modSettings['fmenu_title9']) && !empty($modSettings['fmenu_url9']);
echo'
            <div align="center"><a href="' ,$modSettings['fmenu_url9'], '">' ,$modSettings['fmenu_title9'], '</div>
          </td>
          <td>';
 !empty($modSettings['fmenu_title10']) && !empty($modSettings['fmenu_url10']);
echo'
            <div align="center"><a href="' ,$modSettings['fmenu_url10'], '">' ,$modSettings['fmenu_title10'], '</div>
          </td>
          <td>';
 !empty($modSettings['fmenu_title11']) && !empty($modSettings['fmenu_url11']);
echo'
            <div align="center"><a href="' ,$modSettings['fmenu_url11'], '">' ,$modSettings['fmenu_title11'], '</div>
          </td>
          <td>';
 !empty($modSettings['fmenu_title12']) && !empty($modSettings['fmenu_url12']);
echo'
            <div align="center"><a href="' ,$modSettings['fmenu_url12'], '">' ,$modSettings['fmenu_title12'], '</div>
          </td>
        </tr>
        <tr>
          <td>';
 !empty($modSettings['fmenu_title13']) && !empty($modSettings['fmenu_url13']);
echo'
            <div align="center"><a href="' ,$modSettings['fmenu_url13'], '">' ,$modSettings['fmenu_title13'], '</div>
          </td>
          <td>';
 !empty($modSettings['fmenu_title14']) && !empty($modSettings['fmenu_url14']);
echo'
            <div align="center"><a href="' ,$modSettings['fmenu_url14'], '">' ,$modSettings['fmenu_title14'], '</div>
          </td>
          <td>';
 !empty($modSettings['fmenu_title15']) && !empty($modSettings['fmenu_url15']);
echo'
            <div align="center"><a href="' ,$modSettings['fmenu_url15'], '">' ,$modSettings['fmenu_title15'], '</div>
          </td>
          <td>';
 !empty($modSettings['fmenu_title16']) && !empty($modSettings['fmenu_url16']);
echo'
            <div align="center"><a href="' ,$modSettings['fmenu_url16'], '">' ,$modSettings['fmenu_title16'], '</div>
          </td>
        </tr>
        <tr>
          <td>';
 !empty($modSettings['fmenu_title17']) && !empty($modSettings['fmenu_url17']);
echo'
            <div align="center"><a href="' ,$modSettings['fmenu_url17'], '">' ,$modSettings['fmenu_title17'], '</div>
          </td>
          <td>';
 !empty($modSettings['fmenu_title18']) && !empty($modSettings['fmenu_url18']);
echo'
            <div align="center"><a href="' ,$modSettings['fmenu_url18'], '">' ,$modSettings['fmenu_title18'], '</div>
          <td>';
 !empty($modSettings['fmenu_title19']) && !empty($modSettings['fmenu_url19']);
echo'
            <div align="center"><a href="' ,$modSettings['fmenu_url19'], '">' ,$modSettings['fmenu_title19'], '</div>
          </td>
          <td>';
 !empty($modSettings['fmenu_title20']) && !empty($modSettings['fmenu_url20']);
echo'
            <div align="center"><a href="' ,$modSettings['fmenu_url20'], '">' ,$modSettings['fmenu_title20'], '</div>
          </td>
        </tr>
      </tbody>
    </table>
  </div>
      </div>
<span class="lowerframe"><span></span></span>';
}
//End of Footer Menu v.1

and added a text string to modifications_english.php :

Find:

?>

Add Before:

$txt['quick_links'] = 'Quick Links';
1

Ha!  It went over my head. lol

I dont remember why i used the boardindex.    I think at the time i was testing it here instead of my test site.


Very cool man ;)


Hey! I see youre also using the slider. ;)
2



Hey! I see youre also using the slider. ;)

Yep.....It was too cool to pass up......
3

Updated.
2.) Added 5th column | March 2011
3.) Added headings | March 2011
4.) Removed centered links per request | March 2011
4

Mod updated. 

It now has colored headings to match the boards and also added title tags.

Uninstall old mod, delete and upload new mod.

Now with rc2 ,rc3, rc4 support. 

See the pic attached.
5

Hi Blue Devil

Can you advise what i have to edit for inferno theme to get this mod to work using 2.0rc3

look really good the mod
6

Footer Menu v.1 width problem


http://custom.simplemachines.org/mods/index.php?mod=2966

SMF version: SMF2.0
TP version: TP 1.0RC2
Default Forum Language: Hungarian
Theme name and version: Fire Rock (convert:Tinyportal-eu)
Links url

Hello everyone! I installed the manner and that problem of mine that the menu too stretches on the scheme a little , where I would be able to set the width of the menu ?
Thanks.....

7

Try this and see if it works...

Find:

//Footer Menu v.1 by: bluedevilcustoms.com
       if (!empty($modSettings['fmenu_enabled']))
{
echo'
<br />
   <span class="clear upperframe"><span></span></span>
<div class="roundframe"><div class="innerframe">
    <table border="0" cellspacing="2" cellpadding="2" width="100%">

and replace 100% for 90%. Then clear the cache.
8

We rehearsed it already unfortunately and is out of order, there is an other solution?
9

Updated for SMF 2.0.1  ;)
10

Nice mod.  Can a textbox be used instead of one of the link columns ?
11

Nice mod.  Can a textbox be used instead of one of the link columns ?

I think so... i dont remember if the text is good for 50 characters or less. Try it. If any, use
 
<br />
.
12

I think so... i dont remember if the text is good for 50 characters or less. Try it. If any, use
 
<br />
.

Thanks.  I"ll try it and let you know.
13

Updated to SMF 2.0.3  ;)
14



Connect with us:


Improve SMF

If you wish to contribute to the development of SMF you can contribute to the coding discussions taking place on Github. You are also welcome to suggest features which you would like to see added to the software in the Feature Requests board.

  Receive our monthly newsletter right in your inbox.
Commitment issues? Unsubscribe at any time.


Get 100% complete access to our entire collection and find out why SMF owners prefer our themes





Latest Discussions

Join the conversation