tomc
tomc
Explore posts from servers
TCTwill CMS
Created by tomc on 6/18/2023 in #👊support
Customizing TwillCMS Admin
Is it possible to edit the twill admin interface? I would love to add a kanban board feature to a very basic CRM I am trying to put together for my client using this package "https://madewithvuejs.com/draggable-kanban-board".
3 replies
TCTwill CMS
Created by tomc on 6/18/2023 in #👊support
Capsule Navigation in admin
I have installed a capsule for homepage, However I am not able to make it appear on my admin via the navigation in my "AppServiceProvider.php" below is what I currently have;
<?php

namespace App\Providers;

use A17\Twill\View\Components\Navigation\Link;
use A17\Twill\Facades\TwillNavigation;
use A17\Twill\View\Components\Navigation\NavigationLink;

use Illuminate\Support\ServiceProvider;

class AppServiceProvider extends ServiceProvider
{
/**
* Register any application services.
*/
public function register(): void
{
//
}

/**
* Bootstrap any application services.
*/
public function boot(): void
{
TwillNavigation::addLink(
NavigationLink::make()->forModule('articles')
);

TwillNavigation::addLink(
NavigationLink::make()->forModule('services')
);

//trying to get my capsule to appear at admin
$link = NavigationLink::make()->title('Homepage')->route('admin.homepages.landing')->icon('home');
TwillNavigation::addLink($link);
}
}
<?php

namespace App\Providers;

use A17\Twill\View\Components\Navigation\Link;
use A17\Twill\Facades\TwillNavigation;
use A17\Twill\View\Components\Navigation\NavigationLink;

use Illuminate\Support\ServiceProvider;

class AppServiceProvider extends ServiceProvider
{
/**
* Register any application services.
*/
public function register(): void
{
//
}

/**
* Bootstrap any application services.
*/
public function boot(): void
{
TwillNavigation::addLink(
NavigationLink::make()->forModule('articles')
);

TwillNavigation::addLink(
NavigationLink::make()->forModule('services')
);

//trying to get my capsule to appear at admin
$link = NavigationLink::make()->title('Homepage')->route('admin.homepages.landing')->icon('home');
TwillNavigation::addLink($link);
}
}
Kindly assist.
2 replies