Viewing 16 posts - 1 through 16 (of 16 total)
  • Author
    Posts
  • #957584

    Hi,

    The WPML flags does not load but the files are located on the server.
    WP: 4.9.5
    Enfold: 4.3.2 WPML: 3.9.4

    #957768

    Hey Anton,

    Please check by FTP if your image exists in the plugin folder.
    You can try and copy the image from WPML images – \wp-content\plugins\sitepress-multilingual-cms\res\flags\en.png

    Best regards,
    Jordan Shannon

    #957779

    Hi,

    Yes they exists in the folder!

    Regards,
    Anton

    #957786

    Hi,

    Can you see the flags in wpml -> languages -> edit languages?

    Best regards,
    Jordan Shannon

    #957838

    Hi,

    Yes I can see them there but not in the toolbar.

    Regards,
    Anton

    #959213

    Hi,

    From the WPML settings have you enabled Flags view, or text one?

    Best regards,
    Basilis

    #959591

    Flags view of course.

    #960503

    Hi,

    Please post us your login credentials (in the “private data” field), so we can take a look at your backend.

    1. Install and activate ” Temporary Login Without Password “.
    2. Go to ” Users > Temporary Logins ” on the left-side menu.
    3. Click ” Create New “.
    4. Add the email address for the account ( you can use (Email address hidden if logged out) ), as well as the ” Role ” making that the highest possible and the expiry about four days
      ( do be sure that we have enough time to debug ).
    5. Click ” Submit “.
    6. You’ll now have a temporary account. Please provide us here in the private section the URL, so we can login and help you out.

    When your issue is fixed, you can always remove the plugin!
    If you prefer to not use the plugin, you can manually create a admin user and post the login credentials in the “private data” field.

    Best regards,
    Basilis

    #963817

    Hi,

    Here you have a temporary login

    Best Regards,
    Anton

    #965161

    Hi,

    The value of the languages’ “country_flag_url” parameter is missing. Did you add any modifications to the theme?

    Best regards,
    Ismael

    #965305

    Hi,

    No i have not.

    Best regards,
    Anton

    #967607

    Hi,

    I’m sorry for the late response. The login token has expired. Please create another and make the expiry longer.

    Best regards,
    Ismael

    #967852

    Hi,

    Here you go!

    Regards,
    Anton

    #970909

    Hi,

    Thanks for the update. We’re still not sure why the parameter is missing so we had to add this code in the functions.php file as a temporary solution.

    
    add_action('wp_footer', 'ava_custom_script');
    function ava_custom_script(){
    	?>
    	<script type="text/javascript">
    		(function($) {
    			$(document).ready(function() {
    				$('.avia_wpml_language_switch li').each(function() {
    					var code = $(this).find('.language_code').text();
    					$(this).find('a img').attr('src', 'http://pearl.mediaplanering.online/wp-content/plugins/sitepress-multilingual-cms/res/flags/' + code + '.png');
    				})
    			});
    		})(jQuery);
    	</script>
    	<?php
    }
    

    Best regards,
    Ismael

    #970977

    Hi,

    It works for the default language but when you change language the flags are gone again.

    Regards,
    Anton

    #971531

    Hi,

    Did you purge the cache? Please make sure that you’re not looking on a cached version of the page.

    Best regards,
    Ismael

Viewing 16 posts - 1 through 16 (of 16 total)
  • You must be logged in to reply to this topic.