File Manager help
Hi, could someone please assist with a couple issues I'm having with file uploader? Firstly, when clicking the upload button it won't allow me to select any filetype, everything is greyed out. Secondly, I am able to drag and drop a file to upload but then I get the following…
Cache queries flush
Hello to the community, I'm new to Twill. I'm starting making some test with, it's a very nice proper tool. I'm having a question concerning the cache, I usually do my front queries using cache like this : But when an article is added in Twill, the query is still in cache so…
Should the Browser + afterSave function work with Laravel 8
I have followed every step to the letter, inc setting up the pivot table in the correct form - alpha a-z, singular, lowercase, snake case. with foreign key ids etc. But on saving on errors, no logging errors but not persisting the relationship to the pivot table. Process: …
Custom Block Annotations Rendering as Plain Text
I've been following this tutorial which has been extremely helpful: https://spectrum.chat/twill/tips-and-tricks/adding-a-custom-block-to-twill-admin-view-with-vuejs~028d79b1-b3cd-4fb7-a89c-ce64af7be4af When I add @twillBlock annotations to my custom block blade file, they render…
Assigning a contributor to a blog post - sounds so simple!
Hi guys, I am in the process of building a very simple blog application and Twill so far has been brilliant. My current frustrations (self-inflicted I am sure) is that I want to assign an "author" to a blog post to create an "author" section in the front end blade - think…
How do I use dates in slugs?
My goal is to create something similar to how permalinks can be structured in Wordpress for posts. For example, [site]/posts/2021/02/20/my-awesome-post I've used the getPermalinkBaseUrl function in my Admin/PostController to override how the permalink generates on the admin…
How to use browser with pivot fields
for example, I have Film model that has the many to many relationship with Creator model with a pivot field Role. How I can implement the browser and set the role for each. For example, the first creator is the director and the second is the producer and so on.
Create form using a computed varibale and pass to formatPermalink
I have a module using only first_name and last_name fields. In the create form, I want the user to enter first name and the last name while the slug field updating according to the full name. I couldn't figure out how to pass full name.