# Editing Dolibarr

**URL:** <https://www.dolibarr.org/forum/t/editing-dolibarr/21050>\
**Category:** Developing for Dolibarr\
**Created:** [August 13, 2021, 4:15pm UTC](https://www.dolibarr.org/forum/t/editing-dolibarr/21050 "2021-08-13T16:15:13Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![altatof](https://www.dolibarr.org/forum/user_avatar/www.dolibarr.org/altatof/32/2426_2.png) [@altatof](https://www.dolibarr.org/forum/u/altatof)\
**Post date:** [September 5, 2023, 12:38pm UTC](https://www.dolibarr.org/forum/t/editing-dolibarr/21050/7 "2023-09-05T12:38:01Z")

</div>

Hello, all dolibarr files include main.inc.php  
Maybe you should try to use the hook printMainArea :wink:  
I never did it but it might be a good idea.  
You have to test the $\_SERVER[‘ineverknowwhichentry’] to match the compta/facture/index.php and then print your content and exit; it should do the job.  
please tell me if it works.

---

_[View the full topic](https://www.dolibarr.org/forum/t/editing-dolibarr/21050)._
