Themes/SoftMC Blue

From SMFShopWiki

Jump to: navigation, search

This page explains how to add a shop button to the menubar on the SoftMC Blue theme. Note that to completely integrate SMFShop with this theme, you'll also need to edit Display.template.php, so that the SMFShop information is displayed next to user's posts. Please see the Themes page for information on how to do this



In Themes/SoftMC Blue/index.template.php, find:

  1. // The [calendar]!
  2. if ($context['allow_calendar'])
  3. echo '
  4. <td align="center" valign="top"><img src="' . $settings['images_url'] . '/menu_devider.gif" width="31" height="28" alt="" /></td>
  5. <td class="mainNav"><a href="', $scripturl, '?action=calendar">' , $txt['calendar24'] , '</a></td>';

Add after:

  1. // SMFShop
  2. echo '
  3. <td align="center" valign="top"><img src="' . $settings['images_url'] . '/menu_devider.gif" width="31" height="28" alt="" /></td>
  4. <td class="mainNav"><a href="', $scripturl, '?action=shop">Shop</a></td>';
Personal tools