No dynamic categories in multisite installation
-
Hi,
i have installed your plugin in a multisite environment. On the mainsite everything is fine. On any other site your plugin is working (that is great), but it has some small issues:
1. categories section in sidebar is missing (admin), no site-specific categories possible
2. categorized (necessary/non-necessary) cookies will not be displayed in privacy overview tableFor the first problem, I don’t have an error description or a solution at hand right now.
The second issue is caused by handling of the array $atts in function cookielawinfo_table_shortcode( $atts ):
It is assumed to be an associative array. This is only true for the main page. Other pages use a numeric array, example:
0 => ‘style=”winter”‘,
1 => ‘category=”non-necessary”‘
…In this case, the table is generated with all cookies.
Correct would be however:
‘style’ => ‘winter’,
‘category’ => ‘non-necessary’,
…Maybe it is possible to fix these errors in the near future.
Thank you
- The topic ‘No dynamic categories in multisite installation’ is closed to new replies.