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: Adding simple link images to the igames theme.php  (Read 2456 times)

0 Members and 1 Guest are viewing this topic.

FischerKing

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Adding simple link images to the igames theme.php
« on: June 20, 2009, 12:58:48 am »

Im editing the igames theme, and I want to make new navigation links in the left side of the page on the galleri, like the links I have made on a frontpage I have made for the site. I have copied the html and css code from my front page and put it in the theme.php outside the php. The links works ok, but need a little update I will do later, but the pictures I use as graphics for the links will not display, instead I get a broken image symbol. As my frontpage and my theme.php is in the same folder, the links to the link graphics should be the same, so I simply dont understand why they wont display. I have tried to put my code in both the template.html and theme.php with the same result.
Its probably somewhere on these boards, but now I have been searching them for 3 hours and I come up with nothing usefull.

This is the simple frontpage navigation that I would like to mimic:
http://www.rolfdl.com/cpg1.4.21/cpg14x/themes/igames/index.php

The navigations I would like to add:
http://www.rolfdl.com/cpg1.4.21/cpg14x/displayimage.php?album=1&pos=2

Here is my problem:
http://www.rolfdl.com/cpg1.4.21/cpg14x/displayimage.php?album=1&pos=1

When I added my code and uploaded it to theme.php I got the nice sideeffect of the coppermine based pages not displaying properly when you follow any link, though they display as they should when you update the page after following the page. Any help would be appreciated!

This is were I added my code to theme.php:
Code: [Select]
                                <td class="sortorder_options" style="font-size: 100%;"><span class="statlink"><a href="thumbnails.php?album={AID}&amp;page={PAGE}&amp;sort=pd" title="{SORT_PD}">&nbsp;-&nbsp;</a></span></td>
                        </tr>
                        </table>

EOT;
?>

<div class="navigation"> 
<p>&nbsp;</p>
<a href="http://www.rolfdl.com/cpg1.4.21/cpg14x/index.php?cat=10001" ><img src="wordart/Galleri.gif" border="0" /></a>
<p>&nbsp;</p>
<a href="http://www.rolfdl.com/cpg1.4.21/cpg14x/thumbnails.php?album=lastup&cat=10001" ><img src="wordart/Nyeste-Uploads.gif" border="0" /></a>
<p>&nbsp;</p>
<a href="introduction.php"><img src="wordart/Om-Mig.gif" border="0" /></a>
<p>&nbsp;</p>
<a href="http://www.rolfdl.com/cpg1.4.21/cpg14x/search.php" class="font1"><img src="wordart/search.gif" border="0" /></a>
<p>&nbsp;</p>
<a href="handel.php"><img src="wordart/Kontakt-&-Salg.gif" border="0" /></a>
</div>

<?php
// Function to start a 'standard' table
function starttable($width '-1'$title ''$title_colspan '1')
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Adding simple link images to the igames theme.php
« Reply #1 on: June 21, 2009, 09:34:36 am »

Please zip your entire custom theme and attach the zip to your posting. I can not really figure out what your actual problem is nor what you're trying - please elaborate, using more words.
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 19 queries.