Hi, Im coding on a let's encrypt DNS challenge (acme.sh/certbot/...) minimal api for ispconfig. I want do it as add on module because i want use the ispconfig api to create/delete/.. the TXT records to keep the ispconfig api security between ispconfig and my api code. If i do it as add on module than i get the big button in the main menu like Home/Sites/DNS I would prefer a button in the DNS Submenu (see screenshot) or even better in a TAB of the zone template (see screenshot) Is there a way to connect a add on module in the sub menu or tab structure? Now i have it mixed - the Tab code directly in ispconfig code and the external part uses the ispconfig api to create the TXT records. thanks
Yes, both ways are possible. For the menu integration, put a file in dns/lib/menu.d/ folder. In you file, you can modify $module['nav'] which holds the menu entries. For integration as a separate tab, check out the discussions and examples about nextcloud integration ihere in the dev forum or take a look at the code of the nextcloud integration. https://www.ispconfig.org/blog/new-ispconfig-nextcloud-plugin-for-user-and-password-synchronization/