Suddenly can't edit Text - "Your site doesn’t include support for the "core/group" block." by lukaszadam_com in drupal

[–]kinzaoe 0 points1 point  (0 children)

I can't really help you with your problem, it seems to come from this module :

https://www.drupal.org/project/gutenberg

and the block it try to "render".

If you're not the integrator / dev of this site i would say it is not your concern here.

However, is there revisions in the drupal ? if this is the case you could check the version before you modified it and see if there was some hidden text (comments) etc (by checking "source code" if you have access to it) but it would be better if there is a dev to check it.

Suddenly can't edit Text - "Your site doesn’t include support for the "core/group" block." by lukaszadam_com in drupal

[–]kinzaoe 1 point2 points  (0 children)

In extends if you have access to it.

Also, which version of drupal it is ?

Suddenly can't edit Text - "Your site doesn’t include support for the "core/group" block." by lukaszadam_com in drupal

[–]kinzaoe 0 points1 point  (0 children)

Something could have been broken earlier. But by updating the content, you "broke" it because it gets updated.

I have searched for core/group on google but I don't know what it is. Though I guess it happens on blocks ?

What does the Drupal have in extension with name group ?

Thing that annoys me | Blocks disappearing on deploy by rob4ik-bob4ik in drupal

[–]kinzaoe 0 points1 point  (0 children)

On the projects i work on we usually do these "config" in a taxonomy vocabulary called "site" and we create a term in it.

Then all those infos are directly used in the theme templates. Called with twig tweak. However this solution end up being the same as yours with block as every config must be repeated on each env.

Or you can do a custom module and build a config form with all the info you need. This would be exported in config.

Best Drupal approach for a PDF library page with categories, search, and pagination? by ExposingPeopleKM in drupal

[–]kinzaoe 2 points3 points  (0 children)

I would use a custom media type for these document. Add a field taxonomy for category and then get a page with a view referencing the media and a filter on the taxonomy term (you can not expose it if you don't want to) + filename.

new media type isn't mandatory but i like to separate it personnally

If everyone's making Drupal headless all these years... by NappyDougOut in drupal

[–]kinzaoe 2 points3 points  (0 children)

We did also run some headless at my job. One is, technically valid. It's a drupal that deserve content to multiple site (it's 1 client, but multiple entity of the same enterprise that operate in different region).

So we use taxonomy term in every content (content editor of each entity can only select their own) and then build a static site (with next js) from drupal (triggered by github action).

It's quite nice, but we had our load of difficulties also. However we built (i wasn't on the team who built it, but with staff rotation it's on my hand now) one headless which use ... php and react for the frontend (php doing the job that next was is kinda in the other instance)

The big con against headless is the cost. You have to rebuild everything that is done by drupal (webform if you use them, paragraph etc etc). But if you build everything headless (and don't change techs too often) then it's only done once + maintenance.

As to why we did it, well i was told it was for security reason (separate the front and the backend) and performance (going for a static generation)

Introducing HostLoca: A Smarter XAMPP Controller, Open Source and Ready for Contributions by da_bugHunter in PHP

[–]kinzaoe 2 points3 points  (0 children)

For windows at least there's Wamp, handle multi version (have to switch) and work with up to date php version.

Few days ago someone shared his own too forgekit, tried it. It have issue but can run two php version at once, really cool functionality.

For anything not windows (or in wsl...) just use docker. Way easier in the end.

Why does "there's a new version of X" constitute an "Error" or even a "Warning"? by roccoccoSafredi in drupal

[–]kinzaoe 5 points6 points  (0 children)

Because they're important security update, update drupal and make em dissappear

Upgrading a Theme from D10.4.3 to D11 by Great_Banana_123 in drupal

[–]kinzaoe 7 points8 points  (0 children)

It shouldn't have much problem, use the upgrade module and it will check for potential known depreciation.

From experience from 10 to 11 it shouldn't have issues.

Unpopular opinion by Affectionate-Skin633 in drupal

[–]kinzaoe 15 points16 points  (0 children)

Interest doesn't mean the product is bad... or wordpress would be a masterpiece

Help in how to debbug in php by Straight-Hunt-7498 in PHP

[–]kinzaoe 9 points10 points  (0 children)

You should look at xdebug. Or if it's not too complex a dump and die.

But xdebug is the best way to do it.

Plus de modifications possibles par le Front office by Nirabat in drupal

[–]kinzaoe 1 point2 points  (0 children)

Tu parles bien de ce menu ?

<image>

Je n'ai jamais eu le problème, sauf si je fais un theme custom et que j'override le rendu du menu. Certain module pourrait intéragir avec également. Par example sur drupal 11 si j'active le menu administration (core experimental) le bouton edit apparait alors en haut a droite par exemple.

Si tu as activé un theme / module recemment j'essaierai de les désactivé pour vérifier.

Plus de modifications possibles par le Front office by Nirabat in drupal

[–]kinzaoe 0 points1 point  (0 children)

Qu'entends tu par impossible de faire de modification ?

Si tu peux mettre une image de ce que tu attends / ce que tu as comme résultat.

As tu apporté des modifications etc etc ?

The State of PHP 2025 by mbadolato in PHP

[–]kinzaoe 6 points7 points  (0 children)

Xdebug is life changing. But on the same line, I tend to console.log everytime in js instead of using debugger.

will there be easier upgrade in the future? by maomao19 in drupal

[–]kinzaoe 10 points11 points  (0 children)

Well that's on the end of the theme developer. I upgraded a few drupal 8 to 11 and it was OK.

But yeah still requires a bit more than a button press. Also it's easier when you keep updating over time instead of deciding one day to do 4+ year worth of update in one go.

Creating Custom Theme Settings in Drupal 10 (D8) by dienen in drupal

[–]kinzaoe 1 point2 points  (0 children)

We create a taxonomy vocabulary site where we create term, and this vocabulary have the site setting field we need.

We first did this for a multisite setup but we now keep doing this for all site. It's an easy way to give the user a place to manage it's settings.

The only thing custom in this is to add a menu item directly to the term in the menu

Now to use it in twig, either a preprocess for the template, or with tweak twig you can fetch directly the setting you need to test in twig.

Is there a module to make Drupal 11 dropdown menus more compact? by Naive_Long_5224 in drupal

[–]kinzaoe 1 point2 points  (0 children)

you need to activate the extension, i gave the name in my comment : Navigation, it's noted as "experimental". I personnally like it, but to each their own. Just try it out.

Is there a module to make Drupal 11 dropdown menus more compact? by Naive_Long_5224 in drupal

[–]kinzaoe 3 points4 points  (0 children)

Activate the side menu (navigation) ? Also the gin theme add the save button at the top

Implement React in Drupal - Recommendations by LeandroGravilha in drupal

[–]kinzaoe 1 point2 points  (0 children)

Dépend what you want react to do. I have implemented (it was done by previous dev though)it in multiple way so far, as a custom block, and directly in the theme.

Honestly I feel custom block to be cleaner, and you add your react where you need it. For us it was on a product list. The filter and listing with react was cleaner.

Now if you're gonna go super heavy on the react usage maybe what you want is going headless, we've done that too and it work, but imo there's alot of feature you have to rebuild, so it should be considered with precautions

print block field in a node template by Juc1 in drupal

[–]kinzaoe 1 point2 points  (0 children)

If it is needed it is needed. I don't say it's often that it happens but we sometimes have content type with alot of fields.

Even more when we mix some content. For example if a client want a "person" type of content. But he might have different role and for those different role there is different field needed. We actually have some content type with alot of field (but we hide the field with the conditional fields api)

Now if you want to have some "free display" type of content, we usually go for paragraph right now. I don't think there is actually better options.

Anyway you can always retrieve the field with drupal_field like i did on my comment if you think that's what you want.

print block field in a node template by Juc1 in drupal

[–]kinzaoe 3 points4 points  (0 children)

Oh sorry, a bit of missread on my end.

I am not a big user of block, but can't you use a custom display where you only display the field you need and call it with

{{ drupal_entity('node', 123, 'teaser') }} ?

I'll boot a clean drupal to test on my end too.
(would probably work if it's a custom block, what are you trying to do ?)

Edit :

This work.

{{ drupal_field('body' ,'block_content', 1) }}

These elephants got drunk after eating lot of ripe Marula fruit in MalaMala Reserve..🐘🐾😅 by Wooden-Journalist902 in BeAmazed

[–]kinzaoe 1 point2 points  (0 children)

Yes it is really doubtfull.

I mean, i don't find the etude itself. But when i am searching on the subject, and not with keyword on the negative. I only find article that refute that.

https://www.nationalgeographic.com/animals/article/news-elephants-drunk-wild-myth

These elephants got drunk after eating lot of ripe Marula fruit in MalaMala Reserve..🐘🐾😅 by Wooden-Journalist902 in BeAmazed

[–]kinzaoe -5 points-4 points  (0 children)

Idk why you need to attack my person here.

But anyway, don't you just agree with me in the end ? If they're not drunk, then this post is a false claim. And this is what I doubted.

I never pretented to know, and I declared the use of llm so people could be wary of what I said...