Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [PHP][PHP Fusion] edycja stopki
UszaTek
post
Post #1





Grupa: Zarejestrowani
Postów: 46
Pomógł: 0
Dołączył: 15.07.2019

Ostrzeżenie: (0%)
-----


Witam.
Chciałbym edytować stopkę, a dokladnie usunąć z niej logo strony, licznik odwiedzin oraz tekst:
Kod
Powered by PHPFusion. Copyright © 2023 PHP Fusion Inc.  Released as free software without warranties under GNU Affero GPL v3.


PHP Fusion 9.10.30

Ssy:
https://zapodaj.net/65705f40a7310.jpg.html

Ten post edytował UszaTek 21.03.2023, 15:46:37
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
nospor
post
Post #2





Grupa: Moderatorzy
Postów: 36 559
Pomógł: 6315
Dołączył: 27.12.2004




Cytat
Dzięki wielkie, tego szukałem

to byl pierwszy link w google po wpisaniu: php fusion footer edit

Cytat
Lecz po mojej małej edycji znika cały tekst.

No bo wyrezales

return ...
Go to the top of the page
+Quote Post
UszaTek
post
Post #3





Grupa: Zarejestrowani
Postów: 46
Pomógł: 0
Dołączył: 15.07.2019

Ostrzeżenie: (0%)
-----


Cytat(nospor @ 21.03.2023, 17:55:30 ) *
to byl pierwszy link w google po wpisaniu: php fusion footer edit


No bo wyrezales

return ...


Dzięki wielkie
Został mi jeszcze problem z usunięciem licznika odwiedzin oraz grafiki.

Kod
/**
* If the visitor counter is enabled in settings this function will return the number of visitors.
*
* @return string
*/
function showcounter() {
    $locale = fusion_get_locale();
    $settings = fusion_get_settings();
    if ($settings['visitorcounter_enabled']) {
        return "<!--counter-->".number_format($settings['counter'], 0, $settings['number_delimiter'], $settings['thousands_separator'])." ".($settings['counter'] == 1 ? $locale['global_170'] : $locale['global_171']);
    } else {
        return "";
    }
}
gdy staram się skasować licznik wywala bład

Nie mogłem edytować postu.
Taki mam błąd po usunięciu ze stopki unikalne wizyty:
Kod
Fatal error: Uncaught Error: Call to undefined function showcounter() in /usr/home/SnejQu/domains/cash-online.pl/public_html/themes/Magazine/theme.php:146 Stack trace: #0 /usr/home/SnejQu/domains/cash-online.pl/public_html/themes/templates/layout.php(170): render_page() #1 /usr/home/SnejQu/domains/cash-online.pl/public_html/themes/templates/footer.php(37): require_once('/usr/home/SnejQ...') #2 /usr/home/SnejQu/domains/cash-online.pl/public_html/index.php(76): require_once('/usr/home/SnejQ...') #3 {main} thrown in /usr/home/SnejQu/domains/cash-online.pl/public_html/themes/Magazine/theme.php on line 146
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 12.10.2025 - 11:31