[[FrontPage]]

#contents
*OpenPNE3系にfaviconを [#maf60215]
http://sns.openpne.jp/communityTopic/5339

オリジナルのfaviconを出したい場合、
 <link rel="shortcut icon" href="http://xxx.com/favicon.ico" />
みたいなタグがヘッダーに必要で

 apps\pc_frontend\templates\_layout.php
に追加してみたらfavicon表示されました!(backendも同様)

 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml" dir="ltr">
 <head>
 <?php include_http_metas() ?>
 <?php include_metas() ?>
 <?php include_title() ?>
 <?php include_stylesheets() ?>
 <?php include_javascripts() ?>
 <?php if (Doctrine::getTable('SnsConfig')->get('customizing_css')): ?>
 <link rel="stylesheet" type="text/css" href="<?php echo url_for('@customizing_css') ?>" />
 <?php endif; ?>
 <?php echo $op_config->get('pc_html_head') ?>
 
 <link rel="shortcut icon" href="favicon.ico" />
 
 </head>
 <body id="<?php printf('page_%s_%s', $view->getModuleName(), $view->getActionName()) ?>" class="<?php echo opToolkit::isSecurePage() ? 'secure_page' : 'insecure_page' ?>">
 <?php echo $op_config->get('pc_html_top2') ?>
 <div id="Body">
 <?php echo $op_config->get('pc_html_top') ?>
 <div id="Container">

http://sns.kuji-clinic.net/RS_Base/

 <link rel="shortcut icon" href="http://sns.kuji-clinic.net/RS_Base/favicon.ico" />

トップ   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS