SMFHacks.com
SMFHacks
Community Suite
SMF Gallery Pro
SMF Store
SMF Classifieds
Newsletter Pro
Downloads System Pro
Ad Seller Pro
Hacks and Mods
Latest SMF Hacks
TopTen Hacks
Styles and Themes
Add a Hack
Manage Hacks
Earn Money from Your Forum with these tips
SMF Theme Generator
SMF Package Parser
Free SMF Hosting
HostRocket Webhosting for SMF
Site Showcase
Search Forums
Advanced search
User
Welcome,
Guest
. Please
login
or
register
.
May 24, 2012, 10:01:20 pm
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Stats
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: 46
Total: 46
SMFHacks.com
Forum
SMF Gallery Lite
SMF Gallery Lite
Gallery button has wrong link
0 Members and 2 Guests are viewing this topic.
« previous
next »
Pages:
[
1
]
Author
Topic: Gallery button has wrong link (Read 1006 times)
Mr.B
Newbie
Offline
Posts: 3
Gallery button has wrong link
«
on:
December 01, 2010, 11:19:46 pm »
I just recently installed SMF 1.1.12, and also installed Gallery lite 3.0.2. Evrything is up and running, but the gallery button links, by default, to the home page. If I add "smf/" between the ".com/" and the "index.php?action=gallery", the gallery opens up. Also I can go into the admin section of gallery, to make changes, using the same smf/ method. But I can't make any changes. Because when I click save, it defaults back to the home page, and doesn't save the changes. I assume that it is either a index.php problem, or a template problem. I'm just too newb to figure it out.
Thank you for your help.
Logged
Mr.B
Newbie
Offline
Posts: 3
Re: Gallery button has wrong link
«
Reply #1 on:
December 08, 2010, 09:44:25 pm »
Well it's been about a week now, and I still haven't figured it out. There's over 50 views, but no comments. I've moved files around, with no results. Maybe I should re-install?
Logged
SMFHacks
Administrator
Hero Member
Offline
Posts: 9678
Re: Gallery button has wrong link
«
Reply #2 on:
December 09, 2010, 12:27:58 am »
It should be in the index.template.php of your theme should be point to $scripturl . '?action=gallery'
Logged
Mr.B
Newbie
Offline
Posts: 3
Re: Gallery button has wrong link
«
Reply #3 on:
December 09, 2010, 01:19:28 am »
Like this? I changed it a period, it didn't help.
// the [SMF Gallery] button
if ($context['allow_smfgallery_view'])
echo ($current_action == 'gallery' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '"> </td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'gallery' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=gallery">' , $txt['smfgallery_menu'] , '</a>
</td>' , $current_action == 'gallery' ? '<td class="maintab_active_' . $last . '"> </td>' : '';
«
Last Edit: December 09, 2010, 01:21:02 am by Mr.B
»
Logged
SMFHacks
Administrator
Hero Member
Offline
Posts: 9678
Re: Gallery button has wrong link
«
Reply #4 on:
December 09, 2010, 08:57:56 am »
That's it and looks correct
Logged
Pages:
[
1
]
« previous
next »
Jump to:
Please select a destination:
-----------------------------
SMFHacks.com
-----------------------------
=> News
=> Site Discussion
===> Suggestions
===> Bugs
-----------------------------
SMF Gallery Pro
-----------------------------
=> Announcements
=> Presales
=> Support
===> Bugs
===> Feature Requests
-----------------------------
SMF Store
-----------------------------
=> Announcements
=> Presales
=> Support
===> Guides and Tips
===> Feature Requests
===> Bugs
-----------------------------
SMF Classifieds
-----------------------------
=> Announcements
=> Presales
=> Support
===> Bugs
===> Feature Requests
-----------------------------
Downloads System Pro
-----------------------------
=> Announcements
=> Presales
=> Support
===> Feature Requests
===> Bugs
-----------------------------
Ad Seller Pro
-----------------------------
=> Presales
=> Support
-----------------------------
Newsletter Pro
-----------------------------
=> Presales
=> Support
===> Feature Requests
-----------------------------
Social Login Pro
-----------------------------
=> Presales
-----------------------------
Badge Awards
-----------------------------
=> Presales
-----------------------------
Tweet Topics/FB Post System
-----------------------------
=> Presales
-----------------------------
SMF Gallery Lite
-----------------------------
=> SMF Gallery Lite
-----------------------------
Modifications/Themes
-----------------------------
=> General SMF Forum
=> Modifications Talk
===> Latest Mods
===> Modification Showcase
=> Theme Talk
===> Theme Showcase
===> Latest Themes
Recent
Feature Request: Ban indi...
by
ApplianceJunk
[
Today
at 08:02:50 am]
Custom Fields
by
davejo
[
Today
at 04:11:41 am]
Store IPN AMOUNT CHANGE
by
ApplianceJunk
[May 21, 2012, 08:54:11 am]
Transferring Db data from...
by
~ Phåråoh ~
[May 20, 2012, 11:06:52 am]
SMF vs PhpBB
by
channgam
[May 20, 2012, 05:58:11 am]
Any news?
by
SMFHacks
[May 19, 2012, 06:16:58 pm]
Social Login Pro domain c...
by
SMFHacks
[May 19, 2012, 05:42:37 pm]
licence information and q...
by
SMFHacks
[May 18, 2012, 03:08:38 pm]
no pictures after upgrade
by
SMFHacks
[May 17, 2012, 06:07:46 pm]
Viewers?
by
ApplianceJunk
[May 17, 2012, 02:22:07 pm]
Random Picture
Donate to SMFHacks.com
Help Support the SMFHacks.com mod making.
Loading...