Social Media
Foren
Thema 'Seite Bearbeiten' goes WYSIWYG
- 1
- 2
hallo,
hab irgendwie keine nachricht erhalten, dass hier was passiert ist.
also aufs login kommst du mit http://meine-url/admin/ - so wie im tutorial empfohlen. ;-)
lg
andrej
hab irgendwie keine nachricht erhalten, dass hier was passiert ist.
also aufs login kommst du mit http://meine-url/admin/ - so wie im tutorial empfohlen. ;-)
lg
andrej
|
Ganz vergessen, dass der Login erst wo anders war
Entferne mal die doppelten Zeilen, dann sollte es gehen:
Entferne mal die doppelten Zeilen, dann sollte es gehen:
PHP-Quelltext |
|
1 2 3 4 |
<script type="text/javascript" src="/system/WYSIWYG/tiny_mce.js"></script>
<script type="text/javascript">
<input name="alias" value="testseite3" /><br />
<label for="content" />Inhalt</label>
|
|
Opera meldet, dass der Zeilenumbruch in einigen Zeilen zu viel ist. Nimm mal das bei den Script:
PHP-Quelltext |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 |
<script type="text/javascript">
tinyMCE.init({
// General options
mode : "textareas",
theme : "advanced",
plugins : "safari,spellchecker,pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,inlinepopups,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template,imagemanager,filemanager",
// Theme options
theme_advanced_buttons1 : "bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,|,styleselect,formatselect,fontselect,fontsizeselect",
theme_advanced_buttons2 : "cut,copy,paste,pastetext,pasteword,|,search,replace,|,bullist,numlist,|,outdent,indent,blockquote,|,undo,redo,|,link,unlink,anchor,image,cleanup,code,|,forecolor,backcolor",
theme_advanced_buttons3 : "tablecontrols,|,visualaid,|charmap,|,fullscreen,spellchecker,|,visualchars,template,blockquote,|,insertfile,insertimage",
theme_advanced_toolbar_location : "top",
theme_advanced_toolbar_align : "left",
theme_advanced_statusbar_location : "bottom",
theme_advanced_resizing : true,
// Example content CSS (should be your site CSS)
content_css : "css/example.css",
// Drop lists for link/image/media/template dialogs
template_external_list_url : "template_list.js",
external_link_list_url : "link_list.js",
external_image_list_url : "js/image_list.js",
media_external_list_url : "js/media_list.js",
// Replace values for the template plugin
template_replace_values : {
username : "Some User",
staffid : "991234"
}
});
</script>
|
- 1
- 2
Ähnliche Themen
-
- Neue Ideen »
- HTML-Highlighter Plugin (3. Februar 2012, 15:55)
-
- Neue Ideen »
- YouTube Plugin (3. Februar 2012, 15:53)