Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Templates for domains (like hosting plans) #1064

Open
mr-manuel opened this issue Jan 8, 2023 · 1 comment
Open

Feature request: Templates for domains (like hosting plans) #1064

mr-manuel opened this issue Jan 8, 2023 · 1 comment
Milestone

Comments

@mr-manuel
Copy link
Contributor

Describe the solution you'd like
I would like to be able to create templates for new domains, which apply different default settings, like the hosting plans for customers.
The template should populate all field except domain settings.

For the DocumentRoot field it would be awesome, if placeholders can be used like {CUSTOMER}, {DOMAIN}, {TLD}. This would allow to prefill this field by the template with a path like /var/customers/webs/{CUSTOMER}/{TLD}/{DOMAIN} which creates /var/customers/webs/customer1/com/froxlor.com

Describe alternatives you've considered
I checked #807, but it was not that what I needed

Additional context
At the moment I modify /var/www/html/froxlor/lib/formfields/admin/customer/formfield.domains_add.php after every update to my default settings.

@d00p d00p added this to the 2.1 milestone Feb 3, 2023
@d00p d00p modified the milestones: 2.1.x, 2.2.x Jan 14, 2024
@d00p
Copy link
Member

d00p commented Jan 14, 2024

By implementing this, this possibly opens the way for #729 (allow customers to add main domains). We're currently discussing and checking how this all can be achieved in a good and easy way

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: To do
Development

No branches or pull requests

2 participants