News:

Keeping Crip's dream alive is our mission! :)

 

Recent Topics

Members
  • Total Members: 153
  • Latest: polsox
Stats
  • Total Posts: 10,782
  • Total Topics: 1,380
  • Online today: 190
  • Online ever: 879
  • (Jan 21, 20, 05:49:15 PM)
Users Online
Users: 0
Guests: 52
Total: 52

Adding a galley

Started by ZeroTime, Aug 07, 10, 03:35:47 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ZeroTime

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

Crip

If you can show link to site & theme I can tell what's Up better?
I have become comfortably numb!


No PM's for Support unless invited! 

I remember my mother's prayers and they have always followed me.
   - Abraham Lincoln -
TOTM Winner.


Crip

Quote from: ZeroTime on Aug 07, 10, 06:20:48 PM
Hi
Here is the link 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 ?
I have become comfortably numb!


No PM's for Support unless invited! 

I remember my mother's prayers and they have always followed me.
   - Abraham Lincoln -
TOTM Winner.

Crip

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>';
I have become comfortably numb!


No PM's for Support unless invited! 

I remember my mother's prayers and they have always followed me.
   - Abraham Lincoln -
TOTM Winner.

ZarPrime

Quote from: ZeroTime on Aug 07, 10, 06:20:48 PM
Hi
Here is the link 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

Crip

That same link i clicked did went to Intimidator 1.1 version?  .. they must`a upgraded be-twixed then and now ?
I have become comfortably numb!


No PM's for Support unless invited! 

I remember my mother's prayers and they have always followed me.
   - Abraham Lincoln -
TOTM Winner.

ZarPrime

Ah, yeah, I see.  That must have been it. ;)

ZarPrime