Twill CMS

TC

Twill CMS

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

Join

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

Multi select selected issue

In twill3 I created 2 CRUD, ImportedItem and ItemTypes. I used Multiselect for selecting ItemTypes. **$form->add( MultiSelect::make() ->name('item_types_id') ->label('Item Type')...
No description

Upgrading from 2.0 to 3.0 - routing issues

Hello! I'm currently updating twill to 3.0 from 2.0, and I'm having some issues with routes. I'm getting the following error: "Route [admin.index] not defined. (View: /var/www/html/Xerocraft/vendor/area17/twill/views/partials/navigation/_overlay_navigation.blade.php)". Any clues on what might be causing this?...