For some weird reason, I am missing the "Upload File" button on my theme 'Eyeball' that came with the coppermine software. :-\\
I have to go to 'config' and switch to the classic theme to upload anything via the coppermine gui.
Does anyone have a patch or code to fix this? In the php it looks like the option/function is there for the upload button, but it just doesn't show up.
Anyways, if anyone could help me out, that would be wonderful.
Thank you for your time. ;D
In the eyeball theme, you have to put your cursor on the little house icon, then the link will appear below.
Yeah, see.. I think I figured out the problem.. :-\\
I am trying to edit the theme to fit the scheme of my site, so I added an SWF header ABOVE the php and everything else.. Well, I tested the theme with the header and without, and it won't work WITH the SWF header.. I think it is because the code I am adding above it looks like...
<TD width="50%" rowspan="3" background="http://www.nwaimports.com/images/bg.gif" bgCOLOR="#1254A2"> </TD>
<td width="1" bgcolor="#000000" rowspan="3"><img src="http://www.nwaimports.com/images/spacer.gif" width="1" height="1"></td>
<TD> <center><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="780" height="259">
<param name="movie" value="http://www.nwaimports.com/flash/0345gallerymenu.swf">
<param name="quality" value="high">
<embed src="http://www.nwaimports.com/flash/0345gallerymenu.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="780" height="259"></embed></object>
</TD>
I think the "object" part confuses it.. So I removed everything up until the "embed src" ... And it still won't show the upload file, etc. anymore. :-\\
Anyone have any ideas about what I could do to keep my SWF header and be able to upload via the gui? ???
Thanks Casper. I guess I should have stated "why" I think it won't work. :P
I figured I should post the link to what it looks like without an upload button. :-\\
http://www.nwaimports.com/gallery2/index.php
I allowed guest uploading so that you could put your cursor over to see that nothing shows up. :(
I'm sure this is basic php, but I am extremely new to php, so I really have no idea what I'm doing. I'm simply trying to go by common sense as to what would work vs. what I know wouldn't work.
If I did anything wrong, let me know. I'm all up for fixing this and trying to get it correct. ;D
Sorry for double posting. ;)
Thanks Again! :D
post your modifications to the theme. Apparently you "killed" the DHTML bit of the page.
GauGau
I am posting lines 1-5, which is the only modification was to line 1. ;D
<center><embed src="http://www.nwaimports.com/flash/0345gallerymenu.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="780" height="259"></embed>
<?php
// ------------------------------------------------------------------------- //
// Coppermine Photo Gallery 1.3.2 //
// ------------------------------------------------------------------------- //
*Edit, nevermind.*. I posted the other lines just to show the relation of where I modified it. :)
Thanks for your help GauGau. ;D
your modification should have gone into themes/eyeball/template.html
GauGau
Quote from: GauGau on August 25, 2004, 10:53:18 AM
your modification should have gone into themes/eyeball/template.html
GauGau
I moved it to the template.html, it works now, thanks. ;D
But the menu pops up behind the SWF file, in (where I think) the area of where it would have popped up had I not made the modification. So, if it is a coordinates-mapped target area where it pops up, where do I edit it? Or, am I completely out of luck? ???
Moving it to the html page worked, but now you can only see half of the menu though. :-[
I am attaching an image of where the dhtml menu pops up now. ;D
[attachment deleted by admin]
Alright, I fixed it! :o ;D
The original code asked for coordinates of '47' and I kept moving it gradually until I found the sweet spot of '302' on 'height'. :D
<body><center><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="780" height="259">
<param name="movie" value="http://www.nwaimports.com/flash/0345gallerymenu.swf">
<param name="quality" value="high">
<embed src="http://www.nwaimports.com/flash/0345gallerymenu.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="780" height="259"></embed></object>
</center>
<div id="Menu1" style="position:absolute; width:780px; height:30px; z-index:1; left: 22px; top: 302px; visibility: hidden;">
<span class="topmenu">
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
{MAIN_MENU1}
</td>
There is my code after it was fixed. ;D
Thanks so much GauGau! 8) :D ;)