TC
Twill CMSβ€’2mo ago
Mikh'a

How to create settings for the site to disable registration and frontend-only offline mode ?

Hello πŸ™‚ I'mm all new to Twill and Laravel and i'm working on a site i'd like to put the frontend offline and disable the registration thanks to a parameter. I try to get solutions from an AI but it just rotates through options and nothing actually works like the example. Could someone give me a clue of how that works ? I have Laravel 11.30 and Twill 3.4.1 with Inertia and Vite Thank U
3 Replies
Olivier
Olivierβ€’2mo ago
I would probably handle this in the routes/web.php file. By parameter, I assume that you mean in the URL?
Mikh'a
Mikh'aOPβ€’2mo ago
Hello ! Nope I was talking about a setting, I was trying to use the AppSettings starting from a laravel/twill I really started a few days ago
ifox
ifoxβ€’2mo ago
Hi @Mikh'a sorry for the delay, I'm just seeing this. Did you follow the docs to create the settings in Twill. It should be very straightforward. From there you can access the value from anywhere in your Laravel application. Let me know if you still need help!
Want results from more Discord servers?
Add your server