Solved thread

This post is marked as solved. If you think the information contained on this thread must be part of the official documentation, please contribute submitting a pull request to its repository.

Get title without <title> tags with tag

Hi everyone ,

as i described on title, i want to get title from tag helper without <title> tags.

I mean :

Now : <?php Tag::getTitle();?> => <title>Homepage</title>

I want: <?php Tag::getTitle();?> => Homepage

I can do it without any helper (i.e set view var from controller, or str_replace etc)


I solve my problem :

If anyone wants to use :

<?php echo Tag::getTitle(false);?>

so easy :))