Twill CMS

TC

Twill CMS

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

Join

Overriding default dashboard styling

Hello, I'm not really sure how to go about this really; I want to override certain styles on the dashboard itself( /admin), for example the header & navbar background color. What is the easiest way without re-compiling Vue or CSS assets?...

Missing docs for translated nested modules

i had problems with translated nested slugs: even if they work as intended the child will always take the parent component in the default language in the slug. After a lot of fiddling and reverse enginnering i came with a solution: https://twillcms.com/docs/modules/nested-modules.html#content-working-with-self-nested-items...

Remove title field from edit modal

Hi, i'm new at twill and i need to remove the title field from the edit modal. Can anyone help me with suggestion on how to do it?
No description

On update the images disappear

All the images that i use in my project, like the images from blocks, or the image of module the first time that i upload them and click update or okay, after i click update again disappear. The first time they are saved with url and than after update i get something else. The first time in db the ration are saved okay after the update they get saved as tablet. I open for suggestions since i don't know what to do....
No description

Images getting randomly removed when saving

I am working on a singleton with multiple medias fields, When i click the 'save as draft' button or the 'publish' button everything will get saved perfectly. Images does show in the frontend. but when i click save for a second time, some random number of images will get removed from selection. I checked the twill_mediables table in the db, rows are also getting removed from there. ...

Seeding settings

On a fresh DB after a migrate:fresh --seed calling TwillAppSettings::get gives me a Illuminate\Support\ItemNotFoundException error. I was hoping to seed them via a migration or seeder or set default values but can't see anything obvious to do so in the docs.

Singleton - has no index

Hi, i'm working with twill and i need to create a singleton, but i navigate to the link i get this "Blog has no index" ,i have also done the seeded command, this is my code <?php namespace App\Http\Controllers\Twill; ...

Can't upload SVGs

I'm new at twill and i'm trying to upload svg at medial library, but i't doesn't work, after some seconds it shows this XHR returned response code 500.This is my code at twill config 'media_library' => [ 'allowed_extensions' => ['svg', 'jpg', 'gif', 'png', 'jpeg', 'webp'], ], ...

Currently only 3 levels are supported for getting settings.

I am currently trying to add a new setting where someone who is managing the backend can select a certain amount of destinations that they want to show on the home page. However, the error I am getting is "Currently only 3 levels are supported for getting settings." - is there any specific reason this may occur? Using Twill3 - latest version....
Current route for destinations

php artisan twill:build - failed

i tried to run php artisan twill:build but i get this error, i changed the node verison but it didn't help

Twill navigation group

Hi, i'm new at twill and i'm trying to do grouping by title in the primary navigation which is not module, but i'm getting an error.Any help would be appreciated. Route [twill.navigation.index] not defined. (View: C:\xampp\htdocs\twill-skeleton\vendor\area17\twill\views\partials\navigation_overlay_navigation.blade.php) (View: C:\xampp\htdocs\twill-skeleton\vendor\area17\twill\views\partials\navigation_overlay_navigation.blade.php) (View: C:\xampp\htdocs\twill-skeleton\vendor\area17\twill\views\partials\navigation_overlay_navigation.blade.php) This is my code, i have tried it both ways with 'twill.navigation.index' and 'admin.navigation.index' ...

Multilingual URL Prefixes

Hello, I have set up multiple languages (en, it, fr) on my website. I would like to display the English version without the "/en" prefix, using simply "/". Is this possible by default in Twill 2.12.4?...

Twill 2.12.4 localization problem with siteground

Hi, For one of my clients, I developed a CMS with Twill 2.8.12. Now, they are asking me to enable multilingual functionalities. Perfect. Locally, everything seems to work fine....

Enabling user returns an error

trying to create a new user but enabling or adding a password returns error.

Creating a front-end for parent-child nested module

Hello, i need help with the frontend controller for a Parent-child modules: i want to create articles in categories, i have successfully created Category and CategoryArticle classes like in the documentation but i cannot make the page routing work web.php ```php...

Order and nesting not working

I installed twill using the php artisan twill:install basic-page-builder command. Seems that ordering and nesting is not working on the navigation.

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

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

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

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