Twill CMS

TC

Twill CMS

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

Join

Capsule Navigation in admin

I have installed a capsule for homepage, However I am not able to make it appear on my admin via the navigation in my "AppServiceProvider.php" below is what I currently have; ``` <?php ...

Add Files field to block

Hi guys, I'm trying to create a block with a files field like this: @twillBlockTitle('Embed Video') @twillBlockIcon('image')...

Twill navigation group

Any easier way to achive grouping by title in the primary navigation which is not module nor singleton. This is achivable via legacy, but I want to stick to the new OOP way, but it seems that its not working or I am missing something. I partialy achived this via external url, but it has some issue. ...
No description

Handling of a17-filefield response

Hi guys, I have a custom CMS page using the a17-filefield input, how do I handle the response of field in the Request object? In my blade file I have (copied from the docs): ``` <a17-filefield name="input6"></a17-filefield>...

Dynamic Grid and content type Block

How do i dynamic grid in a block. i need to have a Grid block where the number of columns can be dynamically altered. For e.g someone selects a the grid block assigns number of columns too it, add either images, text or any other content. What is the path i should take?

Custom CSS in backend

Hi, Can we use custom css in backend to modify colors, show/hide modules in backend ? Thanks....

Creating Posts/Models programatically from controller.

Hi, Is it possible to create blocks/modules/model/repeater content programatically from controller or any function. Please advise. Thanks....

featured

Good evening. I would like some help. I've upgraded to version 3 of Twill, and the "featured" functionality has stopped working. How can I configure it in this new version?

PhpUnit Test for Twill Blocks/Modules?

Can we write PhpUnit test for Twill Blocks and Modules?

BlockComponent blocks are not available in BlockEditor

I created blocks using php artisan twill:make:componentBlock name as per documentation, but none of them are available in block editor. I think I set up BlockEditor as it should be BlockEditor::make()->blocks(['Columns', 'text', 'imagetext', 'image']). Do I need to register BlockComponents somewhere?...

Slows down the page after saving the @formConnectedFields field

Good afternoon I have several roles to which I want to attach the ability to select certain actions (publishing a post, unpublishing, for example). The problem is that after saving, when you click on the checkbox again, the page slows down and crashes with an error that the page is not responding....

Checked checkboxes by default

Good afternoon (morning)! I use the Multiple Checkboxes field How can I make certain fields checked by default? For example arts and civic (in the example)....
No description

Define Settings-Views inside a package>capsule

Is there a way to configure a settings related view inside a package capsule? I couldn't find something about that one. For example a "registerSettingsViewPath" or a property/method returning an explicit view for the related settings.

DatePicker not updating or incorrectly updating field

Having a weird issue with the DatePicker field which seems to have popped up in the last few weeks or so (project is still in development so not sure exactly when it started happening). DatePicker was working previously. Running 3.0.1 and I have ran twill:update Two issues appear to be happening....

fileparams in Model

Is there any documentation on fileparams. For instance how to add file types parameter to it

Third Level Categories

How do we set our model to cater a third level category or parent->child->child? Currently it only cater until 2nd level. Please see attached image. I wan to create another child of "Another Product", though it was saved into the database but I cannot be displayed.
No description

Select Field

Hi, is there a way to search an item in a select block? Just like autocomplete

How to create multiple navigations with multiple levels based on the navigation Guide

Following the Guide at https://twillcms.com/guides/page-builder-with-blade/adding-navigation.html it's straight forward to integrate a navigation with page browser. But what if you want to create multiple navigations: primary, sidebar, footer And maybe they also have different levels. So the one starting with "Startseite" would be primary one but "test" should not be a second level navigation item. They should be on one level as primary navigation but another level would be a submenu for example. "Menü 2" could be a separate navigation which should not be rendered with the primary navigation items....
No description

adding a custom link in the dashboard

Is there any way to add a link to a custom page in the dashboard? like adding the link in dashbord.modules array in config/twill.php. Twill 3

->getRelated for menu didnt work.

I follow this manual https://twillcms.com/guides/page-builder-with-blade/adding-navigation.html I do all the thinks which is there, I do some links to my pages in twill I will be see a relatitons in twill table...