Twill CMS

TC

Twill CMS

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

Join

Pass ID to additionalTableActions

Is there a way to get the current object's ID when I'm adding an additional action for a link like this? ` public function additionalTableActions() { return [...

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

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

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

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

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

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). ```dotenv Twill Specific ADMIN_APP_URL=${APP_URL} # Resolves correctly to admin.devdomain.test...

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

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

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

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

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

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

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): Beer, Wine, limo, cocktails(lvl2). No problem, categories works and they are nested. ...

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

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

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 { ...
No description