Ondersteuning » Algemeen WordPress » problemen invoegen foto in pagina

  • Opgelost bva227

    (@bva227)


    Hallo,

    ik heb geprobeerd om in 2.1 met een foto op te loaden en deze foto met de nieuwe tool naar de text editor te brengen, maar ik kreeg steevast een foutmelding onderaan de pagina

    regel: 253
    teken: 5
    fout: deze eigenschap of methode wordt niet ondersteund door het object
    code: 0

    Wie kan helpen?

4 reacties aan het bekijken - 16 tot 19 (van in totaal 19)
  • Thread starter bva227

    (@bva227)

    BEDANT AdrianusV
    dit was de reden:

    I know found a good workaround to fix this “Send To Editor” problem:
    The reason for the “Send To Editor” bug to me seems that the javascript code somehow does not work when using an URL in the addressbar of the browser that does not reflect the full URL-string of the actual site (see above posting).

    In order to fix that, I added a target=”_blank” to the login-link at the main page. This makes sure, that the admin-interface is always access with the correct url in the addresbar of the browser. You can see the effects of this work-around at http://www.sonabiles.at.vu/
    when you click the login-link.

    Ik gebruik

    volgende code voor het inloggen:

    <?php wp_register(); ?>

    • <?php wp_loginout(); ?>
    • Hoe krijg ik daar target=”_blank” bij?

    Ik geloof dat je in het bestand template-functions-general.php moet wezen in de map wp-included. Maar waar precies en hoe heb ik ook geen kaas (of worst) van gegeten.

    Thread starter bva227

    (@bva227)

    Gevonden in general-template.php

    function wp_loginout() {
    if ( ! is_user_logged_in() )
    $link = ‘‘ . __(‘Login’) . ‘‘;
    else
    $link = ‘‘ . __(‘Logout’) . ‘‘;

    echo apply_filters(‘loginout’, $link);
    }

    wijzigen in :

    function wp_loginout() {
    if ( ! is_user_logged_in() )
    $link = ‘‘ . __(‘Login’) . ‘‘;
    else
    $link = ‘‘ . __(‘Logout’) . ‘‘;

    echo apply_filters(‘loginout’, $link);
    }

    Nogmaals mijn dank!!

    Fijn dat ’t opgelost is. Eh.. mijn vorige reply ziet er in mijn beeld een beetje raar uit. Gaat over de hele lengte van het scherm.

4 reacties aan het bekijken - 16 tot 19 (van in totaal 19)
  • Het onderwerp ‘problemen invoegen foto in pagina’ is gesloten voor nieuwe reacties.