Новости Joomla

0 Пользователей и 1 Гость просматривают эту тему.
  • 33 Ответов
  • 6467 Просмотров
*

vektornsk

  • Осваиваюсь на форуме
  • 22
  • 0 / 0
Здраствуйте,  обновил с 1.5.14 до 1.5.17 версии Joomla.  И в меню теперь не отображается картинки и криво отображается ссылки.
mippnf.ru  а было вот так
Подскажите где подкрутить?
*

valagoff

  • Давно я тут
  • 984
  • 110 / 0
Re: В меню не отображает картинок
« Ответ #1 : 17.05.2010, 13:31:55 »
Вот что у тебя идет до <body>:
Код
<!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">
<head>
  <meta http-equiv="content-type" content="text/html; charset=utf-8" />
  <meta name="robots" content="index, follow" />
  <meta name="keywords" content="" />
  <meta name="title" content="Главная" />
  <meta name="author" content="Administrator" />
  <meta name="description" content="Московский институт предпринимательства и права" />
  <meta name="generator" content="Joomla! 1.5 - Open Source Content Management" />

  <title>Московский институт предпринимательства и права - Главная</title>
  <link rel="stylesheet" href="/plugins/system/jceutilities/css/jceutilities-217.css" type="text/css" />
  <link rel="stylesheet" href="/plugins/system/jceutilities/themes/standard/css/style.css" type="text/css" />
  <script type="text/javascript" src="/plugins/system/jceutilities/js/mediaobject.js"></script>
  <script type="text/javascript" src="/plugins/system/jceutilities/js/jquery-126.js"></script>
  <script type="text/javascript" src="/plugins/system/jceutilities/js/jceutilities-217.js"></script>
  <script type="text/javascript" src="/media/system/js/mootools.js"></script>

  <script type="text/javascript" src="/media/system/js/caption.js"></script>
  <script type="text/javascript">
MediaObject.init({'flash':"9,0,124,0",'windowmedia':"5,1,52,701",'quicktime':"6,0,2,0",'realmedia':"7,0,0,0",'shockwave':"8,5,1,0"});jQuery(document).ready(function(){jceutilities({'popup':{'legacy':0,'resize':1,'icons':1,'overlay':1,'overlayopacity':0.8,'overlaycolor':"#000000",'fadespeed':500,'scalespeed':500,'width':640,'height':480,'hideobjects':1,'scrollpopup':1,'theme':"standard",'themecustom':"",'themepath':"plugins/system/jceutilities/themes"},'tootlip':{'classname':"tooltip",'opacity':1,'speed':150,'position':"br",'offsets':"{'x': 16, 'y': 16}"},'imgpath':"plugins/system/jceutilities/img",'pngfix':1,'wmode':0});});
  </script>



<link href="/templates/mmip/css/reset.css" rel="stylesheet" type="text/css" media="screen">
<link href="/templates/mmip/css/template.css" rel="stylesheet" type="text/css" media="screen">
</head>
<body>
<jdoc:include name="YOOiecheck" style="none"/
<!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">
<head>
  <meta http-equiv="content-type" content="text/html; charset=utf-8" />

  <meta name="robots" content="index, follow" />
  <meta name="keywords" content="" />
  <meta name="title" content="Главная" />
  <meta name="author" content="Administrator" />
  <meta name="description" content="Московский институт предпринимательства и права" />
  <meta name="generator" content="Joomla! 1.5 - Open Source Content Management" />
  <title>Московский институт предпринимательства и права - Главная</title>
  <link rel="stylesheet" href="/plugins/system/jceutilities/css/jceutilities-217.css" type="text/css" />

  <link rel="stylesheet" href="/plugins/system/jceutilities/themes/standard/css/style.css" type="text/css" />
  <script type="text/javascript" src="/plugins/system/jceutilities/js/mediaobject.js"></script>
  <script type="text/javascript" src="/plugins/system/jceutilities/js/jquery-126.js"></script>
  <script type="text/javascript" src="/plugins/system/jceutilities/js/jceutilities-217.js"></script>
  <script type="text/javascript" src="/media/system/js/mootools.js"></script>
  <script type="text/javascript" src="/media/system/js/caption.js"></script>

  <script type="text/javascript">
MediaObject.init({'flash':"9,0,124,0",'windowmedia':"5,1,52,701",'quicktime':"6,0,2,0",'realmedia':"7,0,0,0",'shockwave':"8,5,1,0"});jQuery(document).ready(function(){jceutilities({'popup':{'legacy':0,'resize':1,'icons':1,'overlay':1,'overlayopacity':0.8,'overlaycolor':"#000000",'fadespeed':500,'scalespeed':500,'width':640,'height':480,'hideobjects':1,'scrollpopup':1,'theme':"standard",'themecustom':"",'themepath':"plugins/system/jceutilities/themes"},'tootlip':{'classname':"tooltip",'opacity':1,'speed':150,'position':"br",'offsets':"{'x': 16, 'y': 16}"},'imgpath':"plugins/system/jceutilities/img",'pngfix':1,'wmode':0});});
  </script>

<link href="/templates/mmip/css/reset.css" rel="stylesheet" type="text/css" media="screen">
<link href="/templates/mmip/css/template.css" rel="stylesheet" type="text/css" media="screen">
</head>
Надо убрать вот это:
Код
<body>
<jdoc:include name="YOOiecheck" style="none"/
<!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">
<head>
  <meta http-equiv="content-type" content="text/html; charset=utf-8" />

  <meta name="robots" content="index, follow" />
  <meta name="keywords" content="" />
  <meta name="title" content="Главная" />
  <meta name="author" content="Administrator" />
  <meta name="description" content="Московский институт предпринимательства и права" />
  <meta name="generator" content="Joomla! 1.5 - Open Source Content Management" />
  <title>Московский институт предпринимательства и права - Главная</title>
  <link rel="stylesheet" href="/plugins/system/jceutilities/css/jceutilities-217.css" type="text/css" />

  <link rel="stylesheet" href="/plugins/system/jceutilities/themes/standard/css/style.css" type="text/css" />
  <script type="text/javascript" src="/plugins/system/jceutilities/js/mediaobject.js"></script>
  <script type="text/javascript" src="/plugins/system/jceutilities/js/jquery-126.js"></script>
  <script type="text/javascript" src="/plugins/system/jceutilities/js/jceutilities-217.js"></script>
  <script type="text/javascript" src="/media/system/js/mootools.js"></script>
  <script type="text/javascript" src="/media/system/js/caption.js"></script>

  <script type="text/javascript">
MediaObject.init({'flash':"9,0,124,0",'windowmedia':"5,1,52,701",'quicktime':"6,0,2,0",'realmedia':"7,0,0,0",'shockwave':"8,5,1,0"});jQuery(document).ready(function(){jceutilities({'popup':{'legacy':0,'resize':1,'icons':1,'overlay':1,'overlayopacity':0.8,'overlaycolor':"#000000",'fadespeed':500,'scalespeed':500,'width':640,'height':480,'hideobjects':1,'scrollpopup':1,'theme':"standard",'themecustom':"",'themepath':"plugins/system/jceutilities/themes"},'tootlip':{'classname':"tooltip",'opacity':1,'speed':150,'position':"br",'offsets':"{'x': 16, 'y': 16}"},'imgpath':"plugins/system/jceutilities/img",'pngfix':1,'wmode':0});});
  </script>

<link href="/templates/mmip/css/reset.css" rel="stylesheet" type="text/css" media="screen">
<link href="/templates/mmip/css/template.css" rel="stylesheet" type="text/css" media="screen">
</head>
Повнимательнее!
*

vektornsk

  • Осваиваюсь на форуме
  • 22
  • 0 / 0
Re: В меню не отображает картинок
« Ответ #2 : 17.05.2010, 13:59:42 »
valagoff Убрал, но не че не поменялось
*

valagoff

  • Давно я тут
  • 984
  • 110 / 0
Re: В меню не отображает картинок
« Ответ #3 : 17.05.2010, 14:34:54 »
Вы внимательнее код весь посмотрите.
1. Здесь не закрыто
Код
<jdoc:include name="YOOiecheck" style="none"/
2. Дублирование
Код
</body></html>
3. В CSS файле измени float
Код
.moduletable_menu h3, .moduletable_ab h3, .moduletable_pr h3, .moduletable_inf h3, .moduletable_news h3, .contentheading h3, .moduletable_reg h3, .contentpaneopen h3{
position:relative;
font:bold 14px Tahoma;
color:#373e43;
display:block;
float:none;
}
*

vektornsk

  • Осваиваюсь на форуме
  • 22
  • 0 / 0
Re: В меню не отображает картинок
« Ответ #4 : 17.05.2010, 14:44:15 »
valagoff Спасибо за ответы. делаю как ты говоришь, выровнялся текст, а картинки так и не появились как было раньше.
*

valagoff

  • Давно я тут
  • 984
  • 110 / 0
Re: В меню не отображает картинок
« Ответ #5 : 17.05.2010, 15:02:21 »
Дело не в обновлении с 1.5.14 до 1.5.17 версии Joomla, а в верстке!
Посмотри тот ли шаблон, тот ли CSS файл что и раньше, есть ли картинки на которые ссылается CSS файл и т.д.
Вообщем, направление дал - теперь сам.
*

vektornsk

  • Осваиваюсь на форуме
  • 22
  • 0 / 0
Re: В меню не отображает картинок
« Ответ #6 : 17.05.2010, 15:03:53 »
Просто до обновления все работало, а тут как сделал вот так вот все начало отображаться  :'( ясно буду пробывать
*

vektornsk

  • Осваиваюсь на форуме
  • 22
  • 0 / 0
Re: В меню не отображает картинок
« Ответ #7 : 17.05.2010, 15:55:50 »
Всё проверил, шаблон тот, картинки есть и в ксс все прописанно , почему не работает :( чето жалею что уже обновил
*

valagoff

  • Давно я тут
  • 984
  • 110 / 0
Re: В меню не отображает картинок
« Ответ #8 : 17.05.2010, 16:10:40 »
Ещё раз говорю - дело не в обновлении, а в верстке!
Покажите в CSS коде где у вас ссылки на картинки "человечков" в шапках модулей.
*

vektornsk

  • Осваиваюсь на форуме
  • 22
  • 0 / 0
Re: В меню не отображает картинок
« Ответ #9 : 17.05.2010, 16:34:15 »
Код
.moduletable_menu .icon{
background: url(../images/st.png) no-repeat bottom;
}
.moduletable_ab .icon{
background: url(../images/s-ka.png) no-repeat bottom;
}
.moduletable_pr .icon{
background: url(../images/pr.png) no-repeat bottom;
}
.moduletable_inf .icon{
background: url(../images/add.png) no-repeat bottom;
}
*

valagoff

  • Давно я тут
  • 984
  • 110 / 0
Re: В меню не отображает картинок
« Ответ #10 : 17.05.2010, 17:00:46 »
А теперь посмотрите где класс .icon в коде страницы? Нет его там!

P.S. <jdoc:include name="YOOiecheck" style="none"/> это часть PHP кода и должна быть в <?php  ?>
*

vektornsk

  • Осваиваюсь на форуме
  • 22
  • 0 / 0
Re: В меню не отображает картинок
« Ответ #11 : 17.05.2010, 17:15:50 »
А теперь посмотрите где класс .icon в коде страницы? Нет его там!

P.S. <jdoc:include name="YOOiecheck" style="none"/> это часть PHP кода и должна быть в <?php  ?>
А как сделать чтоб был?
YOOiecheck это вот что http://wedal.ru/uroki-joomla/pobedim-internet-explorer-6-vmeste.html
*

valagoff

  • Давно я тут
  • 984
  • 110 / 0
Re: В меню не отображает картинок
« Ответ #12 : 17.05.2010, 17:25:01 »
По поводу блоков должна быть, например, следующая конструкция:
Код
<div class="moduletable_menu">
        <div style="background: url(http://mippnf.ru/templates/mmip/images/st.png) no-repeat top right; padding-top: 20px;">
  <jdoc:include type="modules" name="название модуля" style="none" />
        </div>
</div>
*

valagoff

  • Давно я тут
  • 984
  • 110 / 0
Re: В меню не отображает картинок
« Ответ #13 : 17.05.2010, 17:30:11 »
А как сделать чтоб был?
YOOiecheck это вот что http://wedal.ru/uroki-joomla/pobedim-internet-explorer-6-vmeste.html
Неправильно я написал:(
Нужно скачать и установить модуль YOOiecheck, включить его и добавить в код страницы <jdoc:include name="YOOiecheck" style="none"/>
Я обычно создаю позицию вверху страницы и указываю её в позиции модуля YOOiecheck
*

vektornsk

  • Осваиваюсь на форуме
  • 22
  • 0 / 0
Re: В меню не отображает картинок
« Ответ #14 : 17.05.2010, 17:37:55 »
Модуль работает если с ie6 зайти то будет сообщение, не особо шарю в коде
*

vektornsk

  • Осваиваюсь на форуме
  • 22
  • 0 / 0
Re: В меню не отображает картинок
« Ответ #15 : 18.05.2010, 18:11:54 »
Код
.icon{
position:relative;
height:51px;
width:45px;
margin-left:160px;
margin-top:-40px
}
.moduletable_menu .icon{
background: url(../images/st.png) no-repeat bottom;
}
.moduletable_ab .icon{
background: url(../images/s-ka.png) no-repeat bottom;
}
.moduletable_pr .icon{
background: url(../images/pr.png) no-repeat bottom;
}
.moduletable_inf .icon{
background: url(../images/add.png) no-repeat bottom;
}
Подскажите чтоб картинки показывались в меню.  :'( В CSS плохо шарю
*

valagoff

  • Давно я тут
  • 984
  • 110 / 0
Re: В меню не отображает картинок
« Ответ #16 : 18.05.2010, 18:39:43 »
На странице нет элементов с классом "icon" поэтому и не отображаются. Код шаблона покажите.
*

vektornsk

  • Осваиваюсь на форуме
  • 22
  • 0 / 0
Re: В меню не отображает картинок
« Ответ #17 : 18.05.2010, 18:43:07 »
Код
html, body {
height:100%;
}
body {
font-family: Verdana, sans-serif;
        line-height: 1.3em;
font-size: 11px;
color: #000000;
width:100%;
background: url(../images/header_fon.png) repeat-x top;
}
#wrap {
position: relative;
width:100%;
min-width:1000px;
margin: 0px auto;
}
input{
height:15px;
border:1px solid #bebb9d
}
label{
font:12px Tahoma
}

#header {
height:239px;
background: url(../images/header.png) no-repeat top;
width:1000px;
margin:auto;
}
#header h1{
font: 22px sans-serif;
color:#FFF;
margin-bottom:18px;
}
#header h2{
font: 18px sans-serif;
color:#bc0000;
margin-bottom:10px
}
#header h2, #header h1{
text-align:center;
}
#header a{
display:block;
height:172px;
width:172px;
margin:auto;
background: url(../images/mipp.png) no-repeat top;
top:147px;
}
#menu{
height:32px;
margin:-22px 27px 0 35px;
background: url(../images/menu.png) no-repeat center;
       
}
.content{
margin-top:30px;
min-height:800px;
}
.left{
float:left;
margin-left:20px;
width:230px;
margin-bottom:30px;
}
.right{
float:right;
margin-right:20px;
width: 230px;
margin-bottom:30px;
}
.page{
margin: 0 270px;
}
.page2{
margin: 0 20px 0 270px;
}
#footer{
height:177px;
         position:relative;
        min-width:1000px;
        margin-top:20px
}
.f_l{
float:left;
width:242px;
height:177px;
background: url(../images/f_l.png) no-repeat left;
}
.f_r{
float:right;
width:299px;
height:177px;
background: url(../images/f_r.png) no-repeat center;
}
.f_f{
margin:0 299px 0 242px;
height:87px;
padding-top:90px;
}
.f_infa{
height:84px;
border-top:3px #dddfe1 solid;
}
.f_con{
float:left;
padding:14px 0 0 16px;
width:50%;
font:12px Tahoma;
                                height:84px;
}
.copy{
padding-top:10px;
font:12px Tahoma;
                                height:84px;
}
.moduletable_menu, .moduletable_ab, .moduletable_pr, .moduletable_reg{
width:216px;
background:#f5f3e1 url(../images/c_t.png) no-repeat top;
padding:9px 0 0 15px;
        margin-bottom:20px
}
.moduletable_banner{
width:231px;
background:#dee8ef url(../images/b_t.png) no-repeat top;
        margin-bottom:20px;
padding:4px 0 0 0;

}
.moduletable_banner .mod_content{
border-left:1px solid #bdcdd9;
border-right:1px solid #bdcdd9;
}
.moduletable_banner .clr{
background:#dee8ef url(../images/b_b.png) no-repeat bottom;
width:231px;
height:3px;
margin-left:-1px;
margin-top:1px;
}
.moduletable_inf, .moduletable_news{
         width:216px;
background:#dee8ef url(../images/c_tg.jpg) no-repeat top;
padding:9px 0 0 15px;
        margin-bottom:20px
}
.moduletable_menu h3, .moduletable_ab h3, .moduletable_pr h3, .moduletable_inf h3, .moduletable_news h3, .contentheading h3, .moduletable_reg h3, .contentpaneopen h3{
position:relative;
font:bold 14px Tahoma;
color:#373e43;
display:block;
float:left;
}
.moduletable_menu .mod_content, .moduletable_ab .mod_content, .moduletable_pr .mod_content, .moduletable_reg .mod_content{
background: url(../images/c_b.jpg) no-repeat bottom;
margin-left:-15px;
}
.moduletable_menu hr, .moduletable_ab hr, .moduletable_pr hr, .moduletable_reg hr{
position:relative;
height:5px;
background:#dbd8be;
margin:8px 31px 0 4px;
border:0
}
         .moduletable_inf hr, .moduletable_news hr, .contentheading hr{
position:relative;
height:5px;
background:#98b4ca;
margin:8px 31px 0 4px;
border:0
}
          .moduletable_inf .mod_content, .moduletable_news .mod_content{
                  background: url(../images/c_bg.jpg) no-repeat bottom;
            margin-left:-15px;
            padding-left:15px;
            padding-bottom:10px
}
.contentpaneopen hr{
                 position:relative;
height:5px;
background:#dddfe1;
margin:0 0 0 4px;
border:0;
top:6px
}
.contentpaneopen{
margin-bottom:15px
}
.ptl, .ptr, .pbl, .pbr{
height:5px;
width:5px;
}
.ptl, .ptr{
margin-top:-1px;
}
.pbl, .pbr{
margin-top:1px;
}
.ptl{
float:left;
background:#f5f3e1 url(../images/ptl.jpg) no-repeat top;

}
.ptr{
float:right;
background:#f5f3e1 url(../images/ptr.png) no-repeat top;
}
.pbl{
float:left;
background:#f5f3e1 url(../images/pbl.png) no-repeat top;
}
.pbr{
float:right;
background:#f5f3e1 url(../images/pbr.jpg) no-repeat top;
}
.top{
border-top:1px solid #dddfe1;
height:5px;
}
.bottom{
border-bottom:1px solid #dddfe1;
height:5px;
margin-top:-1px
}
.center{
border-left:1px solid #dddfe1;
border-right:1px solid #dddfe1;
margin-top:-1px;
       
}
.icon{
position:relative;
height:51px;
width:45px;
margin-left:160px;
margin-top:-40px
}
.moduletable_menu .icon{
background: url(../images/st.png) no-repeat bottom;
}
.moduletable_ab .icon{
background: url(../images/s-ka.png) no-repeat bottom;
}
.moduletable_pr .icon{
background: url(../images/pr.png) no-repeat bottom;
}
.moduletable_inf .icon{
background: url(../images/add.png) no-repeat bottom;
}
/*menu ab*/
.moduletable_menu ul, .moduletable_ab ul, .moduletable_pr ul {
        list-style-image: url(../images/marker.png);
        margin-left: 30px;
        padding-bottom:18px;
}
.moduletable_menu ul li a, .moduletable_ab ul li a, .moduletable_pr ul li a{
        color:#426f92;
        font:12px Tahoma;
        text-decoration:underline;
        line-height:16px;
}
.moduletable_menu ul li a:hover, .moduletable_ab ul li a:hover, .moduletable_pr ul li a:hover{
        text-decoration:none;
}
.contentt td{
padding: 8px 0;
font:12px Tahoma;
}
.contentheading, .componentheading{
font:bold 14px Tahoma;
color:#373e43
}
.data{
color:#000
}
.moduletable_news li a{
font:12px Tahoma;
margin-bottom:15px;
color:#000;
text-decoration:underline
}
.moduletable_news li a:hover{
text-decoration:none
}
.junews_news{
padding:5px 0;
}
#modlgn_username, #modlgn_passwd{
width:136xp;
}
.button_v{
height:13px;
width:11px;
background: url(../images/ok.png) no-repeat center;
border:0;
cursor:pointer;
margin-top:10px;
margin-right:15px
margin-left:5px
}
.form_i{
height:40px;
width:200px;
margin-left:-5px;
float:left;
}
.form_i p{
text-align:right;
}
#form-login-username{
padding-bottom:5px
}
.nav a{
font:12px Tahoma;
color:#426f92;
text-decoration:underline;
}
.nav a:hover{
text-decoration:none
}
.center{
padding-left:15px;
padding-right:15px;
min-height:800px;
font:12px Tahoma
}
#mainlevel_left{
float:left;
display:block;
}
#mainlevel_left li{
float: left;
   list-style-type: none;
background: url(../images/r_l.png) no-repeat right;
}
#mainlevel_right{
float:right;
display:block;
}
#mainlevel_right li{
float: left;
   list-style-type: none;
background: url(../images/r_l.png) no-repeat left;
}
#mainlevel_left, #mainlevel_right{
height:32px;
background: url(../images/bg.png) repeat-x center;
line-height:32px;
margin-top:-22px;
}
#mainlevel_left li a, #mainlevel_right li a{
font:bold 12px Tahoma;
color:#fff;
padding:0 25px;
text-decoration:none
}
#mainlevel_left li a:hover, #mainlevel_right li a:hover{
text-decoration:underline;
}
.l_c{
background:url(../images/ff_l.png) no-repeat left;
float:left;
height:32px;
margin-left:20px;
width:16px;
margin-top:-22px;
}
.r_c{
height:32px;
width:7px;
background:url(../images/ff_r.png) no-repeat right;
float:right;
margin-top:-22px;
margin-right:20px
}
.junewsultra_news{
margin-right:15px;
}
.news_list{
height:14px;
text-align:right;
border-top:1px dotted #98b4ca;
margin-right:15px;
padding-top:5px
}
.news_list a{
text-decoration:underline;
font:12px Tahoma;
color:#000;
}
.news_list a:hover{
text-decoration:none;
color:#000
}
.article_separator{
display:block;
height:2px;
line-height:2px;
background:#DDDFE1;
margin-bottom:15px;
}
.table1        {
        margin: 0;
        padding: 0;
        font: normal 0.9em tahoma, arial, sans-serif;
        line-height: 1.4em;
        border-collapse: collapse;
        border: 4px solid #ADBBCA;
        color: #000000;
        background: #F0F0F0;
        }

a:link, a:visited {
color: #5076b6;
text-decoration: none
}

a:hover {
color: #505255;

}
.contentt strong{
font-weight:bold
}
*

valagoff

  • Давно я тут
  • 984
  • 110 / 0
Re: В меню не отображает картинок
« Ответ #18 : 18.05.2010, 18:47:18 »
CSS файл я и с сервера взять могу http://mippnf.ru/templates/mmip/css/template.css
Ты мне файл index.php шаблона покажи.
*

vektornsk

  • Осваиваюсь на форуме
  • 22
  • 0 / 0
Re: В меню не отображает картинок
« Ответ #19 : 18.05.2010, 18:50:00 »
Код
<?php // no direct access defined( '_JEXEC' ) or die( 'Restricted access' );
$document = & JFactory::getDocument();
$config = & JFactory::getConfig();
$fulltitle = $config->getValue('sitename').' - '.$document->title;
$document->setTitle( $fulltitle );


 ?>
<!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">
<head>
<jdoc:include type="head" />


<link href="templates/<?php echo $this->template ?>/css/reset.css" rel="stylesheet" type="text/css" media="screen">
<link href="templates/<?php echo $this->template ?>/css/template.css" rel="stylesheet" type="text/css" media="screen">
</head>
<body>
<jdoc:include name="YOOiecheck" style="none"/>
<?php // no direct access defined( '_JEXEC' ) or die( 'Restricted access' ); ?>
<!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">
<head>
<jdoc:include type="head" />
<link href="templates/<?php echo $this->template ?>/css/reset.css" rel="stylesheet" type="text/css" media="screen">
<link href="templates/<?php echo $this->template ?>/css/template.css" rel="stylesheet" type="text/css" media="screen">
</head>
<body>
<div id="wrap">
<div id="header">
<h1>НОУ ВПО «Московский институт предпринимательства и права»</h1>
<h2>Новосибирский филиал</h2>
<a href="#"></a>
</div>
<div class="l_c"></div><div class="r_c"></div><div id="menu"><jdoc:include type="modules" name="top" style="" /></div>
<div class="content">
<div class="left">
<jdoc:include type="modules" name="left" style="xhtml" />
</div>
<?php if($this->countModules('right')) : ?>
<div class="right">
<jdoc:include type="modules" name="right" style="xhtml" />
</div>
<div class="page">
<?php else: ?>
<div class="page2">
<?php endif; ?>
<div class="top">
<div class="ptl"></div><div class="ptr"></div>
</div>
<div class="center"><jdoc:include type="component" /></div>
<div class="bottom">
<div class="pbl"></div><div class="pbr"></div>
</div>
</div>
</div>
</div>
<div id="footer">
<div class="f_l"></div>
<div class="f_r"></div>
<div class="f_f">
<div class="f_infa">
<div class="f_con">
Вставка счетчиков
</div>
<div class="copy">
                                       630087, пр. К. Маркса 30, оф. 801<br />
E-mail: mippnf@mail.ru<br />
Телефон: (383)346-47-89
</div>
</div
</div>
 </div>
</body>
</html>


</body>
</html>
*

valagoff

  • Давно я тут
  • 984
  • 110 / 0
Re: В меню не отображает картинок
« Ответ #20 : 18.05.2010, 19:37:29 »
А модуль меню стандартный или нет?
*

vektornsk

  • Осваиваюсь на форуме
  • 22
  • 0 / 0
Re: В меню не отображает картинок
« Ответ #21 : 18.05.2010, 19:41:06 »
да, стандартный
*

valagoff

  • Давно я тут
  • 984
  • 110 / 0
Re: В меню не отображает картинок
« Ответ #22 : 18.05.2010, 19:41:51 »
В CSS описан класс "icon", но в коде страницы элементов с этим классом нет.
Можно попробовать так в CSS:
Код
.moduletable_menu h3{
background: url(../images/st.png) no-repeat right;
        height: 50px;
}
*

valagoff

  • Давно я тут
  • 984
  • 110 / 0
Re: В меню не отображает картинок
« Ответ #23 : 18.05.2010, 19:44:29 »
В папке шаблона есть папка "html", а ней "mod_mainmenu"?
Если есть покажи код default.php из этой папки.
*

vektornsk

  • Осваиваюсь на форуме
  • 22
  • 0 / 0
Re: В меню не отображает картинок
« Ответ #24 : 18.05.2010, 19:47:14 »
у меня вот так modules\mod_mainmenu\tmpl а там файл default.php этот?
*

valagoff

  • Давно я тут
  • 984
  • 110 / 0
Re: В меню не отображает картинок
« Ответ #25 : 18.05.2010, 19:48:35 »
да
*

vektornsk

  • Осваиваюсь на форуме
  • 22
  • 0 / 0
Re: В меню не отображает картинок
« Ответ #26 : 18.05.2010, 19:51:10 »
Код
<?php

// no direct access
defined('_JEXEC') or die('Restricted access');


if ( ! defined('modMainMenuXMLCallbackDefined') )
{
function modMainMenuXMLCallback(&$node, $args)
{
$user = &JFactory::getUser();
$menu = &JSite::getMenu();
$active = $menu->getActive();
$path = isset($active)? array_reverse($active->tree) : null;

if (($args['end']) && ($node->attributes('level') >= $args['end']))
{
$children = $node->children();
foreach ($node->children() as $child)
{
if ($child->name() == 'ul') {
$node->removeChild($child);
}
}
}

if ($node->name() == 'ul') {
foreach ($node->children() as $child)
{
if ($child->attributes('access') > $user->get('aid', 0)) {
$node->removeChild($child);
}
}
}

if (($node->name() == 'li') && isset($node->ul)) {
$node->addAttribute('class', 'parent');
}

if (isset($path) && (in_array($node->attributes('id'), $path) || in_array($node->attributes('rel'), $path)))
{
if ($node->attributes('class')) {
$node->addAttribute('class', $node->attributes('class').' active');
} else {
$node->addAttribute('class', 'active');
}
}
else
{
if (isset($args['children']) && !$args['children'])
{
$children = $node->children();
foreach ($node->children() as $child)
{
if ($child->name() == 'ul') {
$node->removeChild($child);
}
}
}
}

if (($node->name() == 'li') && ($id = $node->attributes('id'))) {
if ($node->attributes('class')) {
$node->addAttribute('class', $node->attributes('class').' item'.$id);
} else {
$node->addAttribute('class', 'item'.$id);
}
}

if (isset($path) && $node->attributes('id') == $path[0]) {
$node->addAttribute('id', 'current');
} else {
$node->removeAttribute('id');
}
$node->removeAttribute('rel');
$node->removeAttribute('level');
$node->removeAttribute('access');
}
define('modMainMenuXMLCallbackDefined', true);
}

modMainMenuHelper::render($params, 'modMainMenuXMLCallback');
*

valagoff

  • Давно я тут
  • 984
  • 110 / 0
Re: В меню не отображает картинок
« Ответ #27 : 18.05.2010, 19:56:12 »
Шаблон сам делал или переделывал из какого-то?
*

vektornsk

  • Осваиваюсь на форуме
  • 22
  • 0 / 0
Re: В меню не отображает картинок
« Ответ #28 : 18.05.2010, 19:58:21 »
Один человек помог с шаблоном и пропал с концами :(
*

valagoff

  • Давно я тут
  • 984
  • 110 / 0
Re: В меню не отображает картинок
« Ответ #29 : 18.05.2010, 20:50:48 »
Вот два варианта:
1. Добывить в CSS файл
Код
.moduletable_menu h3{
background: url(../images/st.png) no-repeat right;
        height: 50px;
}
.moduletable_ab h3{
background: url(../images/s-ka.png) no-repeat right;
        height: 50px;
}
.moduletable_pr h3{
background: url(../images/pr.png) no-repeat right;
        height: 50px;
}
.moduletable_inf h3{
background: url(../images/add.png) no-repeat right;
        height: 50px;
}

2. Добавить в CSS файл
Код
.moduletable_menu {
background:#f5f3e1 url(../images/st.png) no-repeat right top;
}
.moduletable_ab {
background:#f5f3e1 url(../images/s-ka.png) no-repeat right top;
}
.moduletable_pr {
background:#f5f3e1 url(../images/pr.png) no-repeat right top;
}
.moduletable_inf {
background:#f5f3e1 url(../images/add.png) no-repeat right top;
}
Чтобы оставить сообщение,
Вам необходимо Войти или Зарегистрироваться
 

На сайте пропал автоматический ресайз картинок для вывода на главной

Автор mimoza

Ответов: 6
Просмотров: 2266
Последний ответ 30.11.2017, 09:02:25
от SeBun
Как убрать пункт меню «Главная»?

Автор wdesign

Ответов: 17
Просмотров: 24770
Последний ответ 20.09.2017, 21:38:35
от WiseEagle
синхронизация бокового и верхнего меню

Автор ange-linka

Ответов: 6
Просмотров: 3367
Последний ответ 09.06.2015, 19:32:30
от Polina72ru
В статье вдруг не отображается часть картинок

Автор brandenburska

Ответов: 0
Просмотров: 1708
Последний ответ 26.08.2013, 21:01:37
от brandenburska
Сайт отображает не правельно

Автор 329

Ответов: 11
Просмотров: 1546
Последний ответ 10.08.2013, 00:49:39
от 329