[Solved]: Header linkable [Solved]: Header linkable
 

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

[Solved]: Header linkable

Started by mouse100, December 15, 2008, 10:17:42 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

mouse100

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?

phill104

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.
It is a mistake to think you can solve any major problems just with potatoes.


Hein Traag

Upgrade first. You are running <!--Coppermine Photo Gallery 1.4.17 (stable)-->.

mouse100

Quote from: Hein Traag on December 15, 2008, 01:40:17 PM
Upgrade first. You are running <!--Coppermine Photo Gallery 1.4.17 (stable)-->.

I upgraded it! Thanks ;)


There isn't a solution for my problem? :(

François Keller

QuoteOf 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
Avez vous lu la DOC ? la FAQ ? et cherché sur le forum avant de poster ?
Did you read the DOC ? the FAQ ? and search the board before posting ?
Mon Blog

mouse100

Quote from: François Keller on December 15, 2008, 04:48:32 PM
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">&nbsp;</td>

    <td class="back_1_2">&nbsp;</td>

    <td colspan="3" class="back_1_3">&nbsp;</td>

    <td class="back_1_6">&nbsp;</td>

    <td class="back_1_7">&nbsp;</td>

  </tr>

</table>

<table class="bodyline" cellspacing="0" cellpadding="0" border="0" align="center">

  <tr>

    <td class="back_2_1">&nbsp;</td>

    <td class="back_2_2"><div class="maintitle">&nbsp;</div></td>

    <td class="back_2_4">&nbsp;</td>

    <td class="back_2_5" align="left" valign="top"><div class="maintitle">&nbsp;</div>

    <div class="nav">&nbsp;</div></td>

     

    <td class="back_2_6">&nbsp;</td>

    <td class="back_2_7">&nbsp;</td>

  </tr>

</table>

<table class="bodyline" cellspacing="0" cellpadding="0" border="0" align="center">

  <tr>

    <td class="back_3_1">&nbsp;</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">&nbsp;</td>

          <td class="link_back_2">&nbsp;</td>

          <td class="link_back_2" align="center">{SYS_MENU}</td>

          <td class="link_back_3">&nbsp;</td>

        </tr>

      </table>

      <table cellpadding="0" cellspacing="0" width="100%">

        <tr>

          <td><span style="font-size: 4px;">&nbsp;</span></td>

          <td class="link_back_5"><span style="font-size: 4px;">&nbsp;</span></td>

        </tr>

      </table></td>

    <td class="back_3_7">&nbsp;</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">&nbsp;</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">&nbsp;</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">&nbsp;</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">&nbsp;</td>

    <td class="back_6_6"></td>

    <td class="back_6_7"></td>

  </tr>

  <tr>

    <td>&nbsp;</td>

  </tr>

</table>

{CUSTOM_FOOTER}{VANITY}



</body>

</html>




phill104

This line here is where your logo is called.

<td class="back_2_2"><div class="maintitle">&nbsp;</div></td>


Just make the table a link to where you want it.
It is a mistake to think you can solve any major problems just with potatoes.

mouse100

Quote from: Phill Luckhurst on December 16, 2008, 12:07:10 AM
This line here is where your logo is called.

<td class="back_2_2"><div class="maintitle">&nbsp;</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">&nbsp;</div></td></a>

but it doesn't work :(

Sami

change this

<td class="back_2_2"><div class="maintitle">&nbsp;</div></td>

to this:

<td class="back_2_2"><a href="index.php"><div class="maintitle" style="height:80px;">&nbsp;</div><a/></td>
‍I don't answer to PM with support question
Please post your issue to related board

mouse100

Quote from: Sami on December 16, 2008, 07:08:09 PM
change this

<td class="back_2_2"><div class="maintitle">&nbsp;</div></td>

to this:

<td class="back_2_2"><a href="index.php"><div class="maintitle" style="height:80px;">&nbsp;</div><a/></td>



It works!!!! Thanks!!!  :D :D :D