Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: [Solved]: Header linkable  (Read 5518 times)

0 Members and 1 Guest are viewing this topic.

mouse100

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 69
[Solved]: Header linkable
« 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?
« Last Edit: December 16, 2008, 08:53:46 pm by Phill Luckhurst »
Logged

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Re: Header linkable
« Reply #1 on: December 15, 2008, 10:45:32 am »

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

mouse100

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 69
Re: Header linkable
« Reply #2 on: December 15, 2008, 01:18:38 pm »

Logged

Hein Traag

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: nl
  • Offline Offline
  • Gender: Male
  • Posts: 2166
  • A, B, Cpg
    • Personal website - Spintires.nl
Re: Header linkable
« Reply #3 on: December 15, 2008, 01:40:17 pm »

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

mouse100

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 69
Re: Header linkable
« Reply #4 on: December 15, 2008, 04:17:47 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? :(
Logged

François Keller

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 9094
  • aka Frantz
    • Ma galerie
Re: Header linkable
« Reply #5 on: December 15, 2008, 04:48:32 pm »

Quote
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
Logged
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

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 69
Re: Header linkable
« Reply #6 on: December 15, 2008, 10:18:55 pm »

have a look into your template.htm file

Code: [Select]

<!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>



Logged

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Re: Header linkable
« Reply #7 on: December 16, 2008, 12:07:10 am »

This line here is where your logo is called.

Code: [Select]
<td class="back_2_2"><div class="maintitle">&nbsp;</div></td>

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

mouse100

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 69
Re: Header linkable
« Reply #8 on: December 16, 2008, 03:26:06 pm »

This line here is where your logo is called.

Code: [Select]
<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:

Code: [Select]
<A HREF=www.wiicustomcovers.com><td class="back_2_2"><div class="maintitle">&nbsp;</div></td></a>
but it doesn't work :(
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Header linkable
« Reply #9 on: December 16, 2008, 07:08:09 pm »

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

mouse100

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 69
Re: Header linkable
« Reply #10 on: December 16, 2008, 08:31:16 pm »

change this
Code: [Select]
<td class="back_2_2"><div class="maintitle">&nbsp;</div></td>
to this:
Code: [Select]
<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
Logged
Pages: [1]   Go Up
 

Page created in 0.026 seconds with 20 queries.