Twill CMS

TC

Twill CMS

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

Join
IiAlexandru934/23/2024

Croping not working

Hello guys! I'm using twill 3 for a personal project. I'm facing some issues with croping functionality, I'm using default glide for croping (I did not configured nothing in this direction, not sure if the problem is here) and all my image url's contains the attributes for height and width. The problem is that the image is rendered originally, not croped how I was expected, for example the attached image where the rendered one is not 200x200 px. In admin the media preview works fine, the image i...
No description
SSomnath4/17/2024

How can i get another field value in partial balde?

$form->add( Input::make()->name('lat')->label('Latitude') ); $form->add( Input::make()->name('lon')->label('Longitude')...
Bbora4/12/2024

Custom Vue block

I'm encountering an issue while trying to register a custom Vue block following the official guide. When I run the twill:build command, I receive an error message, but I'm having trouble identifying the origin of the error...
No description
Ddan__devine4/12/2024

Multilingual Imports (3.x)

Running into two issues when running a bulk import from (many) xlsx files (on the command line using Maatwebsite Excel) . I'm porting over a tonne of content from two (very shaky) WordPress websites built by a third party which were essentially duplicates running alongside each other, one in DE and one in EN (not a great architecture). The goal is to combine the two into a consolidated site on Twill. There are thousands of different posts of various types coming over so manually adding them would obviously be a very bad option). I have one stack of import files for, (eg) blog posts from the english site and one stack from the German site. These aren't translations of each other (although some are to add some extra complexity). Both are then to be imported to Twill into one module, some with DE as the primary language, some with EN as the primary language. I am also trying to preserve the original slugs so they are being populated too, and a custom block is being populated and added for good measure 🙂...
No description
Ssiașamaideparte4/3/2024

Upgrading custom form fields from 2.x to 3.x?

I noticed after upgrading Twill to 3.x from 2.x that my custom form fields no longer work. Is there a guide somewhere for how to upgrade them? I did notice that there doesn't seem to be a section in 3.x any longer about custom fields, in the docs.
SSami3/27/2024

Tags in create modal

Hello! Is it possible to have Tags input in create modal form? Last time I tried, it threw an error. oh, edit: Twill version is 3.0.2...
HHealMan3/27/2024

How to get all data from repository?

I wanna get all models from repository and show. How to get all data?...
HHealMan3/26/2024

How to use random links to browser field?

I wanna add random link to browser field. How to do that?...
HHealMan3/26/2024

DatePicker is not working.

I have added DatePicker to form builder. And added column to table, field to model... But when I save it, it didn't process. If I leave the field blank, all other fields are saved correctly....
HTHuy Tớn3/21/2024

Save images in multple sizes for responsive?

Hi Support Team, I would like to ask if Twill can store the images in multiple size for desktop, mobile? And what is the purpose of the Mobile crop?...
No description
HHealMan3/19/2024

How to display image from InlineRepeater

I want to dispaly the image from InlineRepeater. Please help me how to do it....
PKPavan Kumar3/19/2024

how to upgrade twil 1.2.1 to latest version

how to upgrade twil 1.2.1 to latest version twill cms
HHealMan3/15/2024

Multi-Select from Dynamic Values

I created Location Model. And each location has multiple tags. I want to share tags across different locations, I mean I want to use tag pool which location model can use....
HDHazarcan Doğa3/11/2024

How should I migrate from Legacy Settings to V3 Settings?

I am having trouble accessing the setting goroup I created. When do php artisan route:list, settings routes are shown as in the image...
No description
TMTom M3/7/2024

Cannot use connectedTo: Cannot unpack array with string keys

Hi I am having issues getting connectedTo to work in my Block. I have Twill 3.1.0 installed, but when I try to use connectedTo I get this error: Cannot unpack array with string keys (View: \vendor\area17\twill\views\partials\form\renderer\block_form.blade.php)...
Ttrompix3/7/2024

asynchronous request in select

Good afternoon, I have two select fields. The thing is that when selecting the first select field, I need to load the filtered data based on the first select into the second select. How can you do this in Twill with minimal effort?
Ssebastianlenton3/5/2024

Upgraded from Twill 2.13 to 3.2, frontend error when saving a module that uses 'editInModal' => true

I upgraded from Twill 2.13 to 3.2. When saving a module that is created/edited via a modal (using $indexOptions 'editInModal' => true the changes save to the DB, but afterwards an error occurs which locks up the frontend so the screen has to be refreshed. Steps to reproduce for my install are as follows: 1. Go to module (Projecttag) edit screen, add or edit a record, modal pops up....
Ssebastianlenton3/5/2024

Upgraded from Twill 2.13 to 3.2, raw HTML links visible in browser

Hi, I upgraded from Twill 2.13 to 3.2. I am now seeing raw HTML edit links in my "Projecttags" browser field on my "Project" module's form. I am not using the new form builder, I registered the fields the old way in /resources/views/twill/projects/form.blade.php: ```@section('contentFields')...
No description
RRazvan3/4/2024

How to use Conditional Fields in Controller

I want to add a Author select fields when shared_by === user ` $form->add( Radios::make() ->name('shared_by')...
Aariesthewanderer3/3/2024

Block editor preview Vite issue?

Hey all, I'm getting this when I preview a page module block editor in the admin:
No description
Next