| | | | |
| | |
| Neuer Benutzer Registriert seit: 05.08.2007
Beiträge: 15
![]() | Hallo, ich arbeite gerade an einem CMS für eine bestimmte Webseite. Das heißt, dass ich ein bereits vorhandenes Konzept automatisiere. Nun kam bei den Betreibern der Wunsch auf, den WYSIWYG-Editor TinyMCE einzubinden. Das klapp auch soweit, dass man die Inhalte editieren kann. Nur speichern geht nicht. TinyMCE schickt genau das ab, was auch schon in der Textarea vorgegeben war: Nun die Frage: Woran kann das liegen: Die Seite ist ein Spezialfall: Ich möchte hier _nicht_ auf das Konzept eingehen: Es ist einfach so. Ich will nur wissen, ob es daran liegt. Die Seite besteht aus einem iFrame, dessen Links UND FORMULARE alle in ein base_target: top verweisen / gesendet werden. Hier die Dateien: Code: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>
NEWS
</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<link rel="stylesheet" type="text/css" href="/css/iframe.css"/>
<base target="_top"/>
</head>
<body>
<table cellpadding="0" cellspacing="0" width="100%" height="100%">
<tr>
<td align="center" valign="middle">
<table cellpadding="0" cellspacing="0">
<tr>
<td align="center" valign="middle">
<iframe src="VERWEIS AUF DATEI UNTEN" width="750" height="460" frameborder="0"></iframe>
</td>
</tr>
<tr>
<td align="right" valign="middle">
<span class="small">©2007 | <a href="/legal.html">Impressum</a> | <a href="/administration.html">Verwaltung</a> | <a href="/index.php?iframe=on&page=news&action=logout">Ausloggen</a></span>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
Code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<title>
NEWS
</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<link rel="stylesheet" type="text/css" href="/css/page.css"/>
<base target="_top"/>
</head>
<body>
<script type="text/javascript" src="/js/page.js">
</script>
<div class="header">
</div>
<div class="intersection_left">
</div>
<div class="intersection_right">
</div>
<div class="navigation">
<map name="navigation">
<area shape="poly" coords="18,14,18,48,24,48,27,47,37,47,78,43,80,39,79,33,74,21" href="/RETURN/news.html" />
<area shape="poly" coords="26,48,26,70,64,71,73,74,89,75,91,76,98,76,106,80,121,83,106,44,88,46" href="/RETURN/return.html" />
<area shape="poly" coords="15,74,15,96,45,96,62,98,76,100,87,102,100,106,97,77,83,76,66,74" href="/RETURN/refresh.html" />
<area shape="poly" coords="13,98,13,129,26,128,42,128,55,129,77,129,98,129,99,122,91,113,89,107,80,103,60,99,37,97,24,97" href="/RETURN/dates.html" />
<area shape="poly" coords="21,129,16,138,18,157,47,156,65,156,69,158,74,156,85,158,95,142,93,138,98,135,92,131" href="/RETURN/about.html" />
<area shape="poly" coords="14,158,16,188,79,182,79,158,67,159,63,159" href="/RETURN/vision.html" />
<area shape="poly" coords="8,188,6,214,30,212,47,210,62,208,79,206,89,205,81,183,68,184,58,187,41,188,18,189" href="/RETURN/media.html" />
<area shape="poly" coords="10,216,9,221,9,248,13,250,21,243,27,244,31,240,36,241,40,238,46,237,49,235,65,230,87,226,87,210,88,206,76,207,54,210,32,214" href="/contact.html" />
<area shape="poly" coords="16,249,16,258,21,263,17,265,18,270,21,273,26,273,29,270,35,271,44,267,45,265,50,266,55,264,56,262,62,263,65,251,76,243,77,232,75,229,61,232,52,235,47,237,45,240,42,239,40,239,37,241,34,242,31,242,27,245,21,245" href="/shop.html" />
</map>
<img src="/RETURN/img/spacer.png" width="150" height="300" border="0" usemap="#navigation"/>
</div>
<div class="bottom">
<input class="button" style="margin-top: 14px; margin-right: 10px;" type="button" name="cancel" value="Abbrechen" onclick="formcancel('news.html');"/><input class="button" style="margin-top: 14px; margin-right: 10px;" type="button" name="reset" value="Zurücksetzen" onclick="formreset();"/><input class="button" style="margin-top: 14px; margin-right: 20px;" type="button" name="edit" value="Speichern" onclick="edit();"/>
</div>
<!--TinyMCE-->
<script language="javascript" type="text/javascript" src="/RETURN/js/tinymce/jscripts/tiny_mce/tiny_mce.js"></script>
<script language="javascript" type="text/javascript" src="/RETURN/js/tinymce/jscripts/tiny_mce/tiny_mce_init.js"></script>
<!--/TinyMCE-->
<form action="/RETURN/news.html" method="post" enctype="multipart/form-data">
<textarea name="_tmceedt" id="_tmceedt"></textarea>
<div align="center" style="font-size: 10px; background-color: #F0F0EE; padding: 5px; border-top: 0px; border-left: 1px solid #ccc; border-right: 1px solid #ccc; border-bottom: 1px solid #ccc;"><span style="margin-right: 2px;" title="PNG oder JPG; 600x300 Pixel"><b>Hintergrundgrafik:</b> <input class="file" type="file" name="background"/></span><span style="margin-left: 2px;" title="Bisherige Hintergrunddatei löschen"><input class="check" type="checkbox" name="rmbackground" value="1" id="rmbackground"/><label for="rmbackground">Löschen</label></span><input type="submit" name="save" value="Submit" /></div>
<input type="hidden" name="form" value="1"/>
<input type="hidden" name="type" value="edit"/>
</form>
</body>
</html>
Code: tinyMCE.init({
theme : "advanced",
mode: "exact",
elements : "_tmceedt",
theme_advanced_toolbar_location : "top",
theme_advanced_buttons1 : "bold,italic,underline,strikethrough,separator,"
+ "justifyleft,justifycenter,justifyright,justifyfull,formatselect,"
+ "bullist,numlist,outdent,indent",
theme_advanced_buttons2 : "link,unlink,anchor,image,separator,"
+"undo,redo,cleanup,code,separator,sub,sup,charmap",
theme_advanced_buttons3 : "",
height:"200px",
width:"100%",
file_browser_callback : 'myFileBrowser'
});
function myFileBrowser (field_name, url, type, win) {
var fileBrowserWindow = new Array();
fileBrowserWindow['title'] = 'File Browser';
fileBrowserWindow['file'] = "my_cms_script.php" + "?type=" + type;
fileBrowserWindow['width'] = '420';
fileBrowserWindow['height'] = '400';
tinyMCE.openWindow(fileBrowserWindow, { window : win, resizable : 'yes', inline : 'yes' });
return false;
}
MfG DeeDee0815 Geändert von DeeDee0815 (11.08.2007 um 13:18 Uhr). |
| |
| | |
| PHP Code Flüsterer Registriert seit: 21.08.2005 Beiträge: 4682 PHP-Kenntnisse: Fortgeschritten | |
| Themen-Optionen | |
| Thema bewerten | |
|
|
Ähnliche Themen | ||||
| Thema | Autor | Forum | Antworten | Letzter Beitrag |
| Firefox / IE - Probleme | HTML, Usability und Barrierefreiheit | 5 | 20.07.2009 17:04 | |
| Probleme bei Speicherung von serialize() Strings | Manni2k | PHP Tipps 2006 | 13 | 15.10.2006 15:06 |
| Probleme mit mbstring extension unter Debian | HStev | Server, Hosting und Workstations | 3 | 30.08.2006 20:55 |
| Probleme mit Rechteverteilung chmod() per script!!!??? | Funky_ | PHP Tipps 2006 | 7 | 17.06.2006 17:10 |
| problem mit tinymce | Tic Rederon | HTML, Usability und Barrierefreiheit | 2 | 09.01.2006 18:31 |
| Probleme bei der Installation von Turck MMCache | tomx992 | PHP-Fortgeschrittene | 2 | 27.09.2005 20:31 |
| [Erledigt] Probleme beim Datenupload zu meiner Datenbank | Datenbanken | 3 | 05.09.2005 19:47 | |
| [Erledigt] Probleme mit Sonderzeichen... | Datenbanken | 1 | 02.08.2005 23:37 | |
| [Erledigt] Probleme mit WoltLabBurnigBoard | Datenbanken | 6 | 29.06.2005 04:18 | |
| [Erledigt] hilfe! probleme mit... | PHP Tipps 2005 | 4 | 12.04.2005 22:55 | |
| [Erledigt] CSV Größe macht Probleme mit php | PHP Tipps 2005 | 5 | 15.03.2005 21:29 | |
| Zwei Rechner ins Netz - Router - Hub - Probleme... | imported_Ben | Off-Topic Diskussionen | 37 | 13.01.2005 21:36 |
| Technische Probleme mit Sessions | PHP-Fortgeschrittene | 4 | 18.11.2004 14:45 | |
| [Erledigt] Probleme mit Fremdsprachen | HTML, Usability und Barrierefreiheit | 2 | 21.09.2004 17:11 | |
| PHP Bilder in DB / Probleme bei Änderung | PHP-Fortgeschrittene | 1 | 05.06.2004 11:20 | |
| Besucher kamen über folgende Suchanfragen bei Google auf diese Seite |
| tinymce probleme, tinymce cms, tinymce, cms tinymce, tinymce löscht javascript, tinymce funktioniert nicht, my_cms_script.php, tinymce löscht iframe, cms mit tinymce, tinymce geht nicht, probleme mit tinymce, tiny mce geht nicht, tinymce php, tinymce utf-8, tinymce entfernt div, tinymce dateiauswahl geht nicht, tiny mce cms, tinymce utf8, tinymce speichert nicht, tinymce height |