This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
By default, the {% page %} variable displays a "Content" tab when the user inputs text for a static page. Is it possible to rename the label for the tab to something other than "Content"?
mjauvin said:
Where do you see that exactly?
You must be using static menus/pages... Go to "pages" tool, click to edit any page on your website. A "Content" tab is displayed above the wysiwyg editor for entering text on the page. This appears to be wired to the {% page %} variable placed in your layout. I would like to be able to rename this tab from "Content" to something else.
The tab name is defined in the RainLab.Pages string localization file, you can override this in your application's lang folder by creating lang/en/rainlab/pages/lang.php
and adding this content in it:
<?php
return [
'editor' => [
'content' => 'My Custom Content Tab',
],
];
1-4 of 4