daniel
daniel
TCTwill CMS
Created by daniel on 2/7/2024 in #👊support
InlineRepeater deleting data on related Model entries
thank you again!
17 replies
TCTwill CMS
Created by daniel on 2/7/2024 in #👊support
InlineRepeater deleting data on related Model entries
this worked! thank you so much. just curious -- is there another method that would be more "standard" for my use case? or am I just doing something that hadn't been considered before? either way, really glad that there's a workaround for it. eventual official support would of course be awesome.
17 replies
TCTwill CMS
Created by daniel on 2/7/2024 in #👊support
InlineRepeater deleting data on related Model entries
No description
17 replies
TCTwill CMS
Created by daniel on 2/7/2024 in #👊support
InlineRepeater deleting data on related Model entries
@ifox any more thoughts on this one?
17 replies
TCTwill CMS
Created by daniel on 2/7/2024 in #👊support
InlineRepeater deleting data on related Model entries
Ok great
17 replies
TCTwill CMS
Created by daniel on 2/7/2024 in #👊support
InlineRepeater deleting data on related Model entries
No description
17 replies
TCTwill CMS
Created by daniel on 2/7/2024 in #👊support
InlineRepeater deleting data on related Model entries
This is a pretty devastating blocker for this project and so any help is greatly appreciated.
17 replies
TCTwill CMS
Created by daniel on 1/2/2024 in #👊support
DatePicker Exception
Technically it would be more region-based than strictly language-based, but that seemed like the simplest way to get it started. I guess I'll have to look into doing it with a relation somehow
3 replies
TCTwill CMS
Created by daniel on 5/9/2023 in #👊support
Updating Translations from the Command Line
4 replies
TCTwill CMS
Created by daniel on 5/9/2023 in #👊support
Updating Translations from the Command Line
ok, thankfully i'm an idiot... in my test case the actual HTML i was sending to update was blank
4 replies
TCTwill CMS
Created by daniel on 5/9/2023 in #👊support
Updating Translations from the Command Line
I tried to update using this and it didn't work:
$existingProduct = ProductTranslation::where('title', $productTitle)
->where('locale', 'en')
->where('product_translations.deleted_at', null)
->update([
'specifications' => $specsHtml,
'features' => $featureHtml,
]);
$existingProduct = ProductTranslation::where('title', $productTitle)
->where('locale', 'en')
->where('product_translations.deleted_at', null)
->update([
'specifications' => $specsHtml,
'features' => $featureHtml,
]);
4 replies
TCTwill CMS
Created by daniel on 2/8/2023 in #👊support
Sorting by a translation field (ie, title)
yeah, that was it. if i set active=1 for the translations and slug fields manually, everything starts showing up as expected
6 replies
TCTwill CMS
Created by daniel on 2/8/2023 in #👊support
Sorting by a translation field (ie, title)
these product entries and translations were created programmatically, and the actual product_translations rows are still set to active=false which i think is breaking some connections
6 replies
TCTwill CMS
Created by daniel on 2/8/2023 in #👊support
Sorting by a translation field (ie, title)
oh weird, i think i've found the issue
6 replies
TCTwill CMS
Created by daniel on 2/8/2023 in #👊support
Sorting by a translation field (ie, title)
awesome, well that makes the sorting a lot easier. i still seem to "lose" slug data on the frontend for some reason
6 replies
TCTwill CMS
Created by daniel on 11/22/2022 in #👊support
Naming many-to-many tables in Twill and Laravel
sorry - I've been sick and out of it. i would like to have at least a position column so that i can sort on the product-review level
16 replies
TCTwill CMS
Created by daniel on 11/22/2022 in #👊support
Naming many-to-many tables in Twill and Laravel
i must have followed an old suggestion from somewhere to build a module to relate 2 modules
16 replies
TCTwill CMS
Created by daniel on 11/22/2022 in #👊support
Naming many-to-many tables in Twill and Laravel
yes, a review can be related to more than one product
16 replies
TCTwill CMS
Created by daniel on 11/22/2022 in #👊support
Naming many-to-many tables in Twill and Laravel
so should I have named my Twill Repository “productReview” in the CLI command? would that have created everything as expected?
16 replies
TCTwill CMS
Created by daniel on 11/14/2022 in #👊support
Issue with locales and creating model records from a custom page
ha good catch, i should be using it 🙂 thanks again!
14 replies