Twitter SMFHacks Facebook SMFHacks SMFHacks.com
** Home Forum Index Hacks Products Login Register Search
Welcome, Guest. Please login or register.
May 23, 2013, 09:26:04 pm

Login with username, password and session length
Members
Total Members: 10769
Latest: CayoTTe
Stats
Total Posts: 32394
Total Topics: 5480
Online Today: 69
Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Users: 0
Guests: 32
Total: 32
+ 
|-+ 
| |-+ 
| | |-+ 
| | | |-+ 
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: button question - probably an easy one  (Read 1439 times)
preed
Inline PM Customer
*****
Offline Offline

Posts: 1


View Profile
« on: April 15, 2009, 12:50:13 pm »

i got the store loaded and even added a few products. im using a helios theme so the button didnt load. i did find the script in my default index.template.php and copied it to the index.template.php in my helios theme. it kinda worked. now it says store but its not a button. i created the new button gif but cant figure out how to change the script to use it. right now im showing...


// the [SMF Store] button
   if ($context['allow_smfstore_view'])
      echo ($current_action == 'store' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
            <td valign="top" class="maintab_' , $current_action == 'store' ? 'active_back' : 'back' , '">
               <a href="', $scripturl, '?action=store">' , $txt['smfstore_menu']  , '</a>
            </td>' , $current_action == 'store' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';


how do i change it to use my new button instead of the word "Store"?
« Last Edit: April 15, 2009, 12:53:46 pm by preed » Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 11003


View Profile
« Reply #1 on: April 15, 2009, 06:49:29 pm »

Please attach your index.template.php for custom themes you would need to place the button file in your themes/default/images/english/ folder I belive.
Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  

Recent
[Today at 08:29:56 pm]

[Today at 04:50:21 am]

[May 22, 2013, 10:03:30 pm]

[May 22, 2013, 03:00:09 pm]

[May 22, 2013, 03:03:31 am]

[May 21, 2013, 03:27:16 pm]

[May 21, 2013, 02:11:10 pm]

[May 21, 2013, 01:18:58 pm]

[May 21, 2013, 12:22:02 am]

[May 21, 2013, 12:20:41 am]
Random Picture
Donate to SMFHacks.com
Help Support the SMFHacks.com mod making.
Powered by SMF 1.1.18 | SMF © 2013, Simple Machines
TinyPortal v0.9.7 © Bloc
SMF and SimpleMachines are registered trademarks of Simple Machines. SMFHacks.com is not affiliated with nor endorsed by Simple Machines.
Page created in 1.576 seconds with 21 queries.