Twill CMS

TC

Twill CMS

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

Join
luciano.mizra
luciano.mizra12/13/2023

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: ...
mhofrichter
mhofrichter12/6/2023

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?
siașamaideparte
siașamaideparte12/1/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?
feelgoodinc
feelgoodinc11/21/2023

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?...
emil
emil11/8/2023

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!...
kerkness
kerkness10/19/2023

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....
Barbie69
Barbie6910/17/2023

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!
twan
twan10/15/2023

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
seymourg
seymourg10/11/2023

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...
Kashevsky
Kashevsky10/10/2023

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...
foleystorm
foleystorm10/6/2023

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
xnvert
xnvert10/3/2023

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.
RandomAnalyticsGuy
RandomAnalyticsGuy10/2/2023

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...
macoe
macoe9/27/2023

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
devtutorum
devtutorum9/25/2023

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')...
droplister
droplister9/21/2023

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 [...
RandomAnalyticsGuy
RandomAnalyticsGuy9/18/2023

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....
kingrozanski
kingrozanski9/7/2023

Adding role and permission for single module

Hi, I have investigated the documentation provided here: https://twillcms.com/docs/user-management/advanced-permissions.html#content-level-role It's not particularly understood. I am looking to add a new role "Translator" to the CMS which will only access one module "systemtexts"....