Obala
Explore posts from serversTLCTuto's Laravel Corner
•Created by Obala on 9/3/2024 in #💡filament
Multiple sub domain session sharing
How can I share user sessions between two Filament dashboards running on different subdomains (e.g., admin.example.com and dashboard.example.com) that use the same Laravel codebase and database? I want users to remain logged in when switching between these dashboards
I've already set SESSION_DOMAIN=.example.com in my .env file, but it's not working[it doesn't redirec to the dashboard page for both]. What other configurations or code changes might I need to make this work?
4 replies
TLCTuto's Laravel Corner
•Created by Obala on 8/15/2024 in #💡filament
Filamentphp Custom page with a table inside
2 replies
TLCTuto's Laravel Corner
•Created by Obala on 2/9/2024 in #🚀laravel
Error in running npm install in wsl2
10 replies
TLCTuto's Laravel Corner
•Created by Obala on 10/3/2023 in #🚀laravel
my routes protected by auth middleware don't redirect to login page
I get this error every time I visit a route protected by auth middleware when am not authenticated and started session
Illuminate\Session\Middleware\StartSession::addCookieToResponse(): Argument #1 ($response) must be of type Symfony\Component\HttpFoundation\Response, null given, called in /home/u684103588/domains/chccug.com/public_html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php on line 125
I have alternated the middlewares in the app to no avail
15 replies
TLCTuto's Laravel Corner
•Created by Obala on 9/14/2023 in #💡filament
how to set a value of an input field using values in a repeater
I have this input fields inside a repeater, product name, price and quantity, and I have an input field total disabled by default outside of the repeater, I want to populate the result of
foreach(price * quantity)
inside the total field12 replies
TLCTuto's Laravel Corner
•Created by Obala on 9/4/2023 in #💡filament
Custom setting page with filamentphp
I'm attempting to set up the edit page as the primary view for a filamentphp resource, specifically for managing page settings. These settings will consist of a single data row, and I want to restrict it to only being editable, with no option to create new rows or delete the existing one. Despite my efforts to find a solution, I haven't been able to. I'm open to any pointers, workarounds, or alternative approaches that could help me achieve this. Thanks for your assistance!
22 replies