🇵🇱Poland @SebaZ

Account created on 15 February 2013, over 11 years ago
#

Recent comments

🇵🇱Poland SebaZ

It is not fixed because module still remains as compatible with all 9.x versions, it should require ^9.4 | 10 or split into 2 versions like Reroute Email done it earlier 🐛 Use of ModuleHandler::invokeAllWith() breaks Drupal with core < D9.4 Fixed :

  • one branch for older ^8.8 || <9.4
  • second branch for ^9.4 || ^10
🇵🇱Poland SebaZ

Try this module.
As I mentioned before. It is a copy of Counter field in Views called Counter fixed output. This module extends core Counter Views plugin class and overrides

render()

method.

🇵🇱Poland SebaZ

Counter is written per project so I can't share it.

Just extend Counter class.
Remember that unique name of counter which is ViewField you have to set in annotation. You will need config schema also.

🇵🇱Poland SebaZ

I've made my own counter. It is just a plugin to the Views module so copy the original one, inherit the original class and override methods shown in patches. Works a hell :)

🇵🇱Poland SebaZ

The same problem here. WebP option is not available in Convert types list.

🇵🇱Poland SebaZ

@Abyss
that's what I wrote in proposed resolution: change requirements ;)

🇵🇱Poland SebaZ

Are you sure about that "Limit allowed HTML tags and correct faulty HTML" filter is not required?

How do you manage issue with bugged or not working resizing on edit again after save a content? Resizing works only before save the node. Later it is impossible without this filter.

🇵🇱Poland SebaZ

Are you trying to use it with CKEditor 5? Have you read instruction especially:

4. Enable the filters Limit allowed HTML tags and correct faulty HTML, Resize media images and Embed media. The Resize media images filter needs to run before the Embed media filter.

5. Configure the Embed media filter to allow at least the Image media bundle to be inserted. Resizing for other media bundles is not supported at this point.

🇵🇱Poland SebaZ

It should be wider explained on module page. Maybe some difference to Entity Clone?

@orakill explanation in #2 reminds me how node_clone worked in D7 which was pre-filling form and was allowing you to save the node (with proper filling missing fields) or not.

🇵🇱Poland SebaZ

It can be recursion problem as mentioned in #2 but also it can be that your entity with sub-entities are very big to clone it in one step.

🇵🇱Poland SebaZ

It is duplicate and works as designed. You have to select Clone entity option for reference field to paragraphs

🇵🇱Poland SebaZ

In my opinion it works as designed.

@mei2020 in #3 💬 Views paragraph relationship broken on old entity after clone. Closed: works as designed described how it works and how it has to be done. Reference have to be cloned to separate old and new node with different values in reference field. Especially when you are not only linking to some entity but if you create new one with node.

🇵🇱Poland SebaZ

Entity usage is really big thing! But... inline upload with ckedior adds simple file:image entity reference in file_usage db table. There is one problem, it not follows after deleting it from body field ;) but still there is a logic which can be used to fill custom hidden reference field storing media added to node.

🇵🇱Poland SebaZ

@mfby2k
check this issue CKEditor 5 compatibility 📌 CKEditor 5 compatibility Active

However, so far, you will need to run the CKEditor 4 legacy module ( https://www.drupal.org/project/ckeditor ), which, as of now, is supported until end of 2023 only.

If you want to continue running Insert, it is possible to upgrade to Drupal 10, though an upgrade to CKEditor 5 is not possible at the moment.

🇵🇱Poland SebaZ

No, I've dropped the idea of using Webforms to this task. Entityform did what I want without special integration.

🇵🇱Poland SebaZ

It looks like it is not fixed in 100% because of passing contextual filters as arguments.

When you set path to sorting page with argument placeholder like /admin/content/sort/% where argument is taxonomy_term referenced by nodes it is not working. There is an error with no arg_0.

AH01071: Got error 'PHP message: Uncaught PHP Exception Symfony\\Component\\Routing\\Exception\\MissingMandatoryPara
metersException: "Some mandatory parameters are missing ("arg_0") to generate a URL for route "view.slider.page_1"." at /var/www/html/core/lib/Drupal/Core/Routing/UrlGenerator.php line 182'.

It looks it tries to find or add argument but there is no one.

It works only if you have unique sorting page path. When you want dynamic sorting by contextual filter as an argument it is not working.

🇵🇱Poland SebaZ

Update to 2.0 version of DrqaggableViews module is solving this problem Introduce Contextual Link to Reorder View Page Introduce Contextual Link to Reorder View Page Fixed .

Patch in linked issue can work on 8.x version too. It adds just 2 news hooks altering contextual links and adding special one for ordering.

🇵🇱Poland SebaZ

You are right!
Patch from post #3 in this issue (#3177867: Adding a 'Paragraphs' field to a Feed's mapping throws error) 🐛 Adding a 'Paragraphs' field to a Feed's mapping throws error RTBC and patch from post #9 from mentioned issue 🐛 Only allowed to map to 'text' fields in Feeds Needs work showed elements in the list.

🇵🇱Poland SebaZ

The same here, patch only eliminates error but not solves problem with no fields from paragraph to choose. List is empty.

Production build 0.69.0 2024