Support » Plugin: Asesor de Cookies RGPD para normativa europea » Problema, no se ve el aviso de cookies

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Author cdoral

    (@cdoral)

    Hi, you have jQuery disabled on your website, my plugin uses this javascript library.
    ===============
    Hola, tienes desactivado jQuery en tu web, tienes otros plugins que también se están quejando por el mismo motivo.

    Un saludo.

    El resto de pluging me funciona sin problema.
    He incorporado <?php wp_enqueue_script(‘jquery’ ); ?> a mi header, pero sigue sin funcionar.

    Nadie sabe qué ocurre.. creo que tendré que usar otro plugin.. 🙁

    <!DOCTYPE HTML>
    <!--[if lt IE 7]>      <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
    <!--[if IE 7]>         <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
    <!--[if IE 8]>         <html class="no-js lt-ie9"> <![endif]-->
    <!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
    
    <html>
    <head>
    <meta charset="utf-8">
            <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
            <title> <?php wp_title('') ?> </title>
    
            <meta name="viewport" content="width=device-width">
            <meta name="HandheldFriendly" content="True">
            <meta name="MobileOptimized" content="320">
    
    <!-- fuentes, script, css -->
    
         <!-- Empieza código de WordPress -->
            <?php wp_head() ?>
            <?php wp_enqueue_script('jquery' ); ?>
            <!-- Acaba Código de WordPress -->
            <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
    
    <link href='http://fonts.googleapis.com/css?family=Pontano+Sans' rel='stylesheet' type='text/css'>
    <link rel="stylesheet" href="<?php bloginfo(template_directory); ?>/css/menu.css">
    <link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'stylesheet_url' ); ?>" />
    <link rel="stylesheet" href="<?php bloginfo(template_directory); ?>/css/themes/light/light.css" type="text/css" media="screen" />
    <link rel="stylesheet" href="<?php bloginfo(template_directory); ?>/css/nivo-slider.css" type="text/css" media="screen" />
    
    <link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet">
    
    <script  type="text/javascript" src="<?php bloginfo(template_directory); ?>/scripts/jquery.carouFredSel-5.5.2.js" type="text/javascript"></script>
    <script  type="text/javascript" src="<?php bloginfo(template_directory); ?>/scripts/jquery.easing.1.3.js"></script>
    <script  type="text/javascript" src="<?php bloginfo(template_directory); ?>/scripts/jquery.form.js"></script>
    <script  type="text/javascript" src="<?php bloginfo(template_directory); ?>/scripts/scripts.js"></script>
    <script  type="text/javascript" src="<?php bloginfo(template_directory); ?>/scripts/jquery.js"></script> 
    
    <script>
    jQuery( document ).ready( function( $ ) {
    
            $('body').addClass('js');
              var $menu = $('#menu'),
                  $menulink = $('.menu-link'),
                  $menuTrigger = $('.has-submenu > a');
    
            $menulink.click(function(e) {
                e.preventDefault();
                $menulink.toggleClass('active');
                $menu.toggleClass('active');
            });
    
            $menuTrigger.click(function(e) {
                e.preventDefault();
                var $this = $(this);
                $this.toggleClass('active').next('ul').toggleClass('active');
            });
    
    });
    </script>
    
    <script>
      (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
      (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
      m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
      })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
    
      ga('create', 'xxxx', 'xxx');
      ga('send', 'pageview');
    
    </script>
    
        <!-- fin fuentes, cript, css -->
    
    </head>

    I’m sorry but these are English language forums, so please use English or provide an English translation. Alternatively, use a WP support forum in your language.

    Plugin Author cdoral

    (@cdoral)

    Hi, I don’t know what happens, if I could spend time I help you, but at this moment it’s impossible.

    Thanks,
    ==========================
    Hola, no sé qué puede estar fallando en tu web, es una pena porque ahora no tengo tiempo pero si no te intentaría ayudar, lo siento.

    Un saludo.

    Hi,

    I have the same problem.

    I checked jquery is installed. I disconnected cache memory. I included a script in header.php to load jquery.

    Please, tell us where the problem could be.

    The site which is not working is: http://juliansastre.com/

    Best regards.

    @khairos Solutions: If you require assistance then, as per the Forum Welcome, please post your own topic.

    Plugin Author cdoral

    (@cdoral)

    Hello.

    I check your website, I think the admin url fails, i don’t know sure…
    If you like my plugin I can check the problem inside your web, I should need FTP and WP access to check the code…

    Thanks.
    Best regards-.

    fermars

    (@fermars)

    Hello, what did you finally do to make it work in http://juliansastre.com/? I have the same problem, the plug-ing does not show any advice, even when I click on “test” button.

    Thank you.

    Plugin Author cdoral

    (@cdoral)

    Hi fermars!

    I don’t know what happens…. I checked your website, it’s dificult check any problem outside WP admin panel….

    I checked my plugin with Inovado theme and WP 3.7 and 3.8 and works right.

    I think it can be some conflict with another javascript library…. You can disable other plugins and check again….

    Contact with me for any question.

    Thanks!

    Tengo el mismo problema si veo el mensaje en previsualización pero luego en la web no.

    @petete2012: If you require assistance then, as per the Forum Welcome, please post your own topic. This topic references an old version of WordPress.

    Also these are English language community forums, so please use English or provide an English translation. Alternatively, use a WP support forum in your language.

    The message didn’t appear in my page, but i SOLVED it copying 2 of the scripts that make the plugin work, before the end of head in the header.php of my theme.

    Follow these steps:

    1.- Edit the header.php of your theme (it is in the root folder of the theme)
    2.- Locate </head>
    3.- Copy this 2 scripts before the </head>

    <script type=’text/javascript’ src=’http://your_web_url/wp-content/plugins/asesor-cookies-para-la-ley-en-espana/html/front/_jquery.kookie.js?ver=3.8.1′></script&gt;

    <script type=’text/javascript’>
    /* <![CDATA[ */
    var cdp_cookies_info = {“url_plugin”:”http:\/\/your_web_url\/wp-content\/plugins\/asesor-cookies-para-la-ley-en-espana\/plugin.php”,”url_admin_ajax”:”http:\/\/your_web_url\/wp-admin\/admin-ajax.php”,”comportamiento”:”navegar”};
    /* ]]> */
    </script>

    You can find these lines of code in the index page of your wordpress when visiting it. See the code of the page and you will find them there in the head.

    I know this fix is a bit nasty (repeating js code is not very clean) but at least it makes this great plugin works.

    You can see it working in http://www.biddus.com/blog/

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Problema, no se ve el aviso de cookies’ is closed to new replies.