SMF Shop
SMFShop => Coding => Topic started by: zombozo3eyes on February 15, 2008, 07:28:05 am
-
I know how to make the whole code for all mods except for the shop
The codes usually look like this on my theme......
// Show the [arcade] button.
echo '
<li', $current_action == 'arcade' ? ' id="active"' : '', '><a href="', $scripturl, '?action=arcade">', $txt['arcade'], '</a></li>';
So i know how to edit it all but...
// Show the [shop] button.
echo '
<li', $current_action == 'shop' ? ' id="active"' : '', '><a href="', $scripturl, '?action=shop">', $txt['?!?!?!?!'], '</a></li>';
I dont know what the $txt[] should be.....can u tell me daniel?
-
I was kind a noob when I made the shop, I didn't add a text string in the normal files for it. So just do something like:
echo '
<li', $current_action == 'shop' ? ' id="active"' : '', '><a href="', $scripturl, '?action=shop">Shop</a></li>';
-
Thanks man
-zombozo-