0

So we had an "old" Craft 3.1.* instance that i needed to update. Which is now running on Craft 3.7.20.

This instance does have a Module which introduces a new ElementType with its own custom CP Index Page and crud twig templates.

The Problem is now that after updating, the index page is no longer loading and displaying the entries. And i only have one console error to guide me.

Is there a documentation that i did not read or maybe someone has an idea where to start looking.

1 Answer 1

0

I found the solution to my Problem and hopefully this will help other people in the feature.

My problem was inside my custom CP Panel indexpage twig file. In an earlier version of Craft you could simply overwrite the {% block header %} and place custom action buttons for my own save and edit actions.

But after a certain update the layout inside the Craft CP was reworked and this no longer worked.

  • Now this is simply done by overwriting the dedicated {% block actionButtons %} to achive this goal.

!overwriting the {% block header %} breaks crafts elementindex view!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.