oxana
oxana
TCTwill CMS
Created by oxana on 9/16/2024 in #👊support
Showing button on the side of settings page
No description
2 replies
TCTwill CMS
Created by oxana on 7/5/2024 in #👊support
Preview doesn't work
No description
4 replies
TCTwill CMS
Created by oxana on 6/27/2024 in #👊support
Adding fields to create modal
Hi, i need the permalink to also take the last name, cause right now it takes just the first name, but i don't know how to pass the last name. Any ideas how can i achieve this? public function getCreateForm(): Form { return Form::make([ Input::make() ->name('first_name') ->label('First Name') ->translatable() ->onChange('formatPermalink'), Input::make() ->name('last_name') ->label('Last Name') ->translatable() ->onChange('formatPermalink'), Input::make() ->name('slug') ->label(twillTrans('twill::lang.modal.permalink-field')) ->translatable() ->ref('permalink') ->prefix($this->getPermalinkPrefix($this->getPermalinkBaseUrl())) ]); }
14 replies
TCTwill CMS
Created by oxana on 6/24/2024 in #👊support
On update the images disappear
No description
6 replies
TCTwill CMS
Created by oxana on 6/13/2024 in #👊support
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; use A17\Twill\Http\Controllers\Admin\SingletonModuleController as BaseModuleController; class BlogController extends BaseModuleController { protected $moduleName = 'blogs'; protected $indexOptions = [ 'permalink' => false, ]; }
17 replies
TCTwill CMS
Created by oxana on 6/5/2024 in #👊support
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'], ], 'glide' => [ 'original_media_for_extensions' => ['svg'], 'default_params' => [ 'fm' => 'webp', 'q' => '80', 'auto' => 'compress,format' ], ],
9 replies
TCTwill CMS
Created by oxana on 5/23/2024 in #👊support
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
11 replies
TCTwill CMS
Created by oxana on 5/23/2024 in #👊support
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' AppServiceProvider TwillNavigation::addLink( NavigationLink::make() ->title('Navigation') ->forRoute('twill.navigation.index') ->doNotAddSelfAsFirstChild() ->setChildren([ NavigationLink::make()->forModule('menuLinks')->title('Top'), NavigationLink::make()->forModule('footerMenuLinks')->title('Bottom'), ]), ); twill.php Route::group(['prefix' => 'navigation'], function () { TwillRoutes::module('menuLinks'); TwillRoutes::module('footerMenuLinks'); }); i have also added in twill.php config, this code i don't know if it is needed 'navigation' => [ 'route' => 'twill.navigation.index', 'primary_navigation' => [ 'menuLinks' => [ 'title' => 'Top', 'module' => true, ], 'footerMenuLinks' => [ 'title' => 'Bottom', 'module' => true, ], ], ],
4 replies