.zeenux
.zeenux
TCTwill CMS
Created by .zeenux on 6/19/2023 in #👊support
Adding Comments to Posts
What is the best way to provide the ability to post comments on a Post? It standard practice for a blog>
9 replies
TCTwill CMS
Created by .zeenux on 6/3/2023 in #👊support
Dynamic Grid and content type Block
How do i dynamic grid in a block. i need to have a Grid block where the number of columns can be dynamically altered. For e.g someone selects a the grid block assigns number of columns too it, add either images, text or any other content. What is the path i should take?
2 replies
TCTwill CMS
Created by .zeenux on 5/19/2023 in #👊support
fileparams in Model
Is there any documentation on fileparams. For instance how to add file types parameter to it
5 replies
TCTwill CMS
Created by .zeenux on 5/13/2023 in #👊support
adding a custom link in the dashboard
Is there any way to add a link to a custom page in the dashboard? like adding the link in dashbord.modules array in config/twill.php. Twill 3
3 replies
TCTwill CMS
Created by .zeenux on 5/11/2023 in #👊support
Twill + Spatie permissions
How would someone go about implementing spatie permissions in Twill. The spatie permissions are pretty comprehensive. For e.g If i wanted certain articles in a module article to be accessible only to a certain group, Twill doesn't have permission management for such a scenario. So how would one implement them in the CMS?
10 replies
TCTwill CMS
Created by .zeenux on 5/10/2023 in #👊support
Twill advanced permissions
I've followed the documentation with regard to adding the enabled and permission key to config/twill.php. I ran the migrations, although it reported back there were no migrations. However i don't see the permissions tab in my module. What am i missing?
46 replies
TCTwill CMS
Created by .zeenux on 5/8/2023 in #👊support
Preview Modules
Hey how do you go about previewing modules? There is not a lot of documentation available. How do you handle route. When you click on the route that is generated by the backend for instance http://localhost:9000/en/pages/intro the result is not found. If i add a route which routes to the view located at the /site/modulename.blade.php it returns an error $item not found.
10 replies
TCTwill CMS
Created by .zeenux on 5/1/2023 in #👊support
Fetch all images in a block
How do you fetch all the images in a block? For e.g i have this block <x-twill::medias name="slide" label="Slide Show Image" max=10 /> I want to render this block into a slideshow. However this doesn't work @foreach ($block->images('slide') as $image ) <img class="shadow-2xl" src="{{$image('highlight', 'default')}}"/> @endforeach Help would be appreciated.
4 replies
TCTwill CMS
Created by .zeenux on 4/30/2023 in #👊support
Repeater without blocks
How do you add and render a repeater without including it in the block?
2 replies
TCTwill CMS
Created by .zeenux on 4/29/2023 in #👊support
Adding custom blocks to modules
How do you add custom blocks to modules? Generally i add blocks to a module using $form->add(BlockEditor::make()) within the controller getForm Method. However if i have created a custom block class named EditorBlade and i try to add it like $form->add(EditorBlade::make()) it gives me an error of call to undefined method Editor::make().
3 replies
TCTwill CMS
Created by .zeenux on 4/27/2023 in #👊support
Displaying Block elements on the Front Page
how do you display block elements on the frontpage? And i don't mean the preview file. I want to access the block elements like $item->block like that.
8 replies
TCTwill CMS
Created by .zeenux on 4/25/2023 in #👊support
Twill Role based access
How would i go about adding a Role based access to CMS Components and its entries. For e.g in an image module i would want to be able to allow or deny access (on the front end) to certain roles.
8 replies