ifox
ifox
TCTwill CMS
Created by magius on 10/30/2024 in #👊support
Custom
imagine if every company could get your passwords out of their database. We hash passwords before saving them so that it just isn't possible.
17 replies
TCTwill CMS
Created by magius on 10/30/2024 in #👊support
Custom
Hashing is a one way process, you cannot get the password out of the hashed version. This would be a major security concern. You can certainly allow setting a new password from the CMS, but not display it in clear text.
17 replies
TCTwill CMS
Created by magius on 10/30/2024 in #👊support
Custom
inside setUpController
17 replies
TCTwill CMS
Created by magius on 10/30/2024 in #👊support
Custom
Do you have a title column? If not you can use $this->setTitleColumnKey('your-column')
17 replies
TCTwill CMS
Created by magius on 10/30/2024 in #👊support
Custom
or rename the entire thing yeah, probably easier
17 replies
TCTwill CMS
Created by magius on 10/30/2024 in #👊support
Custom
Alright, then you can call your twill module something like AppUsers, and in the repository you use your user model instead of a twill generated model
17 replies
TCTwill CMS
Created by magius on 10/30/2024 in #👊support
Custom
17 replies
TCTwill CMS
Created by Albert on 10/21/2024 in #👊support
how to override a default database model class method
It's a v3 feature. the supported models are in the configuration file I previously shared
19 replies
TCTwill CMS
Created by Albert on 10/21/2024 in #👊support
how to override a default database model class method
Hi @Albert the media model isn't part of that configuration at the moment. It could definitely be. I'm sorry to hear you have faced many challenges in the past. Please don't hesitate to ask for support here and report issues with overrides that would benefit the community.
19 replies
TCTwill CMS
Created by Sami on 10/20/2024 in #👊support
renderHtml doesn't work in getBrowserTableColumns()
I'll add it to our roadmap
5 replies
TCTwill CMS
Created by Sami on 10/20/2024 in #👊support
renderHtml doesn't work in getBrowserTableColumns()
it should definitely be possible to implement though
5 replies
TCTwill CMS
Created by Sami on 10/20/2024 in #👊support
renderHtml doesn't work in getBrowserTableColumns()
HI @Sami, it looks like browser columns do not support it at the moment
5 replies
TCTwill CMS
Created by Albert on 10/21/2024 in #👊support
how to override a default database model class method
there's isn't any configuration based way for the repository class, but you can easily do it by binding your own class into the container, like this: https://github.com/area17/twill/discussions/1232
19 replies
TCTwill CMS
Created by Albert on 10/21/2024 in #👊support
how to override a default database model class method
Yes you can place it anywhere as long as you respect psr4 namespaces
19 replies
TCTwill CMS
Created by Albert on 10/21/2024 in #👊support
how to override a default database model class method
19 replies
TCTwill CMS
Created by Albert on 10/21/2024 in #👊support
how to override a default database model class method
Are you using the twill.models.block config to do that? If you are just trying to add a method you can extend it, you don't need to copy the whole file
19 replies
TCTwill CMS
Created by Albert on 10/21/2024 in #👊support
how to override a default database model class method
Hi @Albert which class are you talking about?
19 replies
TCTwill CMS
Created by Braunson on 10/17/2024 in #👊support
Limiting BlockEditor blocks? Possible?
I get that. What I'm saying is that the fields definition you are talking about does not have to be duplicated. Both ColumnContentBlock and the inline repeater can "import" the same fields. I'll put together an example once I'm back at a computer because it seems like you don't understand what I'm trying to say
8 replies
TCTwill CMS
Created by MAD on 10/18/2024 in #👊support
Position reordering not working
I'll make sure to update the guide with your feedback, sorry about that
7 replies
TCTwill CMS
Created by MAD on 10/18/2024 in #👊support
Position reordering not working
Your tree might be broken because of your manual edits. And you're also supposed to call ordered() before toTree, IIRC. Check the laravel nested-set package docs. Sorry I'm on mobile.
7 replies