Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Mac OSX Theme  (Read 3405 times)

0 Members and 1 Guest are viewing this topic.

callahan

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Mac OSX Theme
« on: May 30, 2005, 08:16:40 pm »

I'm new to pretty much all of this. I'm trying to set up my Mac OSX Theme to look like the one here:

http://www.shuttertalk.com/gallery/index.php?cat=15

See how the @ has been removed and the FAQ/Logon links are sat in the middle? Exactly which file do I need to edit and what exactly would I put in there to make it display this way?

Thanks for your help.
Logged

sdl

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Mac OSX Theme
« Reply #1 on: May 31, 2005, 01:40:21 am »

Funny that you posted this. I put this theme in about a week ago. I edited the @ to read "Forum", and made it link back to my Simple Machines Forum (which is bridged to Coppermine). The link still has the mouseover function for getting to the admin menu, so very useful.

(http://orderjet.com/macosx.gif)
I also made some changes to the graphics to compliment the SMF theme I'm using.

Now ask me what I edited to change all of this? I CAN'T REMEMBER!! I want to do another modification, but for the life of me, I can't remember what I did! I transferred every changed file I could think of, so that I could do a thorough search. Not one of my files seems to have the word "Forum" in it. (I remember searching for the term "@" and finding it...somewhere).

If you figure out this mystery please let me know (and vice versa).  Also, I never noticed when I downloaded the theme that it was for version 1.1 - now I'm wondering what the difference is - it worked just fine for me, and I'm using version 1.3.3

Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: Mac OSX Theme
« Reply #2 on: May 31, 2005, 01:43:06 am »

The place to look is theme.php, near the top.
Logged

sdl

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Mac OSX Theme
« Reply #3 on: May 31, 2005, 01:50:30 am »

The place to look is theme.php, near the top.

Got it, thank you. How simple, I can't believe that eluded me.

themes/mac_ox_x/theme.php

The '@' reference is just below:
Code: [Select]
$template_main_menu2
...which will read:
Code: [Select]
<a href="javascript:;" onMouseOver="MM_showHideLayers('Menu1','','show')">@</a>
I changed the href reference to read:
Code: [Select]
<a href="http://mydomainforum.com" onMouseOver="MM_showHideLayers('Menu1','','show')">Forum</a>
...which gave me a link back to the forum!

Good luck! (and thank you, Tranz)
            

Logged

sdl

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Mac OSX Theme
« Reply #4 on: May 31, 2005, 04:43:02 am »

I'm new to pretty much all of this. I'm trying to set up my Mac OSX Theme to look like the one here:

http://www.shuttertalk.com/gallery/index.php?cat=15

See how the @ has been removed and the FAQ/Logon links are sat in the middle? Exactly which file do I need to edit and what exactly would I put in there to make it display this way?

Thanks for your help.



Alright, now that I have my bearings - you don't want to remove the '@' portion - edit it, maybe, but not remove, since it's what displays the menu that allows you to switch between admin and user modes.  

The menu tabs are done in three parts - the right and left graphics, and the middle portion that contains the actual link text. So to ADD a menu item, here's the code I inserted to create a link tab to the Upload function:

Code: [Select]
<td><img src="themes/mac_ox_x/images/menu_button_bg_right.gif" border="0" alt="" /><br /></td>
<td><img src="themes/mac_ox_x/images/menu_button_bg_left.gif" border="0" alt="" /><br /></td>
<td background="themes/mac_ox_x/images/menu_button_bg_middle.gif" valign="top">
<a href="upload.php">Upload</a>
</td>
Which gave me the new 'Upload' heading, as seen here:
(http://orderjet.com/macosadd.gif)

Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 19 queries.