This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

marat.icanall
marat.icanall

hello.

have:

{% component 'editable' file='somefile.htm' %}

need:

{{ editable('somefile') }}

i created twig extension:

public function registerMarkupTags(){
    return [
        'functions' => [
            'editable' => function($file){
                // how return component {% component 'editable' file='somefile.htm' %} ?
            }
        ]
    ];
}

thanks

Last updated

1-1 of 1

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.