WHMCS / sample-addon-module

Sample Addon Module for WHMCS
MIT License
68 stars 74 forks source link

How to make a top level page and assign temlate #9

Open waheed1987 opened 6 years ago

waheed1987 commented 6 years ago

I have created a simple addon module (learning it). I am able to create a custom page successfully and template as well. The issue is, created page/pages are sub-pages of index page. I want a separate page.

Current: mysite.com/index.php?m=modulename

Required: mysite.com/modulename.php

posted on whmcs official site as well but not approved yet. https://whmcs.community/topic/291260-custom-url-for-page-created-by-add-on/