We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Page titles conform to the pattern configured in the Settings module (pagetitle modvar).
pagetitle
Page titles consist only of the individual page titles. All other parts are missing.
The following code from the legacy PageUtil needs to be readded so the ParameterBag instance managing page vars can utilise it.
PageUtil
ParameterBag
if ('title' == $varname) { $title = System::getVar('pagetitle', ''); if (!empty($title) && '%pagetitle%' != $title) { $title = str_replace('%pagetitle%', $_pageVars[$varname]['contents'], $title); $title = str_replace('%sitename%', System::getVar('sitename', ''), $title); $moduleInfo = ModUtil::getInfoFromName(ModUtil::getName()); $moduleDisplayName = $moduleInfo['displayname']; $title = str_replace('%modulename%', $moduleDisplayName, $title); return $title; } }
cc @craigh
The text was updated successfully, but these errors were encountered:
2b9c55d
added arguments, refs #3921
047dd0f
No branches or pull requests
Expected behavior
Page titles conform to the pattern configured in the Settings module (
pagetitle
modvar).Actual behavior
Page titles consist only of the individual page titles. All other parts are missing.
Additional hints
The following code from the legacy
PageUtil
needs to be readded so theParameterBag
instance managing page vars can utilise it.cc @craigh
The text was updated successfully, but these errors were encountered: