Hi, Patch #169 working good. greetings,
Hi, is patch #169 🐛 Redirects from aliased paths aren't triggered Needs review good to go? Greetings,
Hi, I experience this issues also, any progress please? Greetings,
Hi Joseph,
I set up a testsite with version 3.00.alpha3. It works as the patch, so https://www.drupal.org/project/shs/issues/3409930#comment-15848470 💬 Save term lineage Drupal 10 Active is still valid.
I only see somehow two issues:
- The newly added term is not shown in the new box, only when I click in the box I see my newly add term "Weibersbrunn (A place in the area aschaffenburg, in the province Beieren in the country Germany :) See attached image
https://www.drupal.org/files/issues/2024-11-08/fill-in-new%20place.jpg →
- Somehow a second new term-add term, is placed at the end of the working new term-add term. I do not know if this is design on my part, I do not think so, because the patch itself doesn't show this? See attached images.
https://www.drupal.org/files/issues/2024-11-08/filled%20in%20new%20place... →
https://www.drupal.org/files/issues/2024-11-08/empty%20code%20new%20term... →
Greetings,
I will set up a testsite to test this. Thanks for building this 3 branch! greetings,
Hi,
it is working fine and connects new terms to nodes.
However I have 4 layers of terms: country , region, province, place
When I add this as one within this great module.
So I add
the country, the existing region, the existing province, the new place
in one, And click save
The result is a nicely one line country-region-province-new place interconnected
But when I look further and want to show the result as terms-lineage it only shows the deepest term.
Somehow using only one line the terms are not all exactly interconnected
When I add this as separate terms
the country
the country and region
the country and region and province
the country and region and province and new place
So I type in 4 records. And click save
The result is a nicely one line country-region-province-new place interconnected
when I then look further the result is correctly the term-lineage and shown as term-lineage like country > region > province > place.
Can the patch be altered as such that only one line of input is necessary for this;
the country, the existing region, the existing province, the new place and still it gives the correct interconnection?
Thanks for integrating these patches, greetings,
Hi, is this module still maintained? greetings,
Hi, Term Hierarchy for terms before and after patch are different used in views, please make them the same.
Older terms saved before for the patch use the Hierarchical Term Formatter normal view separator and the Settings for multiple fields as such that the normal views separator needs to be empty otherwise the following occurs:
normal view separator ">"
multiple fields separator "-"
Parent : USA
Child: New York
Child: New York City
Child: Manhattan
Child
As such USA -> New York ->> New York City ->>> Manhattan
So some how the normal view separator is shown more because of the parent-term relation and place in this relation?
Newer terms saved after this patch do not have this behavior somehow.
So I can't use the normal view separator anymore, because I have thousands nodes with parent-child relations which are showing not the correct .
Correct should be USA -> New York -> New York City -> Manhattan
greetings, Martijn
Hi - can a new release please be tagged for this?
Hi, please then also make it so, that people with the 2.0.12 version see as recommended version 4.0.
Now I see in my drupal /admin/modules/update the recommended version 3.0.
I will update to version 4.0 because of the explanation of this thread. Thanks!
Hi, I am not able to get it to work through composer.
In my composer.json I try this:
"drupal/location_migration": "^1.0.x-dev",
and in patches
"drupal/location_migration": {
"#3288357: Automated Drupal 10 compatibility fixes": "https://www.drupal.org/files/issues/2024-08-29/location_migration-3288357-d11-18.patch"
},
But with drupal/location_migration": "^1.0.x-dev I always get constrains problems.
Greetings,
Hi, Great patch for latest version 8.x-1.25, and preferabel migrated in this module? Is this possible?
greetings,
Hi, I already migrated my main site, but it would be great to have drupal 10/11 version on others. So please, for who it is still very relevant, test and commit! Greetings,
patch #26 worked for me on latest version module, thanks! greetings,
EDIT: SORRY, I SEE THE PATCH IS ALLREADY IMPLEMENTED, SO NOT NEEDED TO PATCH ANYMORE. THANKS, GREETINGS,
summit → created an issue.
Hi, Yes I had the same problem also, thanks for #4, this worked great!
Hi,
I came to this thread because of the same issue. I have a bootstrap subtheme.
I solved it temporaly by 1) changing theme to Claro, 2) do drush updb 3) changing theme back to my theme Bizreview (Bootstrap theme)
How can I solve this structural?
thanks, greetings,
Hi Kewin,
Do you may be have your case as example here, how to do this? Thanks!
greetings,
Hi,
Could I somehow use the hook_shurly_redirect_after() for this?
Something like https://drupal.stackexchange.com/questions/53339/drupal-shurly-before-re... but then for redirect_after?
greetings, Martijn
May be it helps to investigate the warning, that I use Custom Formatters module together with Shurly.
And that I show than the Shurly Custom Formatter in a view.
The Shurly Customer Formatter code is the following:
if ($items->getValue() && isset($items->getValue()[0]['uri'])) {
$shorturl = $items->getValue()[0]['uri'];
//$items->getValue()[0]['uri']; is the field in which the url which I want to use through shurly is set
$shortitem = shurly_shorten($items->getValue()[0]['uri']);
if (isset($shortitem['shortUrl'])) {
$shorturl = $shortitem['shortUrl'];
}
$output = '<a href="' . $shorturl . '" class="btn btn-primary" rel="nofollow" target="_blank"> Output text</a>';
return $output;
}
Greetings,
Hi, I am not a programmer, but does this change of validation removes the 404,
https://www.drupal.org/project/shurly/issues/3463869
🐛
page not found [date/time] / /[shurly short url]
Active
?
#justasking.
greetings,
Hi,
It was indeed a failure on my part. Some custom formatters nodes got value, other not. The one without kicked in the warning!
This did the trick with me:
if ($items->getValue() && isset($items->getValue()[0]['uri'])) {
$shorturl = $items->getValue()[0]['uri'];
$shortitem = shurly_shorten($items->getValue()[0]['uri']);
if (isset($shortitem['shortUrl'])) {
$shorturl = $shortitem['shortUrl'];
}
$output = '<a href="' . $shorturl . '" class="btn btn-primary" rel="nofollow" target="_blank"> ➤ Actuele Tarieven e/o Boeken ! </a>';
return $output;
}
Greetings,
Hi,
And I also read, using eval() is not good practice, see: https://www.exakat.io/en/land-where-php-uses-eval/
Sorry if I am wrong, I am not a programmer.
greetings,
Hi,
could this be a temperal solution to get rid of the warning?
if (isset($data)) {
$output = eval($data);
}
The complete changed code looks than like this:
public function viewElements(FieldItemListInterface $items, $langcode) {
ob_start();
$data = $this->entity->get('data');
if (is_array($data) && isset($data[0])) {
$output = eval($data[0]);
} else {
if (isset($data)) {
$output = eval($data);
}
}
$output = !empty($output) ? $output : ob_get_contents();
ob_end_clean();
return empty($output) ? FALSE : $output;
}
It seems that the warning is gone with this change.
Greetings,
Hi,
I use custom formatters in relation to shurly. Latest Beta4 version Shurly.
Could that have something to do with my problem of these warnings?
This is my Custom Formatters code, for the field Link:
$shorturl = $items->getValue()[0]['uri'];
$shortitem = shurly_shorten($items->getValue()[0]['uri']);
if (isset($shortitem['shortUrl'])) {
$shorturl = $shortitem['shortUrl'];
}
$output = '<a href="' . $shorturl . '" class="btn btn-primary" rel="nofollow" target="_blank"> Shortlink text </a>';
return $output;
Greetings,
Hi, cleared cache multiple times..we use varnish, but cleared that cache also.
Still visitors/_track path errors are in dblog logfile. What could be wrong?
greetings, Martijn
Hi, I did all that Install again, and Uninstall, and only after Uninstall removed the visitors module for now.
But still I got continuously in my logfile, messages like:
Type: page not found
Location: mysite/visitors/_track?_cvar=%7B%227%22%3A%5B%22route%22%2C%22entity.node.canonical%22%5D%2C%228%22%3A%5B%22path%22%2C%22%2Fnode%2F4693%22%5D%2C%229%22%3A%5B%22viewed%22%2C%22node%3A4693%22%5D%7D&_id=b861f5479f9d1656&_idn=1&_refts=0&action_name=Bed%20%26%20Breakfast%20Le%20Brame%2C%20Senlis%20%2F%20Chantilly%2C%20Picardie%2C%20Snelweg%20A1&cookie=1&h=22&idsite=1&m=10&pf_dm1=3078&pf_dm2=699&pf_net=0&pf_onl=1&pf_srv=88&pf_tfr=0&pv_id=yYP1yS&r=559595&rec=1&res=800x600&s=48&send_image=0&uadata=%7B%7D&uid=0&url=https%3A%2F%2Fwww.hotels-onderweg.nl%2Fbb-le-brame
Message: /visitors/_track?action_name=Bed%20%26%20Breakfast%20Le%20Brame%2C%20Senlis%20%2F%20Chantilly%2C%20Picardie%2C%20Snelweg%20A1&idsite=1&rec=1&r=559595&h=22&m=10&s=48&url=https%3A%2F%2Fmysite%2Fbb-le-brame&uid=0&_id=b861f5479f9d1656&_idn=1&send_image=0&_refts=0&_cvar=%7B%227%22%3A%5B%22route%22%2C%22entity.node.canonical%22%5D%2C%228%22%3A%5B%22path%22%2C%22%2Fnode%2F4693%22%5D%2C%229%22%3A%5B%22viewed%22%2C%22node%3A4693%22%5D%7D&pv_id=yYP1yS&pf_net=0&pf_srv=88&pf_tfr=0&pf_dm1=3078&pf_dm2=699&pf_onl=1&uadata=%7B%7D&cookie=1&res=800x600
Seriousness: Warning
Thanks for going into this again.
greetings,
Hi, no it was the memory size, not the database.
Hi, Thanks!
I did just that:
- Installed Visitors again
- Enabled Visitors
- Uninstalled Visitors
- Composer remove drupal/visitors
Now tomorrow looking if this changes anything in my dblog.
Thanks for your quick reply,
greetings,
Summit → created an issue.
Hi, could it be related to
https://www.drupal.org/project/custom_formatters/issues/3404747
🐛
Does not work with drupal 10
Needs review
?
I did add this patch...and still got these warnings back going to drupal 10.3.1
thanks for your reply in advance,
greetings,
Hi, great this is solved! Where can I find the best patch to use now on Drupal 10.3.1?
Is it
https://www.drupal.org/files/issues/2023-09-01/3384600-5.patch →
Or will there very soon be a Drupal 10.3.2 with this patch on deck?
Greetings and again thanks for solving it,
Hi, Patch is working. Greetings,
Hi,
I can't show a GIF. It is just still there. I can send you a small video clip I made?
No error in the errorlog, sorry.
Greetings,
Hi, tried
https://www.drupal.org/project/drupal/issues/3357596#comment-15693587
✨
Add contextual menu item on blocks to allow disabling them
Needs work
and indeed a -disabled block- feature arises.
But the block is still shown. And there is no -enabled block- feature. So I do not know if it is working?
greetings and thanks for building this,
Hi, would it be possible to have a Drupal 10.3 patch for this?
As Drupal 10.3 is the most stable version at this moment?
Thanks a lot to consider this.
Greetings,
Hi, would it be possible to have a patch for this in Drupal 10.3?
I am looking for this functionality in latest stable Drupal version.
Thanks for your reply in advance,
Greetings,
Hi,
Can I use this patch on Drupal 10.3.1?
https://www.drupal.org/files/issues/2024-06-28/3163197-32.patch →
Thanks for building it! Greetings,
Hi,
Sorry for late reply.
With Patch https://www.drup al.org/files/issues/2023-12-19/3409669.patch warning still occured.
But with check of
https://www.drupal.org/project/shurly/issues/3409669#comment-15406117
🐛
Deprecated function: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in shurly_validate_long()
Closed: cannot reproduce
it seems to be gone away.
Can you please build this in the patch please?
Thanks in advance,
greetings,
Hi, having the same issue, is there already a patch underway?
thanks for your reply in advance, greetings,
Hi, I thought the patch worked, but now under Drupal 10.3 with custom formatters, and adding https://git.drupalcode.org/project/custom_formatters/-/merge_requests/4.... to my composer.json
the warning is:
Warning: Trying to access array offset on value of type null in eval() (regel 2 van custom_formatters/src/Plugin/CustomFormatters/FormatterType/PHP.php(46)
Greetings, Martijn
Hi, great you made the patch, could you attach it, so I can link to it within my composer.json file?
thanks in advance!
greetings,
Summit → created an issue.
Hi, I think this patch is also needed on new drupal 10.3.0.
After installing that version, this depreciation message occurs.
Greetings,
Hi, would it be possible to make this as a patch, the 2 lines from
https://www.drupal.org/project/jquery_ui_draggable/issues/3337831#commen...
💬
The following theme is missing from the file system: jquery_ui_draggable
Active
?
After updating to Drupal 10.3.0 I got the same error.
Thanks and greetings,
Hi Jeremy,
Where did you put the css please in the theme?
I have the same problem, that the cookie banner with every refresh arises again.
greetings,
Hi,
EDIT: Was a caching issue, working now.
greetings,
Him for me the same, installed, enabled, not filter showing...
greetings,
hi,
I had exactly the same, no errors in the errorlog..
greetings,
Hi, we tried this solution. But it didn't work some how. When we use this combined with google ads...the referrer is not staying correct, and therefor the counting fot google analytics is not working correct anymore. Any one else same kind of outcome?
greetings,
Hi, Yes I saw those posts, but they didn't work. Somehow the referrer to google analytics changes when we use eu_cookie_compliance and when people accept the cookies, the referral is changes, so google analytics is not counting correctly?
Does anybody else have this situation please?
greetings,
Hi, +1 for easy recipe for dummies!
Thanks in advance,
greetings,
Hi, what is the status of this issue please?
Thanks for your reply in advance,
greetings,
Hi, it would be great to have this patch put into Google Analytics module, while GDPR modules do not fix this, and google analytics is the major cookie setter to handle with GDPR for my situation.
Is it ok when I reopen this for latest Google Analytics module? Otherwise close it again, but until now I do not see solution to prevent adding analytics code if the cookie allowed cookie (hehe) is not set.
Greetings,
Hi,
After looking into this, for me also still this is the problem:
I do not see any noticeable effect on the cookies with any setting. It also does not reload the page after rejecting cookies!
Is this functionality which should be in this module, or do we have to look elsewhere?
Greetings,
Hi,
This still not working in latest .dev. Can this be submitted please? Greetings,
Hi,
I my case it kicks in without a setting. The vocabulary must allow adding new terms. I do not know exactly how my builder from Oekrain made it, but it is working.
Greetings,
Hi, thanks for your renewed effort. I have it working using the patch I brought in. And it is only working when the Save New term option is triggered. I think putting this in a submodule is the best option, so people can choice to save new terms, or not.
I am not a programmer, but I can show screenshots of my site if needed? Greetings,
For me the same problem. Is there a fix?
greetings,
Hi, little busy, many thanks! is it now in 1.dev? Greetings,
Hi,
May be to do with;
https://www.drupal.org/project/drupal/issues/2686145
🐛
Formatter third party settings missing from Views UI
Needs work
?
greetings,
Hi, The problem is the 1001 of this module, an "add-on" module, cookie_content_blocker needs then to be set to 1002, and that is out of range of the Module Weight Module. That module goes only to 100..
Greetings,
Hi, Will with this change the module weight of the module be something like 11 if 10 is the highest value?
greetings, Martijn
I agree this would be great idea. There are situation we need to change module weight, I have it now with cookies, see:
https://www.drupal.org/project/cookie_content_blocker/issues/3203376#com... →
I would love to reopen it. And it would be great to have the possibility to change the module weight if necessary in .info !
Hi, For me it is the google analytics cookies I want consent of the anonymous user. What settings do I need for Cookie Content Blocker with EU Cookie Compliance to work as such that the cookies are not placed until the user gives consent?
My core.extention.yaml consists only out:
module: {}
theme: {}
profile: ''
Thanks for your reply in advance, and I do not want to hijack this issue, but it seems relevant, right? Greetings,
Hi, On drupal 8-10 I found these helpfull pages, but not a plain solution:
I use eu_cookie_compliance/ with latest 4.dev module google_analytics. I just added the Google Analytics code into the footer.
I see lots of issues about it.
- https://drupal.stackexchange.com/questions/297290/how-to-block-third-par...
-
https://www.drupal.org/project/eu_cookie_compliance/issues/2933614
✨
[2.x?] How to block cookies until the user accepts, for example Google Analytics cookies?
Needs work
-
https://www.drupal.org/project/eu_cookie_compliance/issues/3254826
🐛
Disabling Javascript with "Opt-in with categories" enable seems to not work
Postponed: needs info
-
https://www.drupal.org/project/eu_cookie_compliance/issues/3312879
🐛
Disable JavaScript isn't completely working (to prevent cookies before consent)
Postponed: needs info
Hi, It seems this is the god-issue about getting a noticeable effect on the cookies with any setting. In my case without a patch on latest eu_cookie module, It also does not reload the page after rejecting cookies. What to do please?
Sorry for earlier making
https://www.drupal.org/project/eu_cookie_compliance/issues/3425103
🐛
There is no noticeable effect on the cookies with any setting. It also does not reload the page after rejecting cookies.
Active
, but after further investigation I found more issues about this.
Thanks for your reply in advance, greetings,
Hi, Should I use 2.dev of this module, and google analytics 4.dev to get this working together?
Thanks for your reply in advance, greetings,
Hi, When is this committed please to latest 4.x-dev?
Thanks for your reply in advance, greetings,
Summit → created an issue.
Hi, Yes tested and working. Thank!
Hi, That would be awesome also!
Hi, great this solution is working for you.
For me because I had allready nodes with the lineage in drupal 6..7..it didn't work.
Now with both patches I can add new terms on node-edit page, and the term lineage is saved!
May be the term lineage could be placed in a submodule?
greetings, Martijn
Him this was a specific CKEditor issue, instead of an AI issue. Greetings,