forum.coppermine-gallery.net
Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: mouse100 on December 15, 2008, 10:17:42 am
-
In my gallery I applied a theme where the header isn't clickable so I'd apply a link to header so everytime I click on it i'll return to homepage (index.php)..
Is there a way to do this?
-
Of course it is possible but where to do it depends on the theme you are using. It will either be in your theme.html file or your style.css.
Post a link to your gallery.
-
http://www.wiicustomcovers.com
-
Upgrade first. You are running <!--Coppermine Photo Gallery 1.4.17 (stable)-->.
-
Upgrade first. You are running <!--Coppermine Photo Gallery 1.4.17 (stable)-->.
I upgraded it! Thanks ;)
There isn't a solution for my problem? :(
-
Of course it is possible but where to do it depends on the theme you are using. It will either be in your theme.html file or your style.css.
have a look into your template.htm file
-
have a look into your template.htm file
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html dir="{LANG_DIR}">
<head>
<link rel="stylesheet" href="themes/avalanche/lightbox/css/lightbox.css" type="text/css" media="screen" />
<script type="text/javascript" src="themes/avalanche/lightbox/js/prototype.js"></script>
<script type="text/javascript" src="themes/avalanche/lightbox/js/scriptaculous.js?load=effects"></script>
<script type="text/javascript" src="themes/avalanche/lightbox/js/lightbox.js"></script>
<meta http-equiv="Content-Type" content="text/html; charset={CHARSET}" />
<meta http-equiv="Pragma" content="no-cache" />
<title>{TITLE}</title>
{META}
<link rel="stylesheet" href="themes/avalanche/style.css" type="text/css" />
<script type="text/javascript" src="scripts.js"></script>
</head><body>
<a href="index.php">{CUSTOM_HEADER}</a>
<table class="bodyline" cellspacing="0" cellpadding="0" border="0" align="center">
<tr>
<td class="back_1_1"> </td>
<td class="back_1_2"> </td>
<td colspan="3" class="back_1_3"> </td>
<td class="back_1_6"> </td>
<td class="back_1_7"> </td>
</tr>
</table>
<table class="bodyline" cellspacing="0" cellpadding="0" border="0" align="center">
<tr>
<td class="back_2_1"> </td>
<td class="back_2_2"><div class="maintitle"> </div></td>
<td class="back_2_4"> </td>
<td class="back_2_5" align="left" valign="top"><div class="maintitle"> </div>
<div class="nav"> </div></td>
<td class="back_2_6"> </td>
<td class="back_2_7"> </td>
</tr>
</table>
<table class="bodyline" cellspacing="0" cellpadding="0" border="0" align="center">
<tr>
<td class="back_3_1"> </td>
<td class="back_3_2" colspan="5"><table cellpadding="0" cellspacing="0" width="100%">
<tr>
<td class="tab_space_1"></td>
<td align="center">{SUB_MENU}</td>
</tr>
</table>
<table cellpadding="0" cellspacing="0" width="100%">
<tr>
<td class="link_back_1"> </td>
<td class="link_back_2"> </td>
<td class="link_back_2" align="center">{SYS_MENU}</td>
<td class="link_back_3"> </td>
</tr>
</table>
<table cellpadding="0" cellspacing="0" width="100%">
<tr>
<td><span style="font-size: 4px;"> </span></td>
<td class="link_back_5"><span style="font-size: 4px;"> </span></td>
</tr>
</table></td>
<td class="back_3_7"> </td>
</tr>
</table>
<table class="bodyline" cellspacing="0" cellpadding="0" border="0" align="center">
<tr>
<td class="back_4_1"></td>
<td class="back_4_2" colspan="5" valign="top"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td align="center" valign="top"><br />
</td>
</tr>
<td align="center" valign="top"> {THEME_SELECT_LIST} {LANGUAGE_SELECT_LIST} </td>
<tr>
<td align="left" valign="top"> {ADMIN_MENU}
<center>
<br>
<br>
</center>
{GALLERY} </td>
</tr>
<tr>
<td align="left" valign="top"> </td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="center" valign="top">
<br>
<br>
</td>
</tr>
<tr>
<td align="left" valign="top"> </td>
</tr>
<tr>
</tr>
</table></td>
<td class="back_4_7"></td>
</tr>
</table>
<table class="bodyline" cellspacing="0" cellpadding="0" border="0" align="center">
<tr>
<td class="back_5_1"></td>
<td class="back_5_2"></td>
<td class="back_5_3"> </td>
<td class="back_5_4"></td>
<td class="back_5_5"><div align="center"><span class=""><a href="http://www.whatisreal.com" target="_blank" class=""></a></span> <br />
<span class=""><a href="http://damysterious.xs4all.nl/" target="_blank" class=""></a></span></div></td>
<td class="back_5_6"></td>
<td class="back_5_7"></td>
</tr>
<tr>
<td class="back_6_1"></td>
<td class="back_6_2"></td>
<td class="back_6_3" colspan="3"> </td>
<td class="back_6_6"></td>
<td class="back_6_7"></td>
</tr>
<tr>
<td> </td>
</tr>
</table>
{CUSTOM_FOOTER}{VANITY}
</body>
</html>
-
This line here is where your logo is called.
<td class="back_2_2"><div class="maintitle"> </div></td>
Just make the table a link to where you want it.
-
This line here is where your logo is called.
<td class="back_2_2"><div class="maintitle"> </div></td>
Just make the table a link to where you want it.
And so what I have to do? I tried:
<A HREF=www.wiicustomcovers.com><td class="back_2_2"><div class="maintitle"> </div></td></a>
but it doesn't work :(
-
change this
<td class="back_2_2"><div class="maintitle"> </div></td>
to this:
<td class="back_2_2"><a href="index.php"><div class="maintitle" style="height:80px;"> </div><a/></td>
-
change this
<td class="back_2_2"><div class="maintitle"> </div></td>
to this:
<td class="back_2_2"><a href="index.php"><div class="maintitle" style="height:80px;"> </div><a/></td>
It works!!!! Thanks!!! :D :D :D