jjo63
Invalid SQL Generated when using Relation Manager
Hi folks, I was interested to explore this. I issued this command
and then registered the relation. When I execute the app I am getting this SQL being generated:
It should read like this
I cannot see where it's looking when generating the SQL that could result in it determining that there is a column called
Anyone able to help?
thx
J
14 replies
Login page on mobile lacks styling
Hi when I access
http://192.168.1.49:8000/admin or http://192.168.1.49:8000/app on my desktop, I get a styled login page.
When I access http://192.168.1.49:8000/admin on mobile, I also get a styled login page.
However when I access http://192.168.1.49:8000/app on mobile, I get an unstyled login page.
The styling I see is default Filament stuff - I haven't done anything (to my knowledge) to alter this (aside from setting the default colour to be different between /app and /admin) - what might be the cause of the lack of styling?
thx
j
3 replies
Default columns in <resourcename>.php
Hi when I first started tinkering with Filament the <modelname>Resource.php file contained references to columns (fields) within the referenced model. I would then edit out the ones I didn't want.
I want to use Filament on a new project but this time I note that the columns (fields) are not present - e.g. I see
Is there a setting I should be using to achieve what I assumed was default behaviour?
Thanks 🙂
j
5 replies
Accessing the "admin portal" as different user types
Hi all, I wanted to use Filament for 2 different audiences - one is administering the system (users can be manually created as required) the other is those who would use it and would sign-up for use online (i.e. full self-service).
I have already created the first kind of user (following the Filament setup instructions). Can I introduce the 2nd type of user to use the same portal?
Any guides you can point me at that would explain how that would be achieved?
Thanks in advance, j
Thanks in advance, j
24 replies
Opening images from a URL in a list
Hi sorry if this is a question that is easily answered reading the docs - a pointer to the relevant part would be great if an answer is not forthcoming here 🙂
So I have a filament resource that is listing table contents - here is the function
I am only displaying the url as I evolve this. I'd like the filename column to become a hypertext link which when clicked opens the url or an icon alongside it if that's the more current method. I'd like the link to be opened into a pop-up window (not a new browser window / tab) and ideally it would have "next / prev" options on it which would correspond to the next / previous records in the table as displayed at the time.
I'm guessing this is easy to do and a common use case - pointers appreciated!
many thanks,
j
7 replies