I want to simplify my life and instead of using every time <?php echo $text->title ?>
I want to use {%title}
and get the same result. How am I supposed to do this?
I don't want necessarily this expression but something like.
I want to simplify my life and instead of using every time <?php echo $text->title ?>
I want to use {%title}
and get the same result. How am I supposed to do this?
I don't want necessarily this expression but something like.
You can use a short expression of echo.
<?=$text->title?>
Also,
In your php.ini change the short_open_tag = Off if it's there to this:
short_open_tag = On