Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 12404
Latest: azaratir
New This Month: 10
New This Week: 0
New Today: 0
Stats
Total Posts: 39925
Total Topics: 7028
Most Online Today: 30
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 24
Total: 24

Author Topic: SMF Gallery Lite button on menu  (Read 6135 times)

0 Members and 1 Guest are viewing this topic.

Offline xfinity

  • Newbie
  • *
  • Posts: 3
    • View Profile
SMF Gallery Lite button on menu
« on: January 28, 2011, 04:52:25 pm »
This is strange. I had Gallery link it working once and then not sure why it stopped working now. I am using SMF 1.1.12. Using theme called SilentWave_1111.

My Gallery link is http://hmoobforums.net/index.php?action=gallery

I put these in my index.template.php file but not seeing Gallery on the Menu

// Show the [gallery] button.
         echo '<li', $current_action == 'gallery' ? ' class="chosen"' : '', '><a href="', $scripturl, '?action=gallery"><b>' , 'Gallery' , '</b></a></li>';

Permission are good too!

Any help?
« Last Edit: January 31, 2011, 06:25:42 pm by xfinity »

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 14969
    • View Profile
Re: SMG Gallery Lite button on menu
« Reply #1 on: January 28, 2011, 05:06:51 pm »
You put in your index.template.php of the theme that your using. Cause that should be it.
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/

Offline xfinity

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: SMG Gallery Lite button on menu
« Reply #2 on: January 28, 2011, 05:09:17 pm »
You put in your index.template.php of the theme that your using. Cause that should be it.

Thanks. Yes, I did put that in there and it was working fine up until today. I don't remember doing anything to it. Permission hasn't changed at all. The codes are still in the index.template.php in the theme I am using. Weird.

Not sure what else could have caused it not/ no longer showing up.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 14969
    • View Profile
Re: SMG Gallery Lite button on menu
« Reply #3 on: January 28, 2011, 05:18:58 pm »
Yeah that should be it you don't have any language strings nor using permissions in the code that you posted.
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/

Offline xfinity

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: SMG Gallery Lite button on menu
« Reply #4 on: January 31, 2011, 06:02:48 pm »
Hi,

I finally got it to work but it doesn't look right. I'm a total newbie so please tell me what I missed.


Please see image attached here. Thanks for your help

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 14969
    • View Profile
Re: SMF Gallery Lite button on menu
« Reply #5 on: February 02, 2011, 01:05:44 pm »
Attach your index.template.php
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
5957 Views
Last post November 14, 2006, 09:11:29 pm
by yosemite
4 Replies
5524 Views
Last post March 27, 2008, 09:29:38 am
by Dave123
4 Replies
4831 Views
Last post February 25, 2007, 06:22:03 am
by MinasC
2 Replies
3898 Views
Last post April 28, 2008, 07:01:53 pm
by SMFHacks
7 Replies
5985 Views
Last post November 15, 2016, 12:09:48 pm
by SMFHacks

+- Recent Topics

Update detect mobile mode PHP5 to PHP7 by Rock Lee
November 16, 2019, 07:18:13 pm

PHP error by davejo
November 12, 2019, 12:09:47 pm

Message Editor Pro Issues by SMFHacks
November 06, 2019, 09:58:33 pm

most popular categories doesnt work by fussilet
November 02, 2019, 02:51:42 pm

Change colors of Halloween theme by SMFHacks
October 24, 2019, 11:44:59 am

prettyurls - TroubleShooting.wiki by Rock Lee
October 10, 2019, 11:37:09 am

Some issues with adding and editing a listing by ajac63
October 07, 2019, 04:16:40 am

Problem update 1.1.21 to 2.0.15 by Rock Lee
October 06, 2019, 06:09:16 pm

[Mod]SMF 2.0.x PHP 7.2 Support by sah62
October 04, 2019, 01:46:00 pm

Ideas by shuban
October 03, 2019, 10:19:06 pm

Powered by EzPortal