Stop Pluralization Of Pagetitle


I’m new to Yii and have managed to work out any other issues I’ve come across so far by looking at the docs or searching, I’m stuck on this one though. To get me started with Yii I’ve used Gii to create the models and CRUD.


Page title is ‘Daily’ (from the table/controller name) but when in a listing view (such as admin or index) it is changing pageTitle to ‘Dailies’.

How can I get it to remain as ‘Daily’ regardless please?

Thank you

I assume that the page title is being set in either the action or the view. You just need to alter the code that’s been generated.

You are totally right. Thank you. Feeling stupid now :-[

I had been at it too long and just wasn’t thinking at all any more!