Account created on 20 April 2014, over 10 years ago
#

Recent comments

🇳🇱Netherlands PatrickScheffer

Hi Lili, Thanks for the compliment! Your example is a bit bare, could you elaborate a bit further? Maybe a step by step instruction how you expect this to work?

🇳🇱Netherlands PatrickScheffer

No, I'm afraid that's not possible. This module only works with fields within 1 node.

🇳🇱Netherlands PatrickScheffer

I agree, and there are probably more modules for which support would be useful. If there were more maintainers of this module I'd accept your request, but for now I have to limit the support to maintenance only.

I'd be happy to accept any patches, so don't let me stop of discourage you from messing with my code. :)

🇳🇱Netherlands PatrickScheffer

Thank you for your nice words, I'm glad it helps you. :)

A better GUI would be nice, but that would mean a complete overhaul of the config storage. Maybe somewhere in the future. ;)

I'm closing this issue.

🇳🇱Netherlands PatrickScheffer

Glad to hear, I've released version 8.x-1.4 containing this fix.

🇳🇱Netherlands PatrickScheffer

Thanks for testing. I thought I fixed a bug by adding an AJAX call check, but that broke the AJAX calls themselves. I removed the check and solved the bug another way so everything should be fine now. Can you check again?

🇳🇱Netherlands PatrickScheffer

Alright, I rewrote the code so all entity references are supported in paragraphs, can you check again? Also, can you check if adding new paragraphs still work after applying a template? I encountered a bug saying "An illegal choice has been detected." when I tried to add a new paragraph. I fixed this in D10, but I think you're using D9 so it would be nice if you could test this.

🇳🇱Netherlands PatrickScheffer

I think I finally understand the problem. When selecting a template, it creates a new URL to redirect to. This URL is the current URL with the template parameter added to it, it ignores other parameters. I pushed an update to the 8.x-1.x branch which includes the existing parameters in the redirect URL. Can you test it?

🇳🇱Netherlands PatrickScheffer

Glad to hear you found a solution. Can I close this issue?

🇳🇱Netherlands PatrickScheffer

Have you checked the Conditional Fields issues? I found this one for D7, but I'm not sure if they fixed it in >D8: https://www.drupal.org/project/conditional_fields/issues/2577621

🇳🇱Netherlands PatrickScheffer

I pushed a fix for the entity reference in the 8.x-1.x branch, can you verify if it works?
For the select list you should use the option key in the template.

🇳🇱Netherlands PatrickScheffer

A template applies to the complete node form. If you select another template, the whole form refreshes and gets filled with values from the selected template. If a field is not in the template, it stays empty. So if you want an entity reference to be pre filled in multiple templates, all of those templates should have that field configured.

Production build 0.71.5 2024