forum.coppermine-gallery.net
Support => cpg1.3.x Support => Older/other versions => cpg1.3 Themes/Skins/Templates => Topic started by: YUKAHO89 on August 31, 2004, 03:45:55 pm
-
THx like this
-
edit themes/mac_ox_x/theme.php, find
<!-- BEGIN logout -->
<a href="{LOGOUT_TGT}">{LOGOUT_LNK}</a> |
<!-- END logout -->
EOT;
and replace with<!-- BEGIN logout -->
<a href="{LOGOUT_TGT}">{LOGOUT_LNK}</a> |
<!-- END logout -->
<a href="myfile.htm">my link text</a> |
EOT;
Find <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="{SEARCH_TGT}" onMouseOver="MM_showHideLayers('Menu1','','hide')">{SEARCH_LNK}</a>
</td>
<td><img src="themes/mac_ox_x/images/menu_button_bg_right.gif" border="0" alt="" /><br /></td>
and add after it <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="myfile.htm" onMouseOver="MM_showHideLayers('Menu1','','hide')">my link text</a>
</td>
<td><img src="themes/mac_ox_x/images/menu_button_bg_right.gif" border="0" alt="" /><br /></td>
In the future, please search before posting, as this has been asked before already.
Joachim
-
edit themes/mac_ox_x/theme.php, find<!-- BEGIN logout -->
<a href="{LOGOUT_TGT}">{LOGOUT_LNK}</a> |
<!-- END logout -->
EOT;
and replace with<!-- BEGIN logout -->
<a href="{LOGOUT_TGT}">{LOGOUT_LNK}</a> |
<!-- END logout -->
<a href="myfile.htm">my link text</a> |
EOT;
Find <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="{SEARCH_TGT}" onMouseOver="MM_showHideLayers('Menu1','','hide')">{SEARCH_LNK}</a>
</td>
<td><img src="themes/mac_ox_x/images/menu_button_bg_right.gif" border="0" alt="" /><br /></td>
and add after it <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="myfile.htm" onMouseOver="MM_showHideLayers('Menu1','','hide')">my link text</a>
</td>
<td><img src="themes/mac_ox_x/images/menu_button_bg_right.gif" border="0" alt="" /><br /></td>
In the future, please search before posting, as this has been asked before already.
Joachim
HELP!!!!!
I did exactly as above and now everything's gone blank!!!!!
-
I expect you did the editting incorrectly. Attach your theme.php to this thread, rename it first.
-
Sorry, but do I just copy and paste it here? Is that what you are asking?
-
rename a local copy from theme.php to theme.txt, reply to this thread, click on "additional options" at the bottom left when composing your message and attach your file to your reply.
-
I hope I did this right:
-
you didn't, there's no attachment that goes with your posting. If you're having issues with attaching a file, upload the theme.php renamed to txt or zipped and upload it to your server. Then post a link to the file so we can download it from there.
-
you didn't, there's no attachment that goes with your posting. If you're having issues with attaching a file, upload the theme.php renamed to txt or zipped and upload it to your server. Then post a link to the file so we can download it from there.
I am totally stupid when it comes to this stuff so here is the link to the file I attempted to attach.
http://womenmotorcyclistsunited.com/coppermine/themes/mac_ox_x/themes/mac_ox_x/macox
Is that OK? All I wanted to do was add a link so that people could get back to my homepage and now I am a big whiny baby :\'(
-
Can't I just re download the mac ox template somehow?
-
The idea is that you give us the version of the file that you modified so we can see what the problem is. Giving us a completely unmodified file is pointless.
-
The idea is that you give us the version of the file that you modified so we can see what the problem is. Giving us a completely unmodified file is pointless.
Can you walk me thru this so I can do it right? Just tell me what buttons I need to press. I can follow step by step instructions well enough.
-
I have somehow managed to restore the moc_ox_x back into my photogallery where it doesn't revert to classic. Now I am afraid to do anything to it. Please tell me again in concise steps how I can place a link back to my homepage on that particular template. I don't want to lose it again by doing something stupid.
-
edit themes/mac_ox_x/theme.php, find<!-- BEGIN logout -->
<a href="{LOGOUT_TGT}">{LOGOUT_LNK}</a> |
<!-- END logout -->
EOT;
and replace with<!-- BEGIN logout -->
<a href="{LOGOUT_TGT}">{LOGOUT_LNK}</a> |
<!-- END logout -->
<a href="myfile.htm">my link text</a> |
EOT;
Find <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="{SEARCH_TGT}" onMouseOver="MM_showHideLayers('Menu1','','hide')">{SEARCH_LNK}</a>
</td>
<td><img src="themes/mac_ox_x/images/menu_button_bg_right.gif" border="0" alt="" /><br /></td>
and add after it <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="myfile.htm" onMouseOver="MM_showHideLayers('Menu1','','hide')">my link text</a>
</td>
<td><img src="themes/mac_ox_x/images/menu_button_bg_right.gif" border="0" alt="" /><br /></td>
In the future, please search before posting, as this has been asked before already.
Joachim
Sorry, I am having great difficulty understanding this. But a question or 2 that might help me get this a little clearly.
Step 1. OK I found this code:
find<!-- BEGIN logout -->
<a href="{LOGOUT_TGT}">{LOGOUT_LNK}</a> |
<!-- END logout -->
EOT;
Step 2. Replace code with:
<!-- BEGIN logout -->
<a href="{LOGOUT_TGT}">{LOGOUT_LNK}</a> |
<!-- END logout -->
<a href="myfile.htm">my link text</a> |
EOT;
I just copied and pasted it....was that not what I do? Do I have to replace "myfile.htm" With a file of my own? Or do I leave it as is?
Step 3
Find second set of code. OK I did that too.
Step 4 Add after it.....I just copied and pasted that too. I have no clue if that is what I am to do.....or do I fill in or change something in this line under "myfile.htm":
<td background="themes/mac_ox_x/images/menu_button_bg_middle.gif" valign="top">
<a href="myfile.htm" onMouseOver="MM_showHideLayers('Menu1','','hide')">my link text</a>
</td>
For example do I write the line as such.
<td background="themes/mac_ox_x/images/menu_button_bg_middle.gif" valign="top">
<a href="return to website.htm" onMouseOver="MM_showHideLayers('Menu1','','hide')">my link text</a>
</td>
Or is it like this:
<td background="themes/mac_ox_x/images/menu_button_bg_middle.gif" valign="top">
<a href="myfile.htm" onMouseOver="MM_showHideLayers('Menu1','','hide')">return to website</a>
</td>
Sorry for all the code copying but I am trying to understand this.
P.S. Is there anywhere I can test this before I try it on my own gallery. I don't want to make a mistake again.
-
download the attached file, rename it from theme.php.txt to theme.php and replace the one you have inside your folder /coppermine/themes/mac_ox_x/ with the one I supplied. For the future, I recommend following instrctions more thoroughly and learning some HTML. Use a plain text editor to edit your files, notepad.exe is fine.
-
Gaugau,
THANK YOU!!!! so much. I really appreciate what you did. (((((BIG HUG)))))
And yes, I think I need to take some lessons of this code thing.
Thanks again. It works now. ;D
-
I've already done this by myself and it works perfectly. But I want my gallery to be available in several languages. So I guess I have to add some new variables in the language files and to use it instead of "<a href="myfile.htm">my link text</a>". Can someone tell me where I have to difine those variables?