次のファイルを作成して Joomla テンプレートを作成しました: index.php " 、" templateDetails.xml "、" images " および " css "。正しくインストールしましたが、テンプレートを選択しているときに画像が表示されません。
誰でもこの問題を解決する方法を知っていますか? Joomlaのパスとさまざまな設定をトリプルチェックしましたが、機能しませんでした
これは、画像に対応する XML ファイルの一部です
<filename>images/left-top-corner.png</filename>
<filename>images/main-banner.jpg</filename>
<filename>images/main-bg.jpg</filename>
<filename>images/menu-bg.gif</filename>
<filename>images/right-bot-corner.png</filename>
<filename>images/right-top-corner.png</filename>
これは CSS コードの一部です。
{ margin:0; padding:0;} html, body { height:100%;} body { background:url(..\images\main-bg.jpg) no-repeat center top #efc072; font-family:Arial, Helvetica, sans-serif; font-size:100%; line-height:1.0625em; color:#968a70;}
これは基本的な index.php の一部です
<!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"
xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" >
<head>
<head>
<jdoc:include type="head" />
baseurl ?>/templates/mynewtemplate/css/style.css" type="text/css" /> baseurl ?>/templates/mynewtemplate/css/layout.css" type="text/css" /> baseurl ?>/ templates/mynewtemplate/css/ie_style.css" type="text/css" /> baseurl ?>/templates/template?>/css/style.css" type="text/css" />
baseurl ?>/templates/template;?>/css/ie_style.css" rel="stylesheet" type="text/css" /> baseurl ?>/templates/template;?>/css/ie7only.css" rel= "stylesheet" type="text/css" /> baseurl ?>/templates/template;?>/javascript/ie_png.js">