Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter gast0n

    (@gast0n)

    Thanks alot Truth!

    ?? Will dig into it right away!

    Got it fixed..
    changed:
    $fckeditor_path = “../wp-content/plugins/chenpress/FCKeditor/”

    to:
    $fckeditor_path = “../wp-content/plugins/chenpress/fckeditor/”

    My old directory whan in lowercase ??

    Doesn’t work for me. 3.0 did so. Chen won’t show in editor window. Got this Javascript error:

    Line: 202
    Error: ‘FCKeditor is undefined’
    Code: 0

    wp-admin/plugins.php

    Anyone knows whats causing this?

    Thanks! /Andreas

    Took me some time to find this topic and the function listed above.. Made som changes to track back one level.. don’t know if it’s the best solution but i works for me..

    ….foreach ($pages as $page)
    {

    if ($page->ID == $page_obj->ID && $page->post_parent == $id)
    {
    return true;
    }

    // Track back..
    if ($page->ID == $page_obj->ID)
    {
    $check1 = $page->post_parent; // get current post_parent
    foreach ($pages as $page)
    {

    if ( $page->ID == $check1 && $page->post_parent == $id)
    return true;
    }
    }

    }…..

    / Andreas

Viewing 4 replies - 1 through 4 (of 4 total)