SMFHacks.com
** Home Forum Index Hacks Products Login Register Search
Welcome, Guest. Please login or register.
May 24, 2012, 08:29:36 am

Login with username, password and session length
Members
Total Members: 10071
Latest: cdavidson012
Stats
Total Posts: 28687
Total Topics: 4977
Online Today: 59
Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Users: 2
Guests: 61
Total: 63
+ 
|-+ 
| |-+ 
| | |-+ 
| | | |-+ 
0 Members and 2 Guests are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: button question - probably an easy one  (Read 1283 times)
preed
Newbie
*
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: 9678


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:02:50 am]

[Today at 04:11:41 am]

[May 21, 2012, 08:54:11 am]

[May 20, 2012, 11:06:52 am]

[May 20, 2012, 05:58:11 am]

[May 19, 2012, 06:16:58 pm]

[May 19, 2012, 05:42:37 pm]

[May 18, 2012, 03:08:38 pm]

[May 17, 2012, 06:07:46 pm]

[May 17, 2012, 02:22:07 pm]
Random Picture
Donate to SMFHacks.com
Help Support the SMFHacks.com mod making.
Powered by SMF 1.1.16 | SMF © 2006-2011, Simple Machines LLC
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 0.197 seconds with 18 queries.