据我注意到,在Yii中没有一个很好的、平滑的模板继承方法,但是我想知道是否有一个很好的方法来覆盖模板中的$content。基本上,我想避免这样的事情:
// Let's say that I have a website with a nice layout and I created a "support" module and in its main theme I want to add a nice heading and some activity status under the $content
// modules/support/templates/