Twill CMS

TC

Twill CMS

Join the community to ask questions about Twill CMS and get answers from other members.

Join

Some fresh vibes would be nice :))

Would love to hear some global announcement about twill cms this year and where it's heading @ifox . Twill has not received any love and updates for about 8months now so it would be super beneficial to remind the community that project is not dead

Edit defaultOrders in controller

What would be the most correct way to edit? $this->defaultOrders of ModuleController in my controller, I understand that setting it in setUpController would work, but it is not a public method, My idea is something similar to this: ...

Vue2 EOL Plans?

We're upgrading our application and generally upgrading our setup in preparation for the Vue2 EOL at the end of the year. In updating that, we've noticed that Twill has a Vue2 dependency. Are there plans to upgrade before the EOL on 12/31/2023?

Route [admin.password.reset.link] not defined on upgrade from 2.x to 3

Hey folks, I followed the upgrade guide step by step successfully, but when I try to visit the admin I get this error. Details are as follows: Route [admin.password.reset.link] not defined. (View: /Users/myuser/work/Terrorbird/vendor/area17/twill/views/auth/login.blade.php). I've tried just deleting the vendor directory and reinstalling my composer dependencies, but no love. Any thoughts on what's going on here?

Twicpics & fit=crop

Apparently fit=crop is automatically added to the url, also when using Twicpics as image service. However fit=crop isn't a supported parameter by Twicpics. How can I overrule/fix this?...

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!...

Admin api requests blocked for mixed-content

This is an odd one and happening in a single environment (which unfortunately is production) . I know the issue is me, but I can't seem to see what is wrong. All api requests made by the twill admin are being made using http instead of https and the browser is blocking the call for mixed-content. For example, if you open the media library, a request is being made to http://productiondomain.com/admin/media-library/medias?page=1&type=image and the request gets blocked because the current page was loaded over https and it looks sus....

I'm lookig for the DNS Settings of my website. Can anybody help me please?

The person who made my website is not available and i need to access my dns settings. Thanks!

How to load images in smaller size while keeping aspect ratio and not cutting parts of it off?

Hello, I am trying display images with a smaller width that I uploaded in my CMS but without any crop. So for example a logo that is 2000px by 3000px I want to display it with a width of 300px while keeping correct aspect ratio and without cutting parts of the image off. It's not really clear for me in the documentation how to do that. Currently I have this code:...
No description

419 login superadmin

Hi all, I'm deploying a project with docker containers, I created a superadmin, I try to log in and get an error. "The page has expired due to inactivity. Please refresh and try again." Can you tell me what the problem might be, I've been trying to figure it out myself for a long time?( It's definitely not a problem with the csrf token, I've checked it already...

Call to a member function permissions() on string

Can you give me a hint, please? In config/twill.php I specified return [ 'enabled' => [ 'permissions-management' => true...

permalink

Good morning, everyone. I wanted to ask a question. I would like to have the possibility to add a button next to the permalink, where I could click on it and automatically copy that link. Is there something already available that does this? Thank you for your attention.
No description

Conditionally render block fields?

Is there a way to render block fields based on a field value outside of the block? I want to conditionally render a field based on a value that's set outside of the block editor but I'm not sure how to pass it through.

Locale-Restricted Blocks?

Hey again! Is it possible to hide or limit specific blocks in the backend based on the locale? For instance, if there are a bunch of videos in a block (or PDFs etc.) that are localized for english, and we simply don't want to include that section in a different language, is the only solution to modify the block on the frontend and write an if condition to display nothing if in a certain locale? Or is there a better course of action? My only concern with that path would be user confusion in the b...

Permalink - Question

Good afternoon, everyone. I wanted to ask a question. I would like to have the possibility to add a button next to the permalink, where I could click on it and automatically copy that link. Is there something already available that does this? Thank you for your attention.
No description

S3 Storage and file path for signed key

I am setting up Twill stored files with signed keys from AWS. Normally I would be calling the filename like so: ``` $file_model->file('file_name')...

Pass ID to additionalTableActions

Is there a way to get the current object's ID when I'm adding an additional action for a link like this? ` public function additionalTableActions() { return [...

Multi-Region + Multi-Language?

Has anyone ever done a multi-region + multi-language implementation? The very specific use case is starting with English, and moving to American English, American Spanish, Canadian English, Canadian French, Mexican Spanish, and Mexican English. Regions are very important because even within english, something like the ADA (Americans with Disabilities Act) isn't applicable in Canada, so within english there needs to be multi-region content....