Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 4255
Latest: andreios
New This Month: 3
New This Week: 1
New Today: 0
Stats
Total Posts: 43259
Total Topics: 7518
Most Online Today: 201
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 178
Total: 178

Author Topic: button question - probably an easy one  (Read 2898 times)

0 Members and 1 Guest are viewing this topic.

Offline preed

  • Member
  • *
  • Posts: 1
    • View Profile
button question - probably an easy one
« 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 »

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: button question - probably an easy one
« 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.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

 

Related Topics

  Subject / Started by Replies Last post
4 Replies
5220 Views
Last post February 25, 2007, 07:26:54 pm
by SMFHacks
1 Replies
7225 Views
Last post January 26, 2007, 09:45:02 am
by SMFHacks
4 Replies
7172 Views
Last post July 17, 2007, 06:52:15 pm
by SMFHacks
2 Replies
3052 Views
Last post December 26, 2007, 10:51:17 am
by cortex
6 Replies
5146 Views
Last post January 21, 2013, 07:39:29 pm
by SMFHacks

+- Recent Topics

No thumbnails on new uploads by SMFHacks
March 27, 2024, 02:10:41 pm

Display the Contact Page for guests by SMFHacks
March 27, 2024, 10:55:43 am

is it possible to add support for odysee.com by fvlog19
March 21, 2024, 08:47:51 am

Request for admin notification by davejo
March 10, 2024, 01:31:59 am

I need help with torrent upload by Ineedsmfhelp
March 09, 2024, 10:01:13 pm

an idea for new mod (( content type with different display )) by SMFHacks
February 27, 2024, 01:36:27 pm

[Mod] RSS Feed Poster by SMFHacks
February 27, 2024, 11:57:18 am

find duplicate pictures by fvlog19
February 14, 2024, 02:22:40 pm

Error uploading video. by SMFHacks
February 08, 2024, 02:04:16 pm

Gallery icon as last added image by fvlog19
February 01, 2024, 01:04:56 pm

Powered by EzPortal