Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4257
Latest: Alex998.
New This Month: 1
New This Week: 0
New Today: 0
Stats
Total Posts: 43295
Total Topics: 7523
Most Online Today: 230
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 209
Total: 209

Author Topic: Gallery lite button missing  (Read 4968 times)

0 Members and 1 Guest are viewing this topic.

Offline newguyatthis

  • Member
  • *
  • Posts: 10
    • View Profile
Gallery lite button missing
« on: April 28, 2008, 02:33:44 pm »
I finally got gallery lite working after three days, but how do i get the button link to appear with my theme.  i am currently using the Dilber Multicolor Theme.

Thanks


Offline mashby

  • Jr. Member
  • **
  • Posts: 81
    • View Profile
    • ChopPix.com
Re: Gallery lite button missing
« Reply #1 on: April 28, 2008, 03:31:37 pm »
Edit the index.template.php file for the Dilber theme. About halfway down the code, you'll see some references to buttons, i.e., //Show the home button. Insert this code in the spot where you want the Gallery link to appear.
Code: [Select]
// Show the [help] button.
echo'
<td align="center" class="menubg' , $current_action == 'gallery' ? '2' : '' , '">
<a href="', $scripturl, '?action=gallery">' , 'Gallery' , '</a>
</td>';

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16452
    • View Profile
Re: Gallery lite button missing
« Reply #2 on: April 28, 2008, 07:01:53 pm »
Code depends on each theme. Each theme is a little different.

What I do for custom themes is copy and existing button and modify the code to change it to a gallery button.
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
6153 Views
Last post March 27, 2008, 09:29:38 am
by Dave123
3 Replies
7488 Views
Last post April 21, 2008, 10:17:18 pm
by SMFHacks
5 Replies
8137 Views
Last post February 02, 2011, 01:05:44 pm
by SMFHacks
3 Replies
3340 Views
Last post November 09, 2013, 05:08:46 pm
by SMFHacks
2 Replies
4675 Views
Last post August 12, 2016, 03:14:37 pm
by paula

+- Recent Topics

Please Help! by SMFHacks
April 17, 2024, 08:04:55 am

Rate own images by fvlog19
April 11, 2024, 10:56:53 am

Tidy Child Boards on 2.1.4 by SMFHacks
April 04, 2024, 03:54:12 pm

Problems SMF 2.0.19 > 2.1.4 SMF Gallery Pro - Recents Images to overall header by Michel68
March 30, 2024, 12:41:08 pm

Can't DROP 'id_member'; check that column/key exists Datei: by SMFHacks
March 30, 2024, 11:58:20 am

No thumbnails on new uploads by Tonyvic
March 29, 2024, 06:26:18 am

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

Powered by EzPortal