SMFHacks.com
** Home Forum Index Hacks Products Login Register Search
Welcome, Guest. Please login or register.
May 24, 2012, 09:23:19 am

Login with username, password and session length
Members
Total Members: 10071
Latest: cdavidson012
Stats
Total Posts: 28687
Total Topics: 4977
Online Today: 59
Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Users: 0
Guests: 49
Total: 49
+ 
|-+ 
| |-+ 
| | |-+ 
| | | |-+ 
0 Members and 2 Guests are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: 2.0.5 lite  (Read 3458 times)
billy2
Newbie
*
Offline Offline

Posts: 20


View Profile
« on: May 28, 2009, 07:11:52 am »

Hi All,

Wondering if you can help please.

SMF2.0RC1-1
default theme
SMF Gallery lite 2.0.5

I only have one gallery and would like that to be visible - without selecting the gallery "title".
If you get my drift.

i.e When the "gallery" menu button is selected from my home page and the gallery page loads - the images are visible by default (one doesnt have to select the gallery "title" to load another page to see the images.

Is this possible??
Cheers
billy
« Last Edit: May 28, 2009, 08:00:25 am by billy2 » Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 9678


View Profile
« Reply #1 on: May 28, 2009, 08:52:46 pm »

For custom themes in smf 1.1.x an edit to the index.template.php needs to be done to show the gallery link. If the theme requires a button a gallery button image will need to be created.
Logged
billy2
Newbie
*
Offline Offline

Posts: 20


View Profile
« Reply #2 on: May 29, 2009, 03:29:44 am »

Hi,
I dont have a custom theme - I use the default SMF theme
I already have a button for Gallery - on my forum

basically I dont want a category-

Currently to view the gallery images I have to
select gallery button > select category link > and view images

I want to
select gallery button > view images

can this be done??
Cheers
Billy
« Last Edit: May 29, 2009, 03:40:13 am by billy2 » Logged
Matth41
Full Member
***
Offline Offline

Posts: 106


View Profile WWW
« Reply #3 on: May 29, 2009, 06:31:32 am »

Just edit the gallery link to go directly to the category instead of the Gallery home.
Logged

billy2
Newbie
*
Offline Offline

Posts: 20


View Profile
« Reply #4 on: May 29, 2009, 06:55:06 am »

Just edit the gallery link to go directly to the category instead of the Gallery home.

many thanks....

Bearing in mind I am running SMF2RC1-1 .............which file to edit pls?

i have tried virtually every file I can think of - it certainly isnt index.template.php

cheers
billy
« Last Edit: May 29, 2009, 09:39:11 am by billy2 » Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 9678


View Profile
« Reply #5 on: May 29, 2009, 08:10:59 pm »

In Sources/Subs.php
Find
Code:
'href' => $scripturl . '?action=gallery',
Logged
billy2
Newbie
*
Offline Offline

Posts: 20


View Profile
« Reply #6 on: May 30, 2009, 02:50:08 pm »

Many thanks
works fine
cheers
billy
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 0.229 seconds with 18 queries.