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

Login with username, password and session length
Members
Total Members: 10071
Latest: cdavidson012
Stats
Total Posts: 28687
Total Topics: 4977
Online Today: 94
Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Users: 0
Guests: 50
Total: 50
+ 
|-+ 
| |-+ 
| | |-+ 
| | | |-+ 
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: SMF Gallery Lite button on menu  (Read 1702 times)
xfinity
Newbie
*
Offline Offline

Posts: 3


View Profile
« 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 » Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 9678


View Profile
« 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.
Logged
xfinity
Newbie
*
Offline Offline

Posts: 3


View Profile
« 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.
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 9678


View Profile
« 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.
Logged
xfinity
Newbie
*
Offline Offline

Posts: 3


View Profile
« 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


* 1-31-2011 7-00-52 PM.png (6.28 KB, 686x68 - viewed 119 times.)
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 9678


View Profile
« Reply #5 on: February 02, 2011, 01:05:44 pm »

Attach your index.template.php
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 4.756 seconds with 20 queries.