Store
Community Documentation

v3 Knowledgebase

Setting a Title For Your PHP Controller

Notice: This article requires an understanding of working with controllers. Read up on this article first to learn how to work with controllers.

You can set a title for a page via a controller. Within a controllers process() method you can use the following method to set a pages title:
PHP:
$this->template()->setTitle('Hello World!'); 

That's it. You have now set a title for your controller.