Tom M
Tom M
TCTwill CMS
Created by oxana on 6/5/2024 in #👊support
Can't upload SVGs
Hi @oxana Is it just SVG's that you are having issues uploading any images? I am asking as I have just encountered a similar issue. I could upload fine, but the image would be broken. For me, the issue was that the symlink from /public/storage -> /storage/app/public/uploads was broken, so it was uploading fine, but it just couldn't show the image. It may be worth checking this in your environment
9 replies
TCTwill CMS
Created by oxana on 5/23/2024 in #👊support
Twill navigation group
So you in essence need to update forRoute('twill.navigation.index') to forRoute('twill.navigation.menuLinks.index')
4 replies
TCTwill CMS
Created by oxana on 5/23/2024 in #👊support
Twill navigation group
Hi @oxana You should be able to do something like this: AppServiceProvider.php
TwillNavigation::addLink(
NavigationLink::make()->title('Additional')->forRoute('twill.additional.socials.index')
->setChildren([
NavigationLink::make()->forModule('socials'),
NavigationLink::make()->forModule('vendors')
])
);
TwillNavigation::addLink(
NavigationLink::make()->title('Additional')->forRoute('twill.additional.socials.index')
->setChildren([
NavigationLink::make()->forModule('socials'),
NavigationLink::make()->forModule('vendors')
])
);
twill.php
Route::group(['prefix' => 'additional'], function () {
TwillRoutes::module('socials');
TwillRoutes::module('vendors');
});
Route::group(['prefix' => 'additional'], function () {
TwillRoutes::module('socials');
TwillRoutes::module('vendors');
});
4 replies
TCTwill CMS
Created by Kormi on 5/22/2024 in #👊support
Twill 2.12.4 localization problem with siteground
Have you made sure to clear the caches on the production site? php artisan config:cache && php artisan route:cache && php artisan cache:clear
9 replies
TCTwill CMS
Created by Francesco Pellerone on 5/16/2024 in #👊support
Creating a front-end for parent-child nested module
There is no reason why this wouldn't work. I have just tried using the same code and it works fine for me. Are you sure you have a article with the slug that you're trying to find? And can you confirm that you're trying to access the article as: http://localhost/categories/{articleSlug}
2 replies
TCTwill CMS
Created by ALX5611 on 5/21/2024 in #👊support
Enabling user returns an error
I've had this issue in the past. It was due to email sending not being setup on the site. When you create a user, it attempts to send an email too which causes the error.
4 replies
TCTwill CMS
Created by Tom M on 3/7/2024 in #👊support
Cannot use connectedTo: Cannot unpack array with string keys
I've just tested on a fresh install, and still not working 🙁 PHP 8.0 Laravel 9.5.2 Twill 3.2.0
4 replies
TCTwill CMS
Created by Tom M on 3/7/2024 in #👊support
Cannot use connectedTo: Cannot unpack array with string keys
Okay me again, out of curiosity I changed my PHP version from 8.0.11 -> 8.1.13 and it now works without issue. Is PHP 8.0 still being supported?
4 replies