devtutorum
TCTwill CMS
•Created by devtutorum on 12/14/2022 in #👊support
Browser route for sub-menu (primary navigation)
Yes sir, works wonders.
6 replies
TCTwill CMS
•Created by devtutorum on 11/29/2022 in #👊support
Browser fields the id of the object doesn't save
so in formfield it will be name => journey?
24 replies
TCTwill CMS
•Created by devtutorum on 11/29/2022 in #👊support
Browser fields the id of the object doesn't save
Correct!
24 replies
TCTwill CMS
•Created by devtutorum on 11/29/2022 in #👊support
Browser fields the id of the object doesn't save
Using relatedbrowsers yes
24 replies
TCTwill CMS
•Created by devtutorum on 11/29/2022 in #👊support
Browser fields the id of the object doesn't save
<?php
namespace App\Repositories;
use A17\Twill\Repositories\Behaviors\HandleTranslations;
use A17\Twill\Repositories\Behaviors\HandleSlugs;
use A17\Twill\Repositories\Behaviors\HandleMedias;
use A17\Twill\Repositories\ModuleRepository;
use App\Models\Lmspage;
class LmspageRepository extends ModuleRepository
{
use HandleTranslations, HandleSlugs, HandleMedias;
public function __construct(Lmspage $model)
{
$this->model = $model;
}
protected $relatedBrowsers = ['journeys'];
public function afterSave($object, $fields) {
$this->updateBrowser($object, $fields, 'journeys');
parent::afterSave($object, $fields);
}
public function getFormFields($object) {
$fields = parent::getFormFields($object);
$fields['browsers']['journeys'] = $this->getFormFieldsForBrowser($object, 'journeys');
return $fields;
}
}
24 replies
TCTwill CMS
•Created by devtutorum on 11/29/2022 in #👊support
Browser fields the id of the object doesn't save
How do I do that?
24 replies
TCTwill CMS
•Created by devtutorum on 11/29/2022 in #👊support
Browser fields the id of the object doesn't save
yes belongsTo
24 replies
TCTwill CMS
•Created by devtutorum on 11/28/2022 in #👊support
InvalidArgumentExceptionUrlBuilder must be passed a string domain
Is it correct that its trying to get the data back off a imgix.net subdomain or should it be s3 url?
27 replies
TCTwill CMS
•Created by devtutorum on 11/28/2022 in #👊support
InvalidArgumentExceptionUrlBuilder must be passed a string domain
so it apparently posts but the image never gets there so it cant get it back
27 replies
TCTwill CMS
•Created by devtutorum on 11/28/2022 in #👊support
InvalidArgumentExceptionUrlBuilder must be passed a string domain
27 replies
TCTwill CMS
•Created by devtutorum on 11/28/2022 in #👊support
InvalidArgumentExceptionUrlBuilder must be passed a string domain
Does it mean that when i have a frontend page setup and upload a file and then it goes through the controller it is not the same as Twill upload from frontend and operations somewhere in twill controllers pushes it out? Sorry im a bit confused
27 replies
TCTwill CMS
•Created by devtutorum on 11/28/2022 in #👊support
InvalidArgumentExceptionUrlBuilder must be passed a string domain
27 replies
TCTwill CMS
•Created by devtutorum on 11/28/2022 in #👊support
InvalidArgumentExceptionUrlBuilder must be passed a string domain
that cors no change, checked on a live server and docker ddev environment
27 replies
TCTwill CMS
•Created by devtutorum on 11/28/2022 in #👊support
InvalidArgumentExceptionUrlBuilder must be passed a string domain
Yes have created user with the policy: AmazonS3FullAccess
27 replies
TCTwill CMS
•Created by devtutorum on 11/28/2022 in #👊support
InvalidArgumentExceptionUrlBuilder must be passed a string domain
27 replies
TCTwill CMS
•Created by devtutorum on 11/28/2022 in #👊support
InvalidArgumentExceptionUrlBuilder must be passed a string domain
I've pushed on with setting up Imgix with S3 but not really getting anywhere in terms of the upload from Twill coming through to the dashboard etc. The source host is set and the path reflects that. If uploaded via Imgix the path displays properly in Twill. So just issues with uploading from Twill via Imgix into S3.
27 replies