Search found 2 matches

by EugeneTheCoder
Tue Apr 11, 2017 3:11 am
Forum: 2.x.x support
Topic: [SOLVED] Echoing a contents of a block without being able to edit it
Replies: 3
Views: 6731

Re: Echoing a contents of a block

Yes! Thanks a bunch for that answer - that was just what I was looking for :) I can dig from there.
by EugeneTheCoder
Wed Apr 05, 2017 3:21 am
Forum: 2.x.x support
Topic: [SOLVED] Echoing a contents of a block without being able to edit it
Replies: 3
Views: 6731

[SOLVED] Echoing a contents of a block without being able to edit it

I have a question: if it's possible to just echo the contents of a block without it being wrapped with editable span even in admin mode? For now I looked into core index file and found these lines: public static function block($key) { $blocks = self::get('blocks'); return isset($blocks->{$key}) ? (s...