I would like to add the flash banner at
www.aducrejr.com
into www.aducrejr.com/coppermine
I am not sure which files to edit.
http://coppermine.sourceforge.net/faq.php#customHeader
And the usuall hints and tips:
- read the doc
- read it again
- search the board
- search it again
- when posting try to explain in more then 10 words what your question is about
a static flash banner can be easily inserted by editing themes/yourtheme/template.html
Joachim
although my orginal post I ask how to edit Igames. I tried hardwired at first and I get www.aducrejr.com/coppermine. A blank box at the header
I am not sure if I have to edit the theme php file
thank for any help
1) I can't see any banner code at all, not even a blank one. Make sure to have absolute paths to your resources, or relative ones seen from the coppermine root folder (not the theme's subfolder).
2) The version you're using appears to be based on cpg1.2.x, not cpg1.3.x - that's why I moved it from the cpg1.3 support board to the cpg1.3 support board. You're recommended to upgrade.
Joachim
I know I am overlooking something, because I can't get flash to load
www.aducrejr.com/gallery
you have some "non-valid" code in your gallery, this is the output (I added some linebreaks to makt the code more readible):<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html dir="{lang_dir}">
<head>
<title>Alvin I Ducre Jr Digital Photography - Home</title>
<meta http-equiv="content-type" content="text/html; charset={charset}" />
<meta http-equiv="Pragma" content="no-cache" />
<link rel="stylesheet" href="themes/hardwired/style.css" />
<script type="text/javascript" src="scripts.js"></script>
</head>
<body>
</body>
<p>
<body>
</p>
<table width="778" height="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="778" height="61" valign="middle" align="right" background="themes/hardwired/images/hw_01.gif">
<object classid="clsid:D27CDB6E-AE6D-11CF-96B8-444553540000" id="obj1" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" border="0" width="768" height="122">
<param name="movie" value="coppermine/images/worldmap.swf">
<param name="quality" value="High">
<embed src="coppermine/images/worldmap.swf" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" name="obj1" width="768" height="122">
</object>
<table width="73%" height="32" border="0" cellpadding="0" cellspacing="0">
<tr>
Apart from the double <body> sections, the reason for the flash file not being shown is a wrong link: coppermine/images/worldmap.swfin<param name="movie" value="coppermine/images/worldmap.swf">
points to http://www.aducrejr.com/gallery/coppermine/images/worldmap.swf, which of course doesn't exist ::)...
Joachim
P.S. Change <html dir="{lang_dir}">
to<html dir="{LANG_DIR}">
and<meta http-equiv="content-type" content="text/html; charset={charset}" />
to<meta http-equiv="content-type" content="text/html; charset={CHARSET}" />
P.P.S. You should really upgrade to cpg1.3.2
Thanks for the detailed help I sure I will be able to solve issues
I posted under wrong forum I am using cpg 1.3.2
Code:
<param name="movie" value="coppermine/images/worldmap.swf">points to http://www.aducrejr.com/gallery/coppermine/images/worldmap.swf, which of course doesn't exist ...
I change coppermine to gallery
http://www.aducrejr.com/gallery/images/worldmap.swf
changed code still having issues
www.aducrejr.com/gallery
I only edited template.php. Is there another file that needs to be edited or added for this to work?
this is basically an html issue, you have to understand how relative and absolute paths work. Change<param name="movie" value="gallery/images/worldmap.swf">
to<param name="movie" value="/gallery/images/worldmap.swf">
and you should be fine. I suggest you take a look into some good html tutorial, e.g. http://www.w3schools.com/html/default.asp
You shouldn't have all code in template.html in one line (this is probably caused by some silly editor you're using), reading the source code in http://www.aducrejr.com/gallery/themes/hardwired/template.html is a pain...
Joachim