Adding simple link images to the igames theme.php Adding simple link images to the igames theme.php
 

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

Adding simple link images to the igames theme.php

Started by FischerKing, June 20, 2009, 12:58:48 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

FischerKing

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:
                                <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')

Joachim Müller

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.