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
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