Forum Replies Created

Viewing 15 replies - 1 through 15 (of 17 total)
  • Thank you @ashish recreating the popup fixed the issue.

    Thread Starter lauxly

    (@lauxly)

    Ok, there’s one more thing i noticed, i have no idea if it may cause the problem or not.
    To check if it does, i need some help.

    On the first image you will see the:
    element.style – is set to nothing.
    (on that case the “Select image” is working)

    On the second image you can see that the element.style – is set to:

    element.style {
    display: inline;
    }

    How could i change it from:

    element.style {
    display: inline;
    }

    to

    element.style {
    }

    Thanks

    [ No bumping please. ]

    Thread Starter lauxly

    (@lauxly)

    Thank you @tara for the link.

    I tried both suggestions on that topic.
    First i re-copied all the WP files.

    NO CHANGES 🙁

    Then i checked the ‘DB_HOST’ and it’s localhost.
    But i think it should be localhost when i check my hosting:

    PHPmyadmin picture here

    Any other ideas?

    Cheers.

    Thread Starter lauxly

    (@lauxly)

    Okey, so i got rid of the error my removing add-on that i noticed was causing it.
    After that the menu which was the issue in a first place started working partly.
    But still i cant click on “select an image”, because it wont bromt me with the wordpress image selection option.

    And im faced with a new error 🙁

    Failed to load resource: net::ERR_CONNECTION_REFUSED
    Failed to load resource: net::ERR_CONNECTION_TIMED_OUT

    link

    thanks for the help so far thou

    Thread Starter lauxly

    (@lauxly)

    Ok, it seems the error is that there a wrong URL aadress and it’s missing “/” from the line.
    The question is, what file to i have to change to fix it? 🙂

    link

    Thanks in advance

    Ok, found the solution here.

    How exactly can one do that? 🙂

    Thread Starter lauxly

    (@lauxly)

    if i change a product, it will dissapear and site will give me errors like that:

    Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'function new_custom_field_here' not found or invalid function name in /data03/virt44822/domeenid/www.netiuks.ee/htdocs/wp-includes/plugin.php on line 470
    
    Warning: Cannot modify header information - headers already sent by (output started at /data03/virt44822/domeenid/www.netiuks.ee/htdocs/wp-includes/plugin.php:470) in /data03/virt44822/domeenid/www.netiuks.ee/htdocs/wp-admin/post.php on line 235
    
    Warning: Cannot modify header information - headers already sent by (output started at /data03/virt44822/domeenid/www.netiuks.ee/htdocs/wp-includes/plugin.php:470) in /data03/virt44822/domeenid/www.netiuks.ee/htdocs/wp-includes/pluggable.php on line 1121

    Any solution for that?

    Thanks for help, let us know if you find out, how to change the description as well.

    Thread Starter lauxly

    (@lauxly)

    Hey Nik, thank for the help, this did work and i had missed it before.
    Sadly now the styling doesn’t work, do i have change anything from there as well, cause…

    ul.qtrans_language_chooser {
    position: fixed;
    list-style-type:none;
    margin: -350px 0 0 3px;
    background-color: rgba(51, 102, 153,.35);
    box-shadow: 2px 5px 7px rgba(0,0,0,.21);
    border-radius: 10px;
    border: 1px rgba(255,0,0,.5) solid;
    padding: 1px 5px 5px 15px;
    left: -15px;
    -webkit-transition: background-color 200ms linear;
    -moz-transition: background-color 200ms linear;
    -o-transition: background-color 200ms linear;
    -ms-transition: background-color 200ms linear;
    transition: background-color 200ms linear;
    z-index: 201;
    }
    ul.qtrans_language_chooser:hover {background-color: rgba(153,204,255,.65); box-shadow: 3px 8px 10px rgba(0,0,0,.15);}
    ul.qtrans_language_chooser li.active {display: none;}
    ul.qtrans_language_chooser li a {width: 22px; height: 22px;}

    doesn’t make any difference.

    Got the “Home” button also working with this code:

    if (function_exists('qtrans_convertURL')) {
    
    function qtrans_in_nav_el($output, $item, $depth, $args) {
    
    $attributes = !empty($item->attr_title) ? ' title="' . esc_attr($item->attr_title) . '"' : '';
    
    $attributes .=!empty($item->target) ? ' target="' . esc_attr($item->target) . '"' : '';
    
    $attributes .=!empty($item->xfn) ? ' rel="' . esc_attr($item->xfn) . '"' : '';
    
    // Integration with qTranslate Plugin
    
    $attributes .=!empty($item->url) ? ' href="' . esc_attr( qtrans_convertURL($item->url) ) . '"' : '';
    
    $output = $args->before;
    
    $output .= '<a' . $attributes . '>';
    
    $output .= $args->link_before . apply_filters('the_title', $item->title, $item->ID) . $args->link_after;
    
    $output .= '</a>';
    
    $output .= $args->after;
    
    return $output;
    
    }
    
    add_filter('walker_nav_menu_start_el', 'qtrans_in_nav_el', 10, 4);

    But still don’t understand why the CSS only works with English language, as its not even the pages default language.

    Thank you acub, the function did fix my “logo” navigation, now it keeps the right language going when pressed, “Home” button still goes back to default language.

    One other thing that is very frustrating is, when i use custom CSS like:

    a.icon-facebook     {color:red;}
    a.icon-google       {color:red;}

    or

    .carousel-inner > .item {
    -webkit-transition: opacity 2s ease-in-out ;
    transition:         opacity 2s ease-in-out ;
    }
    .carousel-inner > .next.left,
    .carousel-inner > .prev.right {
    opacity:        1;
    z-index:        1;
    left:           0;
    }
    .carousel-inner > .active.left {
    opacity:        0;
    z-index:        2;
    left:           0;
    }
    .carousel-inner > .active.right {
    opacity:        0;
    z-index:        2;
    left:           0;
    }

    …and so on.
    It only applies to one language, not to all three.
    When i change page language, all custom CSS is lost.
    Cheers.

    Could there be a problem with my “homepage”, because the language selection doesn’t show up there(language_selection only shows up when i click something on the menu and it directs me away from Homepage) and the slider translation doesn’t work and it’s also on the Homepage.

    Then again, all the other translations work on the Homepage, only thing i had to do, to get the second tagline translated was this:

    .site-description:after {
        content:      "[:ET]Oleme esimesed nii online kui käest-kätte rendikogujad Eestis";
        display:      block;
        font-size:    0.7em;
        font-weight:  normal;
        opacity:      0.7; 
    
    .site-description:after {
        content:      "[:ru]Мы были первыми гостями, когда из рук в руки в аренду коллекционеров";
        display:      block;
        font-size:    0.7em;
        font-weight:  normal;
        opacity:      0.7;  
    
    .site-description:after {
        content:      "[:en]We are first online and hand-to-hand rent collectors in Estonia";
        display:      block;
        font-size:    0.7em;
        font-weight:  normal;
        opacity:      0.7;
    }

    if I left it like this:

    .site-description:after {
        content:      "[:en]We are first[:ru]Мы были первыми гостями[:ET]Oleme esimesed";
        display:      block;
        font-size:    0.7em;
        font-weight:  normal;
        opacity:      0.7;
    }

    It made two languages the same font/style/size as the “Site description” and only one the way written in CSS.

    Also every time i click “Home” the language goes to default.

    Tried re-installing all to a different site and having the same issues.

    Thank you for your help acub, sadly changing the ET to et, or removing it, replacing didn’t help.

    Only error i get is:
    event.returnValue is deprecated. Please use the standard event.preventDefault() instead. jquery.js?ver=1.10.2:4

    Don´t think this error is the problem thou.

    I´m not using spaces and the [:ET] “works” with big letters – its set like that. Also not working anymore is the language_selection_menu-..it only works for one language, but i use three. Customized with:

    add_action('__logo_title', 'qtr_language_changer');
    function qtr_language_changer() {
    	echo qtrans_generateLanguageSelectCode('image');
    	}
    In style.css:
    
    ul.qtrans_language_chooser {
    position: fixed;
    list-style-type:none;
    margin: 132px 0 0 3px;
    background-color: rgba(51, 102, 153,.35);
    box-shadow: 2px 5px 7px rgba(0,0,0,.21);
    border-radius: 10px;
    border: 1px rgba(255,255,255,.5) solid;
    padding: 7px 10px 7px 22px;
    left: -17px;
    -webkit-transition: background-color 200ms linear;
    -moz-transition: background-color 200ms linear;
    -o-transition: background-color 200ms linear;
    -ms-transition: background-color 200ms linear;
    transition: background-color 200ms linear;
    z-index: 201;
    }
    ul.qtrans_language_chooser:hover {background-color: rgba(153,204,255,.65); box-shadow: 3px 8px 10px rgba(0,0,0,.15);}
    ul.qtrans_language_chooser li.active {display: none;}
    ul.qtrans_language_chooser li a {width: 32px; height: 32px;}

    Any ideas why that is?

Viewing 15 replies - 1 through 15 (of 17 total)