Twill CMS

TC

Twill CMS

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

Join

BladePartial formfield in Block

I created a new custom form field using a BladePartial in a block. However, when saving, the field value is being stored as a separate top-level property in the payload (image_position) instead of being nested inside the content array of the block

Issue saving and updating browser field

Hi everyone i have this form but it isn't savin parent_id data Can you elp me with this to find out what i'm missing during the process...
No description

Update Edit Form with removing "Update"

I want to rename the "update" Text with "Preview" from the top of the form and rename "Update" Button with "Close" I have attached images as well as,...
No description

404 when visiting blog and images - weird path

I have a laravel application hosted using xampp (localhost) when I visit my admin dashboard of twill cms it works: http://localhost/monitor/public/admin I can generate blogs when I visit eg a image...

Twill Blocks

Hi all. I'm just getting started with creating a custom block to add to a Page. I've followed the docs and added all the Traits etc, but when I try to save my model, i always get an error: [2025-05-21 16:55:11] local.ERROR: Object of class A17\Twill\Services\Blocks\Block could not be converted to string {"userId":1,"exception":"[object] (Error(code: 0): Object of class A17\Twill\Services\Blocks\Block could not be converted to string at /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connection.php:719) When i remove the HandleBlocks trait from the Repository fixes thr above, but obviously doesn't store anything in the "twill_blocks" table...

Twill is sub directory

Hello, I am trying to install twill in a sub-directory but the basic admin panel css and js are not loading they are using the root domain and not the sub-directory....

Any issues with Horizon + Twill?

I've installed Horizon, have the viewHorizon gate checking against email which locally works but on a staging domain it doesn't. When dumping out the user, in the gate callback it's always null, even dumping auth()->user() returns null even when logged into the CMS. I saw in the awesome-twill GH repo there was a link to an atricle on Horizon + Twill but it leads to a 404 page now.

Error when i run php artisan twill:build --install

Hi, i get an error when i run the php artisan twill:build --install, it doens't allow me ti build the css. Can anyone help me?...

Twill User Profile management search

Has anyone who has used Twill's recommended technique to manage user profiles from Twill worked with searching at all? Basically, do I need to duplicate the name and email fields in the profiles table to make them searchable with setSearchColumns()? Or is that at least the easiest way? I've tried a few other things but the search query seems locked into the main table for the Repository Twill 3, Laravel 11...

Inline-Repeater & Medias

How can i use Form Builder Inline-Repeater with Medias field? I tried to implement it like this: ``` $form->addFieldset(...

User Role - Forbidden yellow screen error

User Role - Forbidden yellow screen error Hi , I have created new roles and added permissions to them. I followed the twill documentation and I still get Forbidden yellow screen error when i try to access a certain module as the new user role i created.It works fine for admin and publisher, but for author i get Forbidden when i try to access posts. Can anyone suggest me how to fix this?...

Media Library Issues.

When I upload the images. they are in the storage folder. But the Media Library is looking for them in the /img folder. I go to the /img in the browser and it's giving me a php error about being required once. But when i switch the url to /storage. it shows the image. I have been stuck ion this for days. It should be so simple to fix!
Chatgpt tells me to fix my twill.php (doesn't work) tells me to update syslink (doesn't work) I can't find the vue files on my machine anywhere to update the view manually. And the documentation for the media library section is 1 paragraph....

Twill CMS and Frontend Navigation Issues

Hi developers, I'm trying to find someone who can help us fixing a couple of issues we had with a website we designed a while ago for an artist representation agency in the creative industry called TOGETHER, https://togetherassociates.com/. We're looking for an experienced developer for two quick fixes on a client website built with Twill CMS. These are targeted troubleshooting tasks with the following specifics:...

Permissions: how to set (leave untouched) default value of field

Hi - I want a Publisher Role to be able to edit everything of given record, but not the title field (and the slug field too - those 2 which are standard opening in a Modal for editing). In my Controller: ```...

Wysiwyg - add colour picker in toolbar

H Team, How can i add the tiptap color picker in WYSIWYG? i have installed the the color extension...

Issue with files not showing

Hey there, i have an issue, in a block we are using the "files" field. This went great until my client noticed that the files that he added a while ago, show up on the website, but dont show up in the Twill form. When we add new files they do show together with the old files on the website, but only the new files show in the Twill form. I have everything set up, twill.php files, $filesParams, HasFiles etc. I am on v3.5.0. Is this a known issue? (update): Everything seems to check out when i loop...

Using custom form inputs in a TwillBlockComponent

I'm trying to figure out how to add a custom form field inside a custom block. I have managed to get the vue component to render correctly, however it is not saving the input. CustomBlock.php: ``` public function getForm(): Form { return Form::make([...

Sticky WYSIWYG toolbar + image upload?

Looking to make the WYSIWYG toolbar sticky, also looking to add ability to insert images from media library into the WYSIWYG as a toolbar option?

Duplication of Parent-child module

I have 2 modules which have parent-child relation. When Im trying to duplicate parent module, it's not duplicating all connected child items as well. Is it expected? Or I missing something?
No description
Next