TheCripZone SMF Themes Site

All Things Public => Theme Support => Topic started by: ZeroTime on Aug 07, 10, 03:35:47 PM

Title: Adding a galley
Post by: ZeroTime on Aug 07, 10, 03:35:47 PM
Hi
I am just setting up my forum and I have installed the intimidator11 theme. (Lovely).
I have also installed the simple gallery mod and can't get it to show up on the menu bar. All the admin features are there just no link to the gallery.
Can you please advise or is this a gallery mod issue.
I'm not very code savy.
Regards
Clive

P.S. I am using SMF 1.1.11
Title: Re: Adding a galley
Post by: Crip on Aug 07, 10, 04:39:59 PM
If you can show link to site & theme I can tell what's Up better?
Title: Re: Adding a galley
Post by: ZeroTime on Aug 07, 10, 06:20:48 PM
Hi
Here is the link http://www.sspoker.co.uk/forum/  (http://www.sspoker.co.uk/forum/)
Title: Re: Adding a galley
Post by: Crip on Aug 07, 10, 07:04:30 PM
Quote from: ZeroTime on Aug 07, 10, 06:20:48 PM
Hi
Here is the link http://www.sspoker.co.uk/forum/  (http://www.sspoker.co.uk/forum/)

Can you attach your smf 1.1> Default> Theme> "[index.template.php]" ..?
I can get the Gallery code there of you can ?
Title: Re: Adding a galley
Post by: Crip on Aug 07, 10, 07:43:06 PM
Try should work but backup theme 1st :)


This is in your index.template.php:
Add 'gallery',


   if (in_array($context['current_action'], array('search', 'admin', 'gallery', 'calendar', 'profile', 'mlist', 'register', 'login', 'help', 'pm')))


Tab / button Link:


// Show the [gallery] button.
   echo '<li><a' , $current_action=='gallery' ? ' class="current"' : '' , ' href="', $scripturl, '?action=gallery">GALLERY[/url]</li>';
Title: Re: Adding a galley
Post by: ZarPrime on Aug 08, 10, 03:17:37 AM
Quote from: ZeroTime on Aug 07, 10, 06:20:48 PM
Hi
Here is the link http://www.sspoker.co.uk/forum/  (http://www.sspoker.co.uk/forum/)

ZeroTime,

The link you posted goes to a Forum that is using SMF 2.0 RC3.  The instructions that Crip gave you above are for SMF 1.1.x and won't work with the version of SMF you are using.

ZarPrime
Title: Re: Adding a galley
Post by: Crip on Aug 08, 10, 06:39:31 AM
That same link i clicked did went to Intimidator 1.1 version?  .. they must`a upgraded be-twixed then and now ?
Title: Re: Adding a galley
Post by: ZarPrime on Aug 08, 10, 02:34:46 PM
Ah, yeah, I see.  That must have been it. ;)

ZarPrime