ich habe mir ein Modul gebastelt und soweit funktioniert alles.
Das Einzige woran ich verzweifel ist,
ich bekomme den Hochladebutton nicht in den ckeditor eingefügt.
Da ich ein ziemlicher Anfänger bin, wäre es toll wenn mir da jemand helfen könnte.
<script type="text/javascript" src="include/includes/ckeditor/ckeditor.js"> CKEDITOR.replace('txt', { language: 'de', baseHref: 'include/includes/ckeditor/', height : 400, filebrowserBrowseUrl: 'include/includes/filemanager/index.html', filebrowserUploadUrl: 'include/includes/filemanager/index.html' }); </script> <script type="text/javascript"> <!-- function del ( id1 ) { var x = confirm ( "do you really want to delete?" ); if ( x ) { document.location.href="admin.php?termine-d"+id1; } } //--> </script> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td><img src="include/images/icons/admin/termine.png" /></td> <td width="30"></td> <td valign="bottom"><h1>Termine</h1></td> </tr> </table> <table width="100%"> <tr> <td valign="top" width="60%"> <form name="form" action="admin.php?termine" method="POST"> <input type="hidden" name="pkey" value="{pkey}"> <table class="border" cellpadding="3" cellspacing="1" border="0"> <tr> <td class="Cmite">Date</td> <td class="Cnorm"><input type="text" name="date" value="{date}" /></td> </tr> <tr> <td class="Cmite">Title</td> <td class="Cnorm"><input type="text" name="title" value="{title}" /></td> </tr> <tr> <td class="Cmite">Text</td> <td class="Cnorm"><div id="txtdiv"><textarea class="ckeditor" cols="80" rows="30" name="txt">{txt}</textarea></div></td> </tr> <tr> <td class="Cmite" align="right"><div style="border: 1px groove #ffffff; width: 100%; height: 100%; background-color: #ff0000"><strong>Newsletter: </strong></div></td> <td class="Cnorm"><div style="border: 1px groove #ffffff; width: 100%; height: 100%; background-color: #ff0000"> <label><input type="checkbox" name="newsletteru" /> <b>Newsletter versenden an die Jugend</b></label></div></td> </tr> <tr> <td class="Cmite" align="right"><div style="border: 1px groove #ffffff; width: 100%; height: 100%; background-color: #ff0000"><strong>Newsletter: </strong></div></td> <td class="Cnorm"><div style="border: 1px groove #ffffff; width: 100%; height: 100%; background-color: #ff0000"> <label><input type="checkbox" name="newsletterue" /> <b>Newsletter versenden an die Erwachsenen</b></label></div></td> </tr> <tr> <td class="Cmite" align="right"> <div style="border: 1px groove #ffffff; width: 100%; height: 100%; background-color: #292FF4"> <strong>Newsletter: </strong></div></td> <td class="Cnorm"><div style="border: 1px groove #ffffff; width: 100%; height: 100%; background-color: #292FF4"> <input type="checkbox" name="newsletterk" /><b> zur Textüberprüfung versenden</b></div></td> </tr> <tr class="Cdark"> <td></td> <td><input type="submit" value="Absenden" name="sub" /></td> </tr> </table> </form> </td> <td valign="top" width="40%"> <table cellpadding="3" border="0" cellspacing="1" class="border"> <tr class="Chead"> <td>Date</td> <td>Title</td> <td></td> <td></td> </tr> {EXPLODE} <tr class="{class}"> <td>{date}</td> <td>{title}</td> <td><a href="?termine-e{id}"><img src="include/images/icons/edit.gif" border="0" title="termine Eintrag bearbeiten" alt="ändern" /></a></td> <td><a href="javascript:del('{id}')"><img src="include/images/icons/del.gif" border="0" title="termine Eintrag löschen" alt="löschen" /></a></td> </tr> {EXPLODE} </table> {MPL} </td> </tr> </table>
Vielen Dank im Voraus
betroffene Homepage: externer Link
Zuletzt modifiziert von MichaSV51 am 28.06.2017 - 08:55:51