/home/drscream

  • home
  • blog
  • gallery
  • studies
  • about
  • WordPress 2.8 und gengo

    *grml*, dieses Gengo WordPress Plugin zaehrt schon an den Nerven. Anscheinend hat es wohl Probleme mit der aktuellen WordPress Version 2.8.

    PHP Fehler:
    Erst einmal erscheint immer folgender Fehler im Apache Log:

    PHP Warning:  Invalid argument supplied for foreach()
    in /[...]/htdocs/wp-includes/classes.php
    on line 255

    Nachdem ich keine lust habe mir den Gengo Code anzuschauen, frickeln wir ein bisschen in der classes.php rum:

    Alte Zeile 255:

    foreach ( $GLOBALS['wp_taxonomies'] as $taxonomy => $t )

    Neue Zeile 255:

    foreach ( (array)$GLOBALS['wp_taxonomies'] as $taxonomy => $t )

    JavaScript Fehler:
    Ja das viel groessere Problem ist der JavaScript Fehler im Admin Menu, durch den Fehler werden alle anderen JavaScript Inhalte wohl nicht geladen. Somit funktioniert im Admin Menu “Post Tags”, “Add Image”, usw. alles nicht mehr.
    Loesbar ist das auch mal wieder durch eine frickel Code Aenderung in der Datei wp-content/plugins/gengo/gengo.php:

    Alte Zeile 469:

    function gengo_position_content() { $('postdiv').up().insertBefore($('gengo_edit_box'), $('tagsdiv')); }


    Neue Zeile 469:

    function gengo_position_content() { $('postdivrich').up().insertBefore($('gengo_edit_box'), $('tagsdiv')); }

    Posted

    July 7, 2009

    Tags

    error, gengo, multilanguage, wordpress

  • Turn off wordpress WYSIWYG Editor

    I hate the WYSIWYS (What you see is what you shit) editor in wordpress. So it’s simple to remove it, delete the following directory, nothing will break:

    /wp-includes/js/tinymce/

    Posted

    October 6, 2007

    Tags

    wordpress

  • New Blog

    I moved my blog and my complete website to WordPress, because I missed blogging-features in the recoCMS. As time permits I will implemente some WordPress features to the recoCMS.My old blog and the old pages will be available at original.cyber-tec.org. Within the next two weeks I will move the pages from original.cyber-tec.org to my WordPress blogsystem.

    Posted

    May 12, 2007

    Tags

    wordpress