Mac OSX Theme Mac OSX Theme
 

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

Main Menu

Mac OSX Theme

Started by callahan, May 30, 2005, 08:16:40 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

callahan

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.

sdl

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.

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Forderjet.com%2Fmacosx.gif&hash=142c6b2efbc988baadb11cd57ed50de74540ab46)
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


Tranz

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

sdl

Quote from: TranzNDance on May 31, 2005, 01:43:06 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:
$template_main_menu2

...which will read:
<a href="javascript:;" onMouseOver="MM_showHideLayers('Menu1','','show')">@</a>

I changed the href reference to read:
<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)
            


sdl

Quote from: callahan 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.



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:

<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:
(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Forderjet.com%2Fmacosadd.gif&hash=0ec40c7a68e10c99897beb08ed6d80c64ae83991)