Modif logo upload

689
.
CyberGhostNet Group
# istanbluebay (06.04.2017 / 16:19)
Thank you koenig
My phone and network is bad sorry
.
<img src="'.$config['homeurl'].'/images/logo/'.$config['logourl'].'">

johncms 6.2.1 где разместить ? head.php ?
.$config ?
.
Gabriel
CyberGhostNet Group
Up the 6xx
http://johncms.com/forum/index ... 12618
.
johncms 6.2.1
sql
INSERT INTO `cms_settings` (`key`, `val`) VALUES
('logo_url', '')

logo.php line 119
mysql_query("REPLACE `cms_settingss` SET `val`='" . $ress['file'] . "', `key`='logo_url'");

replace
mysql_query("REPLACE `cms_settings` SET `val`='" . $ress['file'] . "', `key`='logo_url'");

incfiles/head.php
line75
'<td valign="bottom"><a href="' . $set['homeurl'] . '">' . functions::image('logo.gif', array('class' => '')) . '</a></td>' .

replace
'<td align="bottom"><a href="' . $set['homeurl'] . '"><img src="'.$set['homeurl'].'/images/logo/'.$set['logo_url'].'"></a></td>' .

Я сделал это таким образом. Спасибо
.
CyberGhostNet Group
# istanbluebay (07.04.2017 / 00:07)
johncms 6.2.1
sql
INSERT INTO `cms_settings` (`key`, `val`) VALUES
('logo_url', '')
logo.php line 119
mysql_query("REPLACE `cms_settingss` SET `val`='" . $ress['file'] . "', `key`='logo_url'");
Good
.
CyberGhostNet Group
Update Logo Changer For JohnCMS 7.10

Feature:
√ without db
√ Fix code


Upload the archive and extract from root

If you only used johncms 7.0.0
Just upload file logo.php
Прикрепленные файлы:
.
# Gabriel (07.04.2017 / 01:14)
Good
Thank you
.
CyberGhostNet Group
Fix API
Прикрепленные файлы:
Всего: 18