Welcome, Guest. Please login or register.

ShoutBox!

 

Skhilled

2024-08-09, 18:19:29
Awww! Poor thing! LOL
 

Ken

2024-08-09, 09:20:52
 

Skhilled

2024-07-06, 10:33:18
 :D
 

Ken

2024-07-06, 06:40:47
Happy Saturday after the 4th of July!
 :fireworks:
 

Skhilled

2024-07-04, 20:27:02
Happy Day Off From Work!  :D
 

Ken

2024-06-25, 06:23:12
84... who knew?  laughing7
...2013 was my *magic* year
 

Skhilled

2024-06-14, 22:09:12
I hope so! LOL
 

Ken

2024-06-14, 21:41:30
My B-Day is forthcoming and maybe it will be far enough along so that I can be a regular Dancing Fool for that day!!! :banana: :2funny:
 

Ken

2024-06-14, 21:38:38
Happy Friday everyone! I'm  SOOO glad to see Friday and not just because it's the weekend, but because it marks one more day in the recovery of my foot!  laughing7

Scrubmeister

2024-04-19, 10:32:40
Good to see the site back faster than ever. :)

Recent Topics

TP Articles


Search in titles
Search in article texts

Author Topic: Arcade button  (Read 5057 times)

0 Members and 10 Guests are viewing this topic.

Offline Lesmond (OP)

Arcade button
« on: August 31, 2009, 09:43:37 AM »
For Pegasus theme! I made one and added it to the menu, but it shows up in the wrong place in the menu, but where the button supposed to show it doesnt!

I dont know if you noticed the menu is strange for this theme, so it was a bit hard to add the arcade button

this it what I used for the menu code
Code: [Select]
// Arcade button
$context['menubox']['arcade']=array(
'title' => $txt[arcade],
'link' => $scripturl.'?action=arcade',
'chosen' => 'arcade',
'memberonly' => false,
'guestonly' => false,
'permission' => '',
);
      

and here is the menu has it looks on tp test site http://www.tinyportal.co.uk/index.php?theme=44
   

This is the actual img of the menu before any alteration


Offline Ken

  • Vietnam Era Veteran
  • Administrator
  • *
  • Posts: 11917
  • Gender: Male
  • View Gallery
Re: Arcade button
« Reply #1 on: August 31, 2009, 10:19:50 AM »
I wanted to add buttons for the Arcade & Gallery but the buttons that come with the theme take up lots of space so I didn't think that extra's would work very well and that the row of buttons would break out if more were added.
"Not all who wander are lost."-Tolkien
Yesterday When I was Young.

Offline Lesmond (OP)

Re: Arcade button
« Reply #2 on: August 31, 2009, 10:27:12 AM »
I wanted to add buttons for the Arcade & Gallery but the buttons that come with the theme take up lots of space so I didn't think that extra's would work very well and that the row of buttons would break out if more were added.
this is what the menu img looks like after I added the button

Offline Lesmond (OP)

Re: Arcade button
« Reply #3 on: August 31, 2009, 10:37:09 AM »
Think I will make a post in the team board, see what bloc says

Offline Ken

  • Vietnam Era Veteran
  • Administrator
  • *
  • Posts: 11917
  • Gender: Male
  • View Gallery
Re: Arcade button
« Reply #4 on: August 31, 2009, 10:48:05 AM »
Think I will make a post in the team board, see what bloc says

I was just thinking about posting a question about the buttons break out under your name and cause the forum name (Our FamilyForum) to wrap:
"Not all who wander are lost."-Tolkien
Yesterday When I was Young.

Offline Lesmond (OP)

Re: Arcade button
« Reply #5 on: August 31, 2009, 01:20:35 PM »
Almost got it, just trying to get the text to show under the icon http://www.tinyportal.co.uk/index.php?action=forum;theme=44

Offline Ken

  • Vietnam Era Veteran
  • Administrator
  • *
  • Posts: 11917
  • Gender: Male
  • View Gallery
Re: Arcade button
« Reply #6 on: August 31, 2009, 02:27:17 PM »
You're getting closer!  riteon
"Not all who wander are lost."-Tolkien
Yesterday When I was Young.

Offline Lesmond (OP)

Re: Arcade button
« Reply #7 on: August 31, 2009, 03:15:32 PM »
Got it, with some help from Ichbin only took me 5 hrs lol

Offline Lesmond (OP)

Re: Arcade button
« Reply #8 on: August 31, 2009, 04:05:43 PM »
heres the img and style.css if you want it, this is just for the arcade though..

I had to zip the style.css, there is no option for .css attachments  :wink2:

and the code to add to index.template.php it must be added right after the help button code, around line 361

Code: [Select]
// Arcade button
$context['menubox']['arcade']=array(
'title' => 'Arcade',
'link' => $scripturl.'?action=arcade',
'chosen' => 'arcade',
'memberonly' => false,
'guestonly' => false,
'permission' => '',
);
         

I know I dont have to tell you, dont forget to backup :innocent:

Offline Ken

  • Vietnam Era Veteran
  • Administrator
  • *
  • Posts: 11917
  • Gender: Male
  • View Gallery
Re: Arcade button
« Reply #9 on: August 31, 2009, 06:01:33 PM »
HaHaHa... yeah, I know. :)

Thanks for the codes and images, I'll do this soon.
Gots to find a nice image for the gallery too.
"Not all who wander are lost."-Tolkien
Yesterday When I was Young.

Offline Lesmond (OP)

Re: Arcade button
« Reply #10 on: August 31, 2009, 06:23:48 PM »
heres one I made, sort of different
looks like this in the menu..

Offline Ken

  • Vietnam Era Veteran
  • Administrator
  • *
  • Posts: 11917
  • Gender: Male
  • View Gallery
Re: Arcade button
« Reply #11 on: August 31, 2009, 07:56:47 PM »
That might work.  :bigthumb:

I'll give it a go tomorrow.
"Not all who wander are lost."-Tolkien
Yesterday When I was Young.

Offline Lesmond (OP)

Re: Arcade button
« Reply #12 on: September 01, 2009, 06:51:58 AM »
heres the style.css and img with the gallery (will have to be renamed comp.jpg)

Code: [Select]
// Gallery button
$context['menubox']['gallery']=array(
'title' => 'Gallery',
'link' => $scripturl.'?action=gallery',
'chosen' => 'gallery',
'memberonly' => false,
'guestonly' => false,
'permission' => '',
);
      
« Last Edit: September 01, 2009, 07:02:31 AM by Les »