How to set the Page Title in Yii Framework 1.1.x?
Question: How to set the Page Title in Yii Framework 1.1.x?
In your main layout file always have the following code between the title tag in order to display the title
You can set the title in your Controller or View files by using something similar like
- In the controller if the Page Title is not set Yii defaults the Page Title to the Controller and Action name
- The easiest way to set the Page Title is by setting it within your view files 'Everybody has there own choice of preference'
- The Page Title won't display if not echoed between the title tag eg.
- The Visual Studio component cache is out of date. Please restart Visual Studio. (mscorlib) - Microsoft SQL Server Management Studio
- How to make a table spread across multiple pages in MS Word 2013?
- How to enable the Developer tab in the Ribbon in Microsoft Word 2013?
- Where is the Trash folder located in Ubuntu 16.04 LTS?
- How to get the size of a directory using the command line in Linux?