oxana
oxana
TCTwill CMS
Created by oxana on 7/5/2024 in #👊support
Preview doesn't work
i fixed, i need to add a preview function on my controller, now it works fine.Thank you for your help
4 replies
TCTwill CMS
Created by oxana on 6/27/2024 in #👊support
Adding fields to create modal
i get it now, I'll give it a try. Thank you for explaining this to me, i appreciate it!Glad to have you here!
14 replies
TCTwill CMS
Created by oxana on 6/27/2024 in #👊support
Adding fields to create modal
no, I'm saying for the logic is it kinda the same?
14 replies
TCTwill CMS
Created by oxana on 6/27/2024 in #👊support
Adding fields to create modal
yes the user can update the slug. is the function suppose to be something like this Route::get('page-route/{id}', function() {...})->name('page.detail'); Method implementation protected function formData($request) { if ($request->route('page')) { return [ 'customPermalink' => route('page.detail', ['id' => $request->route('page')]), ]; } return []; }
14 replies
TCTwill CMS
Created by oxana on 6/24/2024 in #👊support
On update the images disappear
@ifox i have changed the version and I'm working with 3.2.Thank you!
6 replies
TCTwill CMS
Created by oxana on 6/24/2024 in #👊support
On update the images disappear
When i change the way it is saved the crop and ration on the db after the update the image shows
6 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
yeah, i did that, it works now.Thank you very much!
17 replies
TCTwill CMS
Created by oxana on 6/13/2024 in #👊support
Singleton - has no index
this is the repositery <?php namespace App\Repositories; use A17\Twill\Repositories\Behaviors\HandleBlocks; use A17\Twill\Repositories\Behaviors\HandleTranslations; use A17\Twill\Repositories\Behaviors\HandleSlugs; use A17\Twill\Repositories\Behaviors\HandleMedias; use A17\Twill\Repositories\Behaviors\HandleRevisions; use A17\Twill\Repositories\ModuleRepository; use App\Models\Blog; use CwsDigital\TwillMetadata\Repositories\Behaviours\HandleMetadata; class BlogRepository extends ModuleRepository { use HandleBlocks, HandleTranslations, HandleSlugs, HandleMedias, HandleRevisions, HandleMetadata; public function __construct(Blog $model) { $this->model = $model; } }
17 replies
TCTwill CMS
Created by oxana on 6/13/2024 in #👊support
Singleton - has no index
this is the model <?php namespace App\Models; use A17\Twill\Models\Behaviors\HasBlocks; use A17\Twill\Models\Behaviors\HasTranslation; use A17\Twill\Models\Behaviors\HasMedias; use A17\Twill\Models\Behaviors\HasRevisions; use A17\Twill\Models\Model; use CwsDigital\TwillMetadata\Models\Behaviours\HasMetadata; class Blog extends Model { use HasBlocks, HasTranslation, HasMedias, HasRevisions, HasMetadata; protected $fillable = [ 'published', 'title', 'description', ]; public $translatedAttributes = [ 'title', 'description', 'active', ]; public $metadataFallbacks = [ 'title' => 'title', 'description' => 'description', ]; public $slugs = [ 'en' => 'news', 'it' => 'news', ]; public $mediasParams = [ 'cover' => [ 'default' => [ [ 'name' => 'default', 'ratio' => 16 / 9, ], ], 'mobile' => [ [ 'name' => 'mobile', 'ratio' => 1, ], ], 'flexible' => [ [ 'name' => 'free', 'ratio' => 0, ], [ 'name' => 'landscape', 'ratio' => 16 / 9, ], [ 'name' => 'portrait', 'ratio' => 3 / 5, ], ], ], ]; public function getSlugs() { return $this->slugs; } }
17 replies
TCTwill CMS
Created by oxana on 6/13/2024 in #👊support
Singleton - has no index
yes
17 replies
TCTwill CMS
Created by oxana on 6/13/2024 in #👊support
Singleton - has no index
No description
17 replies
TCTwill CMS
Created by oxana on 6/13/2024 in #👊support
Singleton - has no index
i tried it now and i get this Attempt to read property "active" on string
17 replies
TCTwill CMS
Created by oxana on 6/13/2024 in #👊support
Singleton - has no index
yes
17 replies
TCTwill CMS
Created by oxana on 6/13/2024 in #👊support
Singleton - has no index
this is how i have done it Route::name('blogs.posts')->get('blogs/posts'); Route::group(['prefix' => 'blogs'], function () { TwillRoutes::singleton('blog'); TwillRoutes::module('posts'); TwillRoutes::module('categories'); }); TwillNavigation::addLink( NavigationLink::make() ->title('Blogs') ->forRoute('twill.blogs.posts.index') ->doNotAddSelfAsFirstChild() ->setChildren([ NavigationLink::make()->forSingleton('blog')->title('Blog'), NavigationLink::make()->forModule('posts')->title('Posts'), NavigationLink::make()->forModule('categories')->title('Categories'), ]), );
17 replies
TCTwill CMS
Created by oxana on 6/5/2024 in #👊support
Can't upload SVGs
No description
9 replies
TCTwill CMS
Created by oxana on 6/5/2024 in #👊support
Can't upload SVGs
i tried different sizes and svg's and none of them get upload
9 replies
TCTwill CMS
Created by oxana on 6/5/2024 in #👊support
Can't upload SVGs
No description
9 replies
TCTwill CMS
Created by oxana on 6/5/2024 in #👊support
Can't upload SVGs
i don't have a log for this problem
9 replies
TCTwill CMS
Created by oxana on 5/23/2024 in #👊support
php artisan twill:build - failed
other people have the same project and don't have any problems
11 replies