New issue
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
Contao 4.10 fixes #61
Conversation
Thank you very much. @hschottm Can you implement it, please? |
@Sioweb Es gibt noch ein Problem mit der URL in mod_tagcloud.html5, sobald die Rootseite ein Sprachensuffix und eine eingetragene Domain hat. Weißt du zufällig, was man ändern muss. Siehe https://www.allesbrille-berlin.com/de/kontakt (ganz unten ist die Tagcloud). Ich habe es temporär hinbekommen, indem ich die URL manuell hard eingetragen haben
Es geht um |
…at implements Countable'
@jankout Bei mir hat das zunächst auch nicht funktioniert, ich glaube nach dem ich das Verzeichnis In der Datei Zum Debuggen habe ich bei mir lokal mal folgendes in Zeile 112 - 128 eingetragen: if (count($pageArr))
{
echo '<pre>' . __METHOD__ . ":\n" . print_r($objPage->getFrontendUrl(), true) . "\n#################################\n\n" . '</pre>';
die('<pre>' . __METHOD__ . ":\n" . print_r($objPage->getFrontendUrl('/tag/' . \TagHelper::encode($tag['tag_name'])), true) . "\n#################################\n\n" . '</pre>');
$strUrl = StringUtil::ampersand($objPage->getFrontendUrl('/tag/' . \TagHelper::encode($tag['tag_name'])));
if (strlen($strParams))
{
if (strpos($strUrl, '?') !== false)
{
$strUrl .= '&' . $strParams;
}
else
{
$strUrl .= '?' . $strParams;
}
}
} Das sollte dann eine weiße Seite erzeugen mit dem Inhalt:
|
This will fix the
no root page found
#60Im not sure which contao version is required for
$objPage->getFrontendUrl
orPageModel::getFrontendUrl
. Maybe 4.8?