# Exporting a custom module

**URL:** <https://www.dolibarr.org/forum/t/exporting-a-custom-module/24303>\
**Category:** Installing my Dolibarr\
**Created:** [September 19, 2023, 11:36am UTC](https://www.dolibarr.org/forum/t/exporting-a-custom-module/24303 "2023-09-19T11:36:48Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![muhannedzo](https://www.dolibarr.org/forum/user_avatar/www.dolibarr.org/muhannedzo/32/6563_2.png) [@muhannedzo](https://www.dolibarr.org/forum/u/muhannedzo)\
**Post date:** [September 19, 2023, 11:36am UTC](https://www.dolibarr.org/forum/t/exporting-a-custom-module/24303/1 "2023-09-19T11:36:48Z")

</div>

Hello all!  
I developed a new custom module in Dolibarr and to this i needed to integrate it with Project module from dolibarr and added a new column to the project table, also i modified some main files like core/classes/xfile.php and added new functions in these files. My question now when i export the module and import it in a new server it fails because the new functions are not imported and the new column in the project table is also not imported and this is correct because i didn’t see it exported, now how can i export all my modifications?

---

<div class="post-metadata">

**Author:** ![ksar](https://www.dolibarr.org/forum/user_avatar/www.dolibarr.org/ksar/32/514_2.png) [@ksar](https://www.dolibarr.org/forum/u/ksar)\
**Post date:** [September 19, 2023, 3:27pm UTC](https://www.dolibarr.org/forum/t/exporting-a-custom-module/24303/2 "2023-09-19T15:27:38Z")

</div>

Hello,

You should never modify core file.  
Everything should be done inside your module.

---

<div class="post-metadata">

**Author:** ![muhannedzo](https://www.dolibarr.org/forum/user_avatar/www.dolibarr.org/muhannedzo/32/6563_2.png) [@muhannedzo](https://www.dolibarr.org/forum/u/muhannedzo)\
**Post date:** [September 19, 2023, 3:39pm UTC](https://www.dolibarr.org/forum/t/exporting-a-custom-module/24303/3 "2023-09-19T15:39:15Z")

</div>

even i need to add a new field to the add project card?

---

<div class="post-metadata">

**Author:** ![ksar](https://www.dolibarr.org/forum/user_avatar/www.dolibarr.org/ksar/32/514_2.png) [@ksar](https://www.dolibarr.org/forum/u/ksar)\
**Post date:** [September 19, 2023, 8:17pm UTC](https://www.dolibarr.org/forum/t/exporting-a-custom-module/24303/4 "2023-09-19T20:17:44Z")

</div>

Hello,

> [@muhannedzo](#):
>
> even i need to add a new field to the add project card?

Yes of course, in ALL cases.

If you want to add something on existing cards, you need to use :  
Hooks : [Hooks system - Dolibarr ERP CRM Wiki](https://wiki.dolibarr.org/index.php?title=Hooks_system)  
or  
Tabs : [Tabs system - Dolibarr ERP CRM Wiki](https://wiki.dolibarr.org/index.php?title=Tabs_system)
