emil
TCTwill CMS
•Created by emil on 3/28/2025 in #👊support
Permissions: how to set (leave untouched) default value of field
Hi - I want a Publisher Role to be able to edit everything of given record, but not the title field (and the slug field too - those 2 which are standard opening in a Modal for editing).
In my Controller:
results that the Admin is able to save the record, a Publisher not. Even if the Publisher is only editing the description field, which is intended to do so.
Basically I want to leave the title field untouched on save - or a complete different approach to handle that ?
- support appreciated!
Emil
2 replies
TCTwill CMS
•Created by emil on 11/8/2023 in #👊support
DatePicker problem
Hi! sorry, what s wrong with my setup ....
Just installed a fresh laravel app, with newest twill 3 - wonderful!
Could not figure out, why a datetime field (saved as datetime column in db) saves the field correct to database - eg. 2023-11-11 14:00:00 - with DatePicker component . In index view its displaying correct, in db it s also correct, but when I come back to edit my fresh created record it displays 1 hour ahead - so instead of 14:00 it displays 15:00 ....
Thanks a lot!
3 replies