1
Coding / 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?
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?