Twill CMS

TC

Twill CMS

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

Join

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

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.

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

How to get all data from repository?

I wanna get all models from repository and show. How to get all data?...

How to use random links to browser field?

I wanna add random link to browser field. How to do that?...

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

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

How to display image from InlineRepeater

I want to dispaly the image from InlineRepeater. Please help me how to do it....

how to upgrade twil 1.2.1 to latest version

how to upgrade twil 1.2.1 to latest version twill cms

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

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

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

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?

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

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

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')...

Block editor preview Vite issue?

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

Upgrading from 2.0 to 3.0 -Block Editor $groups issue

Hello! I'm getting a strange error (see picture). I've tried clearing all caches. It only happens on one of my modules (name "Pages" module). I suspect this might be due to some now-deprecated style of handling blocks, but I'd really rather not update all unnecessary code yet and want to get my production site up and running first, lol. When I dig into the cached view it references in that error, I see this:...
No description

Inline Repeater get's overridden by another InlineRepeater with the same name in another block.

The code in first image get's overriden by the code in the second image in admin panel. Normally, when I changed name of the inlinerepeater in the first image, it renders correctly as you can see in the 3rd image. However when I turn it back to 'tabs', it get's rendered as in the 4th image. How can I solve this issue?...
No description

Table custom column

Hello! I created module Product and relationship with module Category. I would like to display category title as 1 of Product table columns. I didnt find example in documentation, using twill 3.0. Can you please provide me with information. Also I need to create custom column with select field status so user can change status without entering inside 1 product. Status field is string type enum....