Twig Questions

Ad
Ad

Display a switch by a flag

I need to display a switch if a flag in my database is setted to a positive value. <div class="form-group m-form__group row

Change Twig Loader order

So i've created a few twig loaders in my project for templates stored in databases. simply having them implement loaderinterface already
Ad
Ad

Include script only once

I am building some twig modules that require specific javascript to work. a javascript file is an asset that can be included as
Ad
Ad
Ad
Ad
Ad
Ad

How to reload page after post

I'm currently creating a form on a page in octobercms that executes a php code block. html/twig: {{ form_open({ request: 'onhandleform' }) }}
Ad

Twig loader crushes with October CMS

When i start fresh october project it says: class system wigloader contains 1 abstract method and must therefore be declared abstract or implement
Ad

Blog Categories

Ad