TC
Twill CMS
Join the Twill CMS server to ask questions!
Join ServerTC
Twill CMS
Join the community to ask questions about Twill CMS and get answers from other members.
Join ServerCommunity questions
Channels
Multi-Region + Multi-Language?
Has anyone ever done a multi-region + multi-language implementation?
The very specific use case is starting with English, and moving to American English, American Spanish, Canadian English, Canadian French, Mexican Spanish, and Mexican English.
Regions are very important because even within english, something like the ADA (Americans with Disabilities Act) isn't applicable in Canada, so within english there needs to be multi-region content.
We could use the translatable package but I have worr...
The very specific use case is starting with English, and moving to American English, American Spanish, Canadian English, Canadian French, Mexican Spanish, and Mexican English.
Regions are very important because even within english, something like the ADA (Americans with Disabilities Act) isn't applicable in Canada, so within english there needs to be multi-region content.
We could use the translatable package but I have worr...
Adding role and permission for single module
Hi, I have investigated the documentation provided here: https://twillcms.com/docs/user-management/advanced-permissions.html#content-level-role
It's not particularly understood.
I am looking to add a new role "Translator" to the CMS which will only access one module "systemtexts".
It's not particularly understood.
I am looking to add a new role "Translator" to the CMS which will only access one module "systemtexts".
afterReorder
Is it possible to add a function before or after saving the positions of my module?
I need it in order to clear the cache of my site every time the position of the elements changes.
I need something similar to this
<?php
namespace A17\Twill\Jobs;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Foundation\Bus\Dispatchable;
use Illuminate\Queue\InteractsWithQueue;
use Illuminate\Support\Facades\DB;
use A17\Twill\Models\Model;
class ReorderNestedModuleI...
I need it in order to clear the cache of my site every time the position of the elements changes.
I need something similar to this
<?php
namespace A17\Twill\Jobs;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Foundation\Bus\Dispatchable;
use Illuminate\Queue\InteractsWithQueue;
use Illuminate\Support\Facades\DB;
use A17\Twill\Models\Model;
class ReorderNestedModuleI...
Radio button with formbuilder -> Class "App\Http\Controllers\Twill\Option" not found
Hi, I'm trying to add a radio field in Twill 3 formbuider, as described on https://twillcms.com/docs/form-fields/radios.html
But I'm facing an "Class "App\Http\Controllers\Twill\Option" not found" error
Whats wrong, could not find any hints in the docs
But I'm facing an "Class "App\Http\Controllers\Twill\Option" not found" error
Whats wrong, could not find any hints in the docs
Undefined variable $linkGroups
After upgrading to the latest version of Twill using the upgrade guide, i'm receiving the following error when I want to visit the admin panel:
Undefined variable $linkGroups (View: /Users/xxxxx/Documents/xxxxx/website/vendor/area17/twill/views/partials/navigation/_overlay_navigation.blade.php)
What is wrong? I can't find it
Undefined variable $linkGroups (View: /Users/xxxxx/Documents/xxxxx/website/vendor/area17/twill/views/partials/navigation/_overlay_navigation.blade.php)
What is wrong? I can't find it
Dashboard - 404 error
Hi,
I am getting strange error when try to open dashboard I get 404, but custom routes setup in route.php are working fine. I have the following settings in my .env. (all environement variables resolve correctly checked already).
Here is my route list, am I missing something?
```
GET|HEAD admin.devdomain.test/ ................ admin.dashboard › A17\Twill › DashboardCon...
I am getting strange error when try to open dashboard I get 404, but custom routes setup in route.php are working fine. I have the following settings in my .env. (all environement variables resolve correctly checked already).
# Twill Specific
ADMIN_APP_URL=${APP_URL} # Resolves correctly to admin.devdomain.test
ADMIN_APP_PATH=/
Here is my route list, am I missing something?
```
GET|HEAD admin.devdomain.test/ ................ admin.dashboard › A17\Twill › DashboardCon...
ActiveNavigation
Hello hope you guys have a nice day!
I am upgrading from twill2 to twill3. I see you guys removed A17\Twill\Http\ViewComposers\ActiveNavigation;
View::composer('unusual::partials.navigation.*', ActiveNavigation::class);
What is the replacement method. (We are currently using legacy navigation for now).
I am upgrading from twill2 to twill3. I see you guys removed A17\Twill\Http\ViewComposers\ActiveNavigation;
View::composer('unusual::partials.navigation.*', ActiveNavigation::class);
What is the replacement method. (We are currently using legacy navigation for now).
Twill tags and images dont save on repeater
hi im trying to use tags in my blocks, but after i save changes all the input fields are saved expext tags and images
that's really strange to me , maybe i miss any configuration ?
that's really strange to me , maybe i miss any configuration ?
Not possible redefine twill vue components
Hello Dear Support Team!
i tried to redefine vue components.
after the build command, twill created this component in frontend/components/custom/TitleEditor.vue
but nothing changed at my admin panel, btw i tried to clear cache,config cache, twill:update.
seems like its still getting component from the package path
also i didnt find any error in console
https://skr.sh/sLFUm90SPei
could u tell me what it might be ?
i tried to redefine vue components.
after the build command, twill created this component in frontend/components/custom/TitleEditor.vue
but nothing changed at my admin panel, btw i tried to clear cache,config cache, twill:update.
seems like its still getting component from the package path
also i didnt find any error in console
https://skr.sh/sLFUm90SPei
could u tell me what it might be ?
twill metadata
Hello everyone do you know any package to setup SEO from dashboard compatible with Twill 3 ?
Or any way how to render seo fieldset in Pages with twill 3 https://github.com/cwsdigital/twill-metadata
Or any way how to render seo fieldset in Pages with twill 3 https://github.com/cwsdigital/twill-metadata
Homepage 404 Error
Hello guys I just installed twill 3 and accessing home route return 404 when i access/page page return as well but home still display error 404
Minimum Node version?
I'm updating our site to the latest version of Twill 2—2.13.0. I have all the composer packages and their dependencies updated and installed and I ran
The culprit is this line here that uses the nullish co...
php artisan twill:update
successfully. But I'm running into a bug when I run php artisan twill:build
: ERROR Error loading /home/vagrant/website/vendor/area17/twill/vue.config.js:
ERROR SyntaxError: Unexpected token ?
/home/vagrant/website/vendor/area17/twill/vue.config.js:169
The culprit is this line here that uses the nullish co...
Disabling automaticNavigation from Capsules
Hi folks, how can i disable automaticNavigation from Capsules
Listing Columns
I have to create a dynamic column that does not exist in the database.
In Twill 2, I used a presenter for this.
In Twill 3, it seems that this is still possible but deprecated.
The correct method in Twill 3 is to use a custom Column ?
In Twill 2, I used a presenter for this.
In Twill 3, it seems that this is still possible but deprecated.
The correct method in Twill 3 is to use a custom Column ?
Selecting category and subcategory(its childs) for item in form
Hello guys,
Situation
I have a situation with nested categories. We have a restaurant and our web is power by Twill 2. So at first, I cannot find documentation for this version of twill and also, upgrade is super hard, because There are some technical issues on our lightweight shared server.
Idea
1.We have standard menu full of food and drinks and we need to organize it better way then it is now. So I've created nested menu categories: Food(lvl1): salads, pasta, meat(lvl2), Drinks(lvl1):...
Situation
I have a situation with nested categories. We have a restaurant and our web is power by Twill 2. So at first, I cannot find documentation for this version of twill and also, upgrade is super hard, because There are some technical issues on our lightweight shared server.
Idea
1.We have standard menu full of food and drinks and we need to organize it better way then it is now. So I've created nested menu categories: Food(lvl1): salads, pasta, meat(lvl2), Drinks(lvl1):...
Crops for new Settings (3.0)
Hello
Is it possible to specify the crops for a media setting, using the new settings in 3.0? I could not figure this out from the documentation
Thanks in advance
Chris
Is it possible to specify the crops for a media setting, using the new settings in 3.0? I could not figure this out from the documentation
Thanks in advance
Chris
Date_picker withTime => false returns null values
Porting a 2.8 project over to 3 and the new date picker is causing trouble. I have a repeater with a date_picker field and when I set the withTime parameter to false, the form field value gets set to null before it gets to the afterSave() function in my repository.
Any ideas or links to how to solve it?
Any ideas or links to how to solve it?
Injecting Fields from a BladePartial into a Block Form
I am creating a blade with advanced options for each block where I configure the possibility of manipulating the padding and margin of each block as well as the possibility of hiding it. I add it to my blocks using BladePartial, but it turns out that by adding it in this way it is sending the data to my main form and not to the form of each block.
` public function getForm(): Form
{
$form = Form::make([
InlineRepeater::make()->name('items')->label('Item')
->fie...
Upgrading from 2.8 to 3
Trying to upgrade an existing Twill project. Keep getting the following error in the log
[2023-07-18 17:50:09] production.ERROR: Target class [App\Http\Controllers\Admin\HomepageController] does not exist. {"exception":"[object] (Illuminate\Contracts\Container\BindingResolutionException(code: 0): Target class [App\Http\Controllers\Admin\HomepageController] does not exist. at /Users/mrpink/Desktop/Web Dev/acbsupgrade/vendor/laravel/framework/src/Illuminate/Container/Container.php:879)...
[2023-07-18 17:50:09] production.ERROR: Target class [App\Http\Controllers\Admin\HomepageController] does not exist. {"exception":"[object] (Illuminate\Contracts\Container\BindingResolutionException(code: 0): Target class [App\Http\Controllers\Admin\HomepageController] does not exist. at /Users/mrpink/Desktop/Web Dev/acbsupgrade/vendor/laravel/framework/src/Illuminate/Container/Container.php:879)...