trompix
TCTwill CMS
•Created by trompix on 8/20/2024 in #👊support
Modifying data in a block with a browser field
Looking at the code, I see that the data is being transferred to Vue, but I can’t find a place where I can insert the data so that it is selected when loading the data.
6 replies
TCTwill CMS
•Created by trompix on 8/20/2024 in #👊support
Modifying data in a block with a browser field
Good morning. Not yet. I'll do real things today
6 replies
TCTwill CMS
•Created by trompix on 3/7/2024 in #👊support
asynchronous request in select
But what if in my first select, for example, records from the category table in the database are displayed and there are, for example, 100 records and not specific ones? and over time there will be more of them?
5 replies
TCTwill CMS
•Created by trompix on 3/1/2023 in #👊support
remove positioning and nesting from the page index
yes
7 replies
TCTwill CMS
•Created by trompix on 11/9/2022 in #👊support
Creating a category without the ability to get to the page
protected $indexOptions = [
'editInModal' => true,
];
2 replies
TCTwill CMS
•Created by trompix on 11/1/2022 in #👊support
permissions on Twill
found the answer:
protected function getIndexOption($option)
{
if (in_array($option, ['publish', 'edit'])) {
return Auth::guard('twill_users')->user()->can('reviewer-permission');
}
return parent::getIndexOption($option);
}
2 replies
TCTwill CMS
•Created by trompix on 10/21/2022 in #👊support
Go directly to the preview from the content page
7 replies
TCTwill CMS
•Created by trompix on 10/21/2022 in #👊support
Go directly to the preview from the content page
7 replies
TCTwill CMS
•Created by trompix on 10/21/2022 in #👊support
Go directly to the preview from the content page
If I understand you correctly, then yes.
7 replies
TCTwill CMS
•Created by trompix on 10/18/2022 in #👊support
Getting fields through a component browser
22 replies
TCTwill CMS
•Created by trompix on 10/18/2022 in #👊support
Getting fields through a component browser
@ifox I have a browser component. In which I connect for example three articles. I have a preview file where I want to display data from these articles (but the data is stored in a block in the article).
browser->article->block->field
22 replies
TCTwill CMS
•Created by trompix on 10/18/2022 in #👊support
Getting fields through a component browser
My field is in a block.
22 replies
TCTwill CMS
•Created by trompix on 10/18/2022 in #👊support
Getting fields through a component browser
22 replies
TCTwill CMS
•Created by trompix on 10/18/2022 in #👊support
Getting fields through a component browser
22 replies
TCTwill CMS
•Created by trompix on 10/18/2022 in #👊support
Getting fields through a component browser
22 replies
TCTwill CMS
•Created by trompix on 10/17/2022 in #👊support
Custom Validation Rules in request
By the way, thanks for the replies. But some strange behavior in the fields.
If I refresh the page and try to save it, it remains calm (I connected xdebug and it does not capture data as if the rule is being ignored). If I try to write something and then erase everything, then only then my rule is applied, as if the field does not see.
I did the validation like this
public function rulesForCreate(): array
{
return $this->rulesForTranslatedFields([], [
'city' => ['required', new RequiredWysiwyg],
]);
}
public function rulesForUpdate(): array
{
return $this->rulesForTranslatedFields([], [
'city' => ['required', new RequiredWysiwyg],
]);
}
And now, in any case, if the field is empty, then an error occurs.14 replies
TCTwill CMS
•Created by trompix on 10/17/2022 in #👊support
Custom Validation Rules in request
@Harings Rob Is it possible to poll the field to change it to a WYSIWYG editor? Will your validation also throw an error that the field is empty?
14 replies
TCTwill CMS
•Created by trompix on 10/17/2022 in #👊support
Custom Validation Rules in request
14 replies
TCTwill CMS
•Created by trompix on 10/17/2022 in #👊support
Custom Validation Rules in request
@Harings Rob Can i ask you? What if you refresh the page and immediately click save? Are you saving successfully?
If I click on the field then the check will work.
14 replies