Hello Developers. Need Some Help...

304
.
Hi Helpers.... 
want to show guestbook in main page.. what i have to do??
.
¯\_(ツ)_/¯
Mr_Malik, In johncms version 9?
.
in v 8.0.0
.
PaRtiZzaN, in v 8.0.0
.
¯\_(ツ)_/¯
mrawaismalik, You need show last messages? 
.
PaRtiZzaN, I want show my guestbook on mainpage for logged in users... how to do this? I am using the version 8.0.0 of johncms..
.
¯\_(ツ)_/¯
mrawaismalik, mrawaismalik, mrawaismalik,

// Ссылка на гостевую

if ($systemUser->isValid()) {
echo '<div class="menu"><a href="guestbook/index.php">' . _t('Guestbook', 'system') . '</a> (' . $counters->guestbook() . ')</div>';
}
.
¯\_(ツ)_/¯
mrawaismalik, Sorry i write on mobile
.
PaRtiZzaN, wre i have to put this?
.
¯\_(ツ)_/¯
mrawaismalik, file /system/mainmenu.php in line 40, replace this
Прикрепленные файлы:
Всего: 14