# Custom entries.php

**URL:** <https://discourse.getcockpit.com/t/custom-entries-php/1367>\
**Category:** Support\
**Created:** [April 17, 2020, 9:02am UTC](https://discourse.getcockpit.com/t/custom-entries-php/1367 "2020-04-17T09:02:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![alessandro92](https://avatars.discourse-cdn.com/v4/letter/a/0ea827/32.png) [@alessandro92](https://discourse.getcockpit.com/u/alessandro92)\
**Post date:** [April 17, 2020, 9:02am UTC](https://discourse.getcockpit.com/t/custom-entries-php/1367/1 "2020-04-17T09:02:00Z")

</div>

Hello everyone,  
Is it possible to edit the entries.php file present in modules/Collections/views/partials in complete safety by putting a folder in config as for tags?

Example in config make the cockpit\collections\views\partials folder and put my entries.php

Thanks for the support

---

<div class="post-metadata">

**Author:** ![raffaelj](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.getcockpit.com/raffaelj/32/331_2.png) [@raffaelj](https://discourse.getcockpit.com/u/raffaelj)\
**Post date:** [April 20, 2020, 8:18pm UTC](https://discourse.getcockpit.com/t/custom-entries-php/1367/2 "2020-04-20T20:18:42Z")

</div>

You can’t replace it globally, but per collection. See:

> <https://github.com/agentejo/cockpit/blob/next/modules/Collections/Controller/Admin.php#L205-L211>

So if your collection name is ‘pages’, create a file `/config/collections/pages/views/entries.php`.
