Created
October 19, 2012 15:15
-
-
Save ClemensSahs/3918763 to your computer and use it in GitHub Desktop.
use headTitle, with append or prepend
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// my view title - my projekt name | |
$this->headTitle("my projekt name","prepend") | |
->setSeparator(' - ')->setAutoEscape(false); | |
?> | |
<html> | |
<head> | |
<?=$this->headTitle();?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// my projekt name - my view title | |
$this->headTitle("my projekt name","prepend") | |
->setSeparator(' - ')->setAutoEscape(false); | |
?> | |
<html> | |
<head> | |
<?=$this->headTitle();?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// here we only write our view title | |
$this->headTitle( 'my view title' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I can not find any difference in layout_with_append.phtml and layout_with_prepend.phtml .