Author Topic: shop button?  (Read 1914 times)

Offline zombozo3eyes

shop button?
« 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?




Offline Daniel15

Re: shop button?
« Reply #1 on: February 15, 2008, 08:01:54 am »
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>';

Offline zombozo3eyes

Re: shop button?
« Reply #2 on: February 15, 2008, 08:07:17 am »
Thanks man

-zombozo-