News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Help with a small code edit...

Started by teh elgee, February 19, 2013, 12:16:28 PM

Previous topic - Next topic

teh elgee

<ul>
         <li><a href="', empty($settings['link_top1_url']) ? '' : '' . $settings['link_top1_url'] . '', '">', empty($settings['link_top1']) ? $txt['link_top1'] : $settings['link_top1'], '</a></li>
         <li><a href="', empty($settings['link_top2_url']) ? '' : '' . $settings['link_top2_url'] . '', '">', empty($settings['link_top2']) ? $txt['link_top2'] : $settings['link_top2'], '</a></li>
         <li><a href="', empty($settings['link_top3_url']) ? '' : '' . $settings['link_top3_url'] . '', '">', empty($settings['link_top3']) ? $txt['link_top3'] : $settings['link_top3'], '</a></li>
         <li><a href="', empty($settings['link_top4_url']) ? '' : '' . $settings['link_top4_url'] . '', '">', empty($settings['link_top4']) ? $txt['link_top4'] : $settings['link_top4'], '</a></li>
         <li><a href="', empty($settings['link_top5_url']) ? '' : '' . $settings['link_top5_url'] . '', '">', empty($settings['link_top5']) ? $txt['link_top5'] : $settings['link_top5'], '</a></li>
      </ul>


This from the Bluebird theme, and it's a series of button links along a bar at the top of the screen. Since I am a complete and utter noob, could someone show me how to edit these lines to edit the text shown on the button and where to put the url it will send you to when you click it?

Arantor

Is there not an option in the theme's configuration page for these things?

All $settings things should be referencing things in the theme options page.
Holder of controversial views, all of which my own.


teh elgee


Advertisement: