Hi,
I'm looking for a way to change the layout Page Title attribute from code. I have a module that loads the same layout for every language, but then writes the texts based on which one the user selected.
I'd like to change the navigation bar text based on the selected language as well, but the layout Page Title attribute seems unreachable from code to me.
To be more clear, this is the attribute I'm talking about:
For example, if I write "English" instead of "Page" like in the image, the navigation bar would be showing "English" on that module no matter what the user selected. If there is a way to change it from code when I show the page it would be great.
I'm looking for a way to change the layout Page Title attribute from code. I have a module that loads the same layout for every language, but then writes the texts based on which one the user selected.
I'd like to change the navigation bar text based on the selected language as well, but the layout Page Title attribute seems unreachable from code to me.
To be more clear, this is the attribute I'm talking about:
For example, if I write "English" instead of "Page" like in the image, the navigation bar would be showing "English" on that module no matter what the user selected. If there is a way to change it from code when I show the page it would be great.