• Resolved jkocken

    (@jkocken)


    When I first installed this plugin this problem did not exist. Recently I did a new cookie scan and added (merged as was recommended) the new cookies to my Cookie List. The new cookies do not have a “Type” assigned in the Cookie Table on my Cookie Policy page.

    When I look at the Cookie List in the back-end of my website I see the columns: “Cookie Name”, “Type”, “Category” etc. the “Type” column is blank and the “Category” contains the information that should be being displayed under “Type”.

    I can manually add this data under Type by opening each cookie and copying from “Category” and pasting under “Type” but this is severely annoying and should just show up in the correct place after scanning.

    There doesn’t seem to be any purpose for the column called “Category” can you merge it somehow without me having to manually do it one by one?

    Thanks.

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support CookieYes Team

    (@cookieyesteam)

    Hi @jkocken,

    Greetings from CookieYes!

    FYI: Cookie Type column is to mention the type of cookie like persistent, session or third party.

    You can mention the columns to be displayed in the audit table using the “columns” attribute in the shortcode as shown below:

    [cookie_audit columns="cookie,type,duration,description"]
    Thread Starter jkocken

    (@jkocken)

    Thanks for your reply.

    Makes sense. But when I put [cookie_audit columns="cookie,category,duration,description"] the Category column still does not show up.

    I need the category to show in my table and it seems it doesn’t do that by default…

    Plugin Support CookieYes Team

    (@cookieyesteam)

    Hi @jkocken,

    There is no option to add category as a column to audit table. But you can list the cookies of each category separately by adding a “category” attribute to the shortcode. For example to list all cookies from Analytics category use the below shortcode,

    [cookie_audit category="analytics" columns="cookie,type,duration,description"]
    Thread Starter jkocken

    (@jkocken)

    Okay that would be an option but unfortunately when I do that the table columns have different widths on each table… (because it automatically resizes to the width of the cookie name) Also each table has headers. Is there also a style to remove headers?

    Plugin Support CookieYes Team

    (@cookieyesteam)

    Hi @jkocken,

    You can use the below code snippet to remove header from the tables other than the first one:

    <script>
     jQuery(document).ready(function() {
      jQuery(".cookielawinfo-simple thead:not(:first)").each(function() {
        jQuery(this).css("display", "none");
      });
    });
    </script>

    Regarding the width issue, please share us the URL where you have implemented this so that we could try for any custom css.

    Plugin Support CookieYes Team

    (@cookieyesteam)

    Hi @jkocken,

    This thread has been inactive for a bit, so we are going to mark it as resolved now. Please feel free to open a new thread or follow-up if you have any further questions or still need help.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Cookie Type not displayed in table’ is closed to new replies.