Hi,
I have just instalet phpfusion and having some problems:
I can't edit anything at Settings -> Main, I get a 403 forbidden.
I installed my local language, Portuguese, the icon as errors, I already replace the image file. But the Portuguese-s always says it as errors.
Thanks in advance
I would like to remove the error log so that it does not appear on the page, but I don't quite know how. I have tried to search around on google, and found some codes to insert in " Error_handling_includes " But it does not work as intended. Maybe there is one of you who can help/guide me in the right direction?
I don't know where the problem was, but i fixed it. I thought the problem would be in the image itself and I was partly true. I downloaded images (Slovak.png and Slovak-s.png) from FTP to computer but they wouldn't open in my computer. So I tried to fix/edit them in Photoshop. Photoshop gave me the following message: „PNG file corrupted by ASCII conversion“. I created in Photoshop new, custom images Slovak.png and Slovak-s.png and I uploaded them to the server. These images could be opened on the computer, but still did not work on the server.
I finally solved the problem by renaming the image Slovak-s.png to Slovak-small.png and editing theme.php with new photo name.
[code]echo '<img class="m-r-5" src="'.BASEDIR.'locale/'.$language_folder.'/'.$language_folder.'-small.png" alt="'.$language_folder.'"/> ';[/code]
Now it works.
I have already solved the problem with the missing texts. I compared the English translation with the Slovak one and found out that they have different markings. While in the English markings there are only numbers, in the Slovak translation there is admins_ before the numerical markings. So I did a simple thing. In the Slovak version of the translation, I simply deleted admins_ in front of each translation and it works. I am attaching a screenshot as an example.
[url=https://ibb.co/0Y8HS8k][img]https://i.ibb.co/0Y8HS8k/EN-SK-locale-problem.jpg[/img][/url]
But now I'm struggling with another problem. It does not show the Slovak flag on the page when switching languages. The image does not load. As if it wasn't even uploaded. But he is on FTP. But the site has a problem reading it.
... and excuse my unprofessional expressions. I'm not a programmer.
I used another solution which is quite effective. I created a new panel with the following content:
[code]<div id="google_translate_element" align="center"></div>
<script>
function googleTranslateElementInit() {
new google.translate.TranslateElement({pageLanguage: 'pl', layout: google.translate.TranslateElement.InlineLayout.SIMPLE, includedLanguages: 'en,de,cs,sk,pl'}, 'google_translate_element');
}
</script>
<script src="https://translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>[/code]
I made the panel visible on all pages. You can also include the code in your theme.
Of course, you need to enter the default language ([i]pageLanguage[/i]) of the page and the languages that are to be offered ([i]includedLanguages: 'en,de,cs,sk,pl'[/i]) in the code.
Thanks for your reply and help, but the multilingual still doesn't work. I tried to download other languages, but they don't work either. Any other ideas?
[center][img]https://iili.io/HCUzK5x.png[/img][/center]
Hello. I need help. I'm having a problem with the multilanguages on my website. I don't know why.I don't know since when. But exept the English language, no other language works correctly for me . It's hard to explain, so I'm sending screenshots of my problem.
[img]https://iili.io/HBrEhjR.png[/img]
[small]The page has a problem displaying the flag icon.[/small]
[img]https://iili.io/HBrENCN.png[/img]
[small]...and in the administration, complete translations of the texts are missing[/small]
Could someone give me advice?
Re: I want to remove left blocks and expand right blocks
OK I really don't know if this is what you want but here is what I did to the code in theme.php of the Magazine theme.
[code] echo '<div class="container-fluid">';
echo defined('AU_CENTER') && AU_CENTER ? AU_CENTER : '';
echo showbanners(1);
echo '<div class="row">';
$content = ['sm' => 12, 'md' => 12, 'lg' => 12];
// $left = ['sm' => 3, 'md' => 2, 'lg' => 2];
$right = ['sm' => 4, 'md' => 4, 'lg' => 4];
// if (defined('LEFT') && LEFT) {
// $content['sm'] = $content['sm'] - $left['sm'];
// $content['md'] = $content['md'] - $left['md'];
// $content['lg'] = $content['lg'] - $left['lg'];
// }
if (defined('RIGHT') && RIGHT) {
$content['sm'] = $content['sm'] - $right['sm'];
$content['md'] = $content['md'] - $right['md'];
$content['lg'] = $content['lg'] - $right['lg'];
}
// if (defined('LEFT') && LEFT) {
// echo '<div class="col-xs-12 col-sm-'.$left['sm'].' col-md-'.$left['md'].' col-lg-'.$left['lg'].'">';
// echo LEFT;
// echo '</div>';
// }[/code]
And here you can see the result (with all left panels disabled or moved to the right panels)...
[url]https://rogue.whisperwillow.net/index.php[/url]
You can view all discussion threads in this forum. You cannot start a new discussion thread in this forum. You cannot start on a poll in this forum. You cannot upload attachments in this forum. You can download attachments in this forum.