Zitat geschrieben von
Mairu
Naja du hast dir ja das Modul für die Usergallery runtergeladen nehm ich an, für die Gallery gibts aber wenigstens Anleitungen.
externer Link
Wenn du davon etwas nicht verstehst, kannst du dich ja nochmal melden aber im Grunde sind ja nur 2 leicht zu machende Änderungen, du musst halt zum einen auf die Pfadangaben schauen, da du die Dateien ja schon hochgeladen hast (durch das Usergallerymodul?) und in deiner index.htm über Zeile 16 einfügen, und die andere Änderung wie beschrieben.
Hab die bilder raus. Diese gallery_show so geändert wies da stand (Pfade wusst ich nix, also hab ich das frei raus kopiert)
Bei der index.html weis ich gleich garnichts wegen zeile und was überhaupt da rein muss. Bin wie gesagt da nicht so bewandert & bisher waren nach meinen html experimenten meine seiten jedesmal vollkommen im Ar***..
Hier meine aktuelle index
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>ModeCat Deluxé</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Robots" content="INDEX,FOLLOW">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="Pragma" content="no-cache">
<meta name="Robots" content="archive">
<link rel="stylesheet" type="text/css" href="include/designs/order/style.css">
<style type="text/css">
<!--
.Stil1 {color: #FFFFFF}
-->
</style>
</head>
<body>
<center>
<table width="880" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="880" height="200" background="include/designs/order/images/header.jpg"></td>
</tr>
<tr><td border="0" cellspacing="0" cellpadding="0" width="880" height="30">
</td>
</tr>
<tr>
<td><table width="880" border="0" cellspacing="0" cellpadding="0">
<tr valign="top">
<td width="160" background="include/designs/order/images/leftnav.jpg"><table width="160" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="left"><br>
{_list_menunr1@
<table width="160" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="160" height="32" background="include/designs/order/images/menub.jpg">
<table width="160">
<tr>
<td width="160" class="Bbody2">
%1
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td background="include/designs/order/images/menu_bg.jpg">
<table width="160" border="0" cellspacing="10" cellpadding="0">
<tr>
<td width="15"></td>
<td width="130" class="Bbody">
<div align="left">%2
</div></td>
<td width="5"></td>
</tr>
</table>
</td>
</tr>
<tr><td height="25" background="include/designs/order/images/menu_u.jpg"></td></tr>
<tr><td background="include/designs/order/images/leftnav.jpg" height="20"></td></tr>
</table>
}
</td>
</tr>
</table></td>
<td width="30" background="include/designs/order/images/cont.jpg"><img src="include/designs/order/images/cont.jpg"></td>
<td width="500" valign="top" bgcolor="#2b292a" class="Callg">
<table cellpadding="0" cellspacing="0" border="0" >
<tr><td height="20"></td></tr>
<tr><td background="include/designs/order/images/content_header.jpg" width="500" height="20">
</td></tr>
<tr><td background="include/designs/order/images/content_bg.jpg" width="500">
<table cellpadding="0" cellspacing="0" border="0" class="rand" width="100%" align="left">
<tr><td width="20"></td><td class="Callg" align="left"><font class="smalfont"><b> » </b>{HMENU}</font><br /><br />
{EXPLODE}
<p align="center">[Script by <font color="#FFFFFF">
<a href="http://www.ilch.de" target="_blank">ilch.de</a></font> / Design by
<font color="#FFFFFF">
<a href="http://www.pimpmywbb.de" target="_blank">
CrAwL!Ng</a></font>]
</td><td width="20"></td></tr>
</table>
</td></tr>
<tr><td background="include/designs/order/images/content_footer.jpg" width="500" height="20">
</td></tr>
</table></td><td width="30"><img src="include/designs/order/images/cont.jpg"></td>
<td width="160" background="include/designs/order/images/rightnav.jpg"><table width="160" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="left">
{_list_menunr2@
<table width="160" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="160" height="32" background="include/designs/order/images/menub1.jpg">
<table>
<tr>
<td width="160" class="Bbody2">
%1
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="160" background="include/designs/order/images/menu_bg1.jpg">
<table width="160" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td>
<td width="120" class="Bbody">
<div align="left">%2
</div></td>
<td width="20">
</tr>
</table>
</td>
</tr>
<tr><td height="25" background="include/designs/order/images/menu_u1.jpg"></td></tr>
<tr><td background="include/designs/order/images/rightnav.jpg" height="20"></td></tr>
</table>
}
</td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td width="880" height="51" background="include/designs/order/images/footer.jpg"> </td>
</tr>
</table>
</center>
</body>
</html>
<!-- {_list_DDDmenupoint@<strong><big>·</big></strong><a %1 class="box" href="%2">%3</a><br />}//-->
{_list_hmenupoint@<li><a target="%1" class="box" href="%2">%3</a>|</li>|<br />|</ul></li>}
{_list_hmenubegi@<ul>}
{_list_hmenuende@</ul>}
{_list_vmenupoint@<li><a target="%1" class="box" href="%2">%3</a>|</li>|<br /><ul>|</ul></li>}
{_list_vmenubegi@<ul>}
{_list_vmenuende@</ul>}
Und da die Gallery_Show wo ich das eingefügt habe.
<html>
<head>
<script type="text/javascript" src="include/includes/js/js/prototype.js"></script>
<script type="text/javascript" src="include/includes/js/js/scriptaculous.js?load=effects"></script>
<script type="text/javascript" src="include/includes/js/js/lightbox.js"></script>
<link rel="stylesheet" href="include/includes/js/css/lightbox.css" type="text/css" media="screen" />
<!--
function openWindow() {
var fenster = window.open('index.php?gallery-showOrig-{id}-{endung}','origBild','scrollbars=yes,toolbar=yes,status=yes,resizable=yes,top=0,left=0,width={breite},height={hoehe}');
fenster.focus();
return (false);
}
function closeThisWindow() {
opener.focus();
window.close();
}
function doVote(n1) {
document.location.href="index.php?gallery-show-{cid}-p{bildr}=0&doVote="+ n1;
}
function closeDiashowDiv() {
document.getElementById('diashowDiv').style.display = "none";
}
function showDiashowDiv() {
document.getElementById('diashowDiv').style.display = "inline";
}
function startDiashow (sek) {
document.location.href = "index.php?gallery-show-{cid}-p{bildr}&diashow=start&sek="+sek;
}
//-->
</script>
</head>
<body>
<table width="100%" class="border" border="0" cellspacing="1" cellpadding="3">
<tr>
<td class="Callg">
<div class="layer" id="diashowDiv" style="position:absolute; top:25px; left:25px; display:none; width:85px; height:15px;">
<table onmouseover="showDiashowDiv()" onmouseout="closeDiashowDiv()" width="85" class="border" border="0" cellspacing="1" cellpadding="4">
<tr>
<td class="Cdark" title="Bilder alle 3 Sekunden wechseln" width="15" onClick="startDiashow(3)" style="cursor:pointer"> 3 </td>
<td class="Cmite" title="Bilder alle 5 Sekunden wechseln" width="15" onClick="startDiashow(5)" style="cursor:pointer"> 5 </td>
<td class="Cdark" title="Bilder alle 10 Sekunden wechseln" width="15" onClick="startDiashow(10)" style="cursor:pointer"> 10 </td>
<td class="Cmite" title="Bilder alle 20 Sekunden wechseln" width="15" onClick="startDiashow(20)" style="cursor:pointer"> 20 </td>
<td class="Cdark" title="Bilder alle 30 Sekunden wechseln" width="15" onClick="startDiashow(30)" style="cursor:pointer"> 30 </td>
</tr>
</table>
</div>
<table class="border" border="0" cellspacing="1" cellpadding="3" width="100%">
<tr>
<td class="Cnorm" align="center" width="15"><a href="javascript:closeThisWindow()"><img src="include/images/icons/del.gif" alt="{_lang_close}" title="{_lang_close}" border="0"></a></td>
<td class="Cmite" align="center" width="15"><a href="index.php?gallery-show-{cid}-p{last}"><img src="include/images/icons/pfeill.gif" alt="{_lang_back}" title="{_lang_back}" border="0"></a></td>
<td class="Cmite" align="center" width="15"><a href="index.php?gallery-show-{cid}-p{next}"><img src="include/images/icons/pfeilr.gif" alt="{_lang_forward}" title="{_lang_forward}" border="0"></a></td>
<td class="Cnorm" align="center" width="15" onmouseout="closeDiashowDiv()" onmouseover="showDiashowDiv()"><a href="index.php?gallery-show-{cid}-p{diashow}"><img src="include/images/icons/diashow.gif" alt="{_lang_diashowstartstop}" title="{_lang_diashowstartstop}" border="0"></a></td>
<td title="{_lang_participant}: {vote_klicks}" class="Cnorm" align="right">
<table class="border" border="0" cellspacing="1" cellpadding="0">
<tr>
<td class="Cdark" onClick="doVote(1)" style="cursor:pointer"> 1 </td>
<td class="Cmite" onClick="doVote(2)" style="cursor:pointer"> 2 </td>
<td class="Cdark" onClick="doVote(3)" style="cursor:pointer"> 3 </td>
<td class="Cmite" onClick="doVote(4)" style="cursor:pointer"> 4 </td>
<td class="Cdark" onClick="doVote(5)" style="cursor:pointer"> 5 </td>
<td class="Cmite" onClick="doVote(6)" style="cursor:pointer"> 6 </td>
<td class="Cdark" onClick="doVote(7)" style="cursor:pointer"> 7 </td>
<td class="Cmite" onClick="doVote(8)" style="cursor:pointer"> 8 </td>
<td class="Cdark" onClick="doVote(9)" style="cursor:pointer"> 9 </td>
<td class="Cmite" onClick="doVote(10)" style="cursor:pointer"> 10 </td>
<td class="Cnorm" align="right"> {_lang_rating}: {vote_wertung} </td>
</tr>
</table>
</td>
</tr>
</table>
<br />
<center><table class="border" border="0" cellspacing="1" cellpadding="0"><tr><td><a href="include/images/gallery/img_norm_{id}.{endung}" rel="lightbox"><img id="bild1" style="progid:DXImageTransform.Microsoft.{bild_style}" src="include/images/gallery/img_norm_{id}.{endung}" border="0" /></a></td></tr></table></center>
<br />
<table class="border" border="0" cellspacing="1" cellpadding="3" width="100%">
<tr>
<td class="Cmite"><strong>{_lang_desc}:</strong>: {besch}</td>
</tr>
</table>
{EXPLODE}
<br />
<table class="border" border="0" cellspacing="1" cellpadding="3" width="100%">
<tr>
<td class="Cdark"><strong>{_lang_comments}:</strong></td>
</tr>
<td class="Cnorm">
<form action="index.php?gallery-show-{cid}-p{bildr}" method="POST">
<input type="text" name="name" value="{uname}" /> <input type="submit" value="{_lang_formsub}"><br />
<textarea cols="50" rows="2" name="text"></textarea>
</form>
</td>
</tr>
</table>
<br />
<table class="border" border="0" cellspacing="1" cellpadding="3">
{EXPLODE}<tr>
<td class="{class}"><b>{name}:</b> {text}</td>
</tr>{EXPLODE}
</table>
</td>
</tr>
</table>
</body>
</html>
{EXPLODE}
<html>
<head>
<title>{_lang_pleaseclickonpic}</title>
<link rel="stylesheet" type="text/css" href="include/admin/templates/style.css">
<script language="JavaScript" type="text/javascript">
<!--
function adjust_popup() {
var w, h, fixedW, fixedH, diffW, diffH;
if (document.all) {
fixedW = document.body.clientWidth;
fixedH = document.body.clientHeight;
window.resizeTo(fixedW, fixedH);
diffW = fixedW - document.body.clientWidth;
diffH = fixedH - document.body.clientHeight;
} else {
fixedW = window.innerWidth;
fixedH = window.innerHeight;
window.resizeTo(fixedW, fixedH);
diffW = fixedW - window.innerWidth;
diffH = fixedH - window.innerHeight;
}
w = fixedW + diffW;
h = fixedH + diffH;
if (h >= screen.availHeight) w += 16;
if (w >= screen.availWidth) h += 16;
w = Math.min(w,screen.availWidth);
h = Math.min(h,screen.availHeight);
window.resizeTo(w,h);
window.moveTo((screen.availWidth-w)/2, (screen.availHeight-h)/2);
}
adjust_popup();
//-->
</script>
</head>
<body scroll="auto" marginwidth="0" marginheight="0">
<center><a href="javascript:window.close()"><img src="include/images/gallery/img_{id}.{endung}" title="{_lang_pleaseclickonpic}" border="0"></a></center>
</body>
</html>
Also ich kapier das leider absolut nicht. =((
Kannst ja mal auf meiner site gucken nochmal, wie es jetzt mit neu angelegter gallery nach der änderung... Das sieht einfach nich aus wie es soll...
Könntest du mir das vielleicht direkt machen? Gern auch via icq oder so:
451-658-434 (Bin aber erst später erreichbar)
Ich wär dir wirklich verbunden :s
Kann auch gerne eine gegenleistung erbringen. Sei's ein Partnerbanner auf meiner Site etc.
Das mit der Gallery ist mir echt sehr wichtig, das dass gut aussieht.
Herzlichen Dank im vorraus.