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

Delfinov

  • Захожу иногда
  • 52
  • 0 / 0
На главной странице лого видно:
 


А на других страницах лого не видно. Выставляет другой адрес изображения.

Например:

или




Но лого нет (пустое место, крестик и т.д), но под нужный размер.


Подскажите, пж-та, где поковыряться или как подправить?

P.S. По-пробовал просто создать такую поддиректорию и разместить туда лого,
ну разумеется, не получилось.


До обновления СМS все работало.
*

beliyadm

  • Легенда
  • 9758
  • 1664 / 66
  • Севастополь, Россия
проверять корректность работы mod_rewrite при включенном стандартном SEF и переименованном htaccess
Все истины, которые я хочу вам изложить, — бесстыдная ложь. Сделать всё хорошо
TLG: @Beliyadm
*

Delfinov

  • Захожу иногда
  • 52
  • 0 / 0
Спасибо. Но mod_rewrite у меня отключен, т.к. с ним вообще все наперекосяк.
А  SEO нормально работает.
*

SmokerMan

  • Гуру
  • 5293
  • 720 / 26
Спасибо. Но mod_rewrite у меня отключен, т.к. с ним вообще все наперекосяк.
А  SEO нормально работает.
:)
так mod_rewrite как раз и убирает index.php из урла.
Скорее всего путь к лого прописан в шаблоне неправильно.
Нужен index.php шаблона.
*

Delfinov

  • Захожу иногда
  • 52
  • 0 / 0
Как припарковать архив не нашел. Вот код. Можно взглянуть.

Код
<?php

defined( '_JEXEC' ) or die( 'Restricted access' );

include_once (dirname(__FILE__).DS.'/at_tools.php');

$tempTools = new at_Tools($this);
$ATconfig = $tempTools->getUserSetting();
# Auto Collapse Divs Functions ##########
$at_left = $this->countModules('left') || ($ATconfig->at_menutype == 1);
$at_right = $this->countModules('right');

if ( $at_left && $at_right ) {
$divid = '';
} elseif ( $at_left ) {
$divid = '-fr';
} elseif ( $at_right ) {
$divid = '-fl';
} else {
$divid = '-f';
}

$curidx = $tempTools->getCurrentMenuIndex();
//if ($curidx) $curidx--;
$at_header_img = 'header.jpg';
$at_header_images = ($ATconfig->at_width=='narrow')? $at_header_images_narrow:$at_header_images_wide;

if (count($at_header_images)) {
$curidx = $curidx % count($at_header_images);
$at_header_img = $at_header_images[$curidx];
}

/* Start at MoTablat */
$at_pithtab = $this->countModules('user5');
$at_pithtaboptions = " width: 'auto', height: 'auto', duration: 1000, changeTransition: Fx.Transitions.Expo.easeOut, animType: 'animMan' ";
/* End at MooTablat */

?>


<!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>
<jdoc:include type="head" />
<?php $tempTools->genMenuHead(); ?>

<link rel="stylesheet" href="templates/_system/css/general.css" type="text/css" />
<link rel="stylesheet" href="templates/<?php echo $ATconfig->template ?>/css/template_css.css" type="text/css" />

<link rel="stylesheet" href="templates/<?php echo $ATconfig->template ?>/at_mootabs/at_mootabs1.2.css" type="text/css" />

<!--[if lte IE 6]>
<style type="text/css">
.clearfix {height: 1%;}
</style>
<![endif]-->

<!--[if gte IE 7.0]>
<style type="text/css">
.clearfix {display: inline-block;}
</style>
<![endif]-->


<script language="javascript" type="text/javascript" src="templates/<?php echo $ATconfig->template; ?>/scripts/at.script.js"></script>
<script type="text/javascript" src="templates/<?php echo $ATconfig->template; ?>/scripts/opacity.js"></script>
</head>
<body id="bd" class="<?php echo $ATconfig->at_width." fs".$ATconfig->at_font_size;?>">
<a name="Top" id="Top"></a>

<div id="at-wrapper">

<!-- BEGIN: HEADER -->
<div id="at-headerwrap" class="clearfix">

<!-- begin logo1 over flash //////////////////////////////////////////////////////////-->
<div id="logo1">
<a href="<?php echo $mosConfig_live_site;?>">
<script type="text/javascript">
od_displayImage('sitelogo', 'templates/<?php echo $ATconfig->template; ?>/images/logo', 250, 56, '', '<?php echo $mosConfig_sitename?>');
</script>
</a>
</div>
<!-- end logo1 over flash //////////////////////////////////////////////////////////-->

<!-- ///////// pathway start -->
<!--
<?php if ($this->countModules('breadcrumb')) { ?>
<div id="at-pathway">
<jdoc:include type="modules" name="breadcrumb" style="xthml" />
</div>
<?php } ?>
-->
<!-- ///////// pathway end -->

<!-- BEGIN: MAIN NAVIGATION -->
<div id="at-mainnavwrap" class="clearfix">

<!--<h1 class="logo"><a href="index.php"><?php echo $ATconfig->template; ?></a></h1>-->

<div id="at-mainnav">
<?php
switch ($ATconfig->at_menutype) {
case 1:
include(dirname(__FILE__).DS."/at_Splitmenu.php");
$atmenu->genMenu (0);
break;
case 2:
case 4:
include(dirname(__FILE__).DS."/at_menu.php");
$atmenu->genMenu (0);
break;
}
?>
</div>
</div>

<!-- END: MAIN NAVIGATION -->

<!-- begin user13 /////////////////////////////////////////////////////////////////////////-->
<!--
<?php if( $this->countModules('user13') ) {?>
<div id="at-user13">
<jdoc:include type="modules" name="user13" style="xhtml" />
</div>
<?php } ?>
-->
<!-- end user13 /////////////////////////////////////////////////////////////////////////-->
<div id="at-usertools">
<?php  if($ATconfig->at_tool & 2) $tempTools->genToolMenu(2); ?>
</div>


<!-- ///////// search start -->
<div id="at-search">
<jdoc:include type="modules" name="user4" style="xhtml" />
</div>
<!-- ///////// search end -->

<!-- begin user13 /////////////////////////////////////////////////////////////////////////-->
<?php if( $this->countModules('user13') ) {?>
<div id="at-user13">
<jdoc:include type="modules" name="user13" style="xhtml" />
</div>
<?php } ?>
<!-- end user13 /////////////////////////////////////////////////////////////////////////-->

<!-- START FLASH HEADER-->
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" height="302" width="950">
<param name="wmode" value="transparent" />
<param name="movie" value="templates/<?php echo $ATconfig->template; ?>/images/header.swf" />
<param name="quality" value="best" />
<param name="play" value="true" />
<embed height="302" pluginspage="http://www.macromedia.com/go/getflashplayer" src="templates/<?php echo $ATconfig->template; ?>/images/header.swf" type="application/x-shockwave-flash" width="950" quality="best" play="true" wmode="transparent"></embed>
</object>
<!-- END FLASH HEADER-->
</div>
<!-- END: HEADER -->

<div id="at-containerwrap<?php echo $divid; ?>">
<!-- extra div -->
<!--
<div id="at-containerwrap-repeat">
-->
<!-- extra div -->
<div id="at-container" class="clearfix">

<div id="at-mainbody<?php echo $divid; ?>">

<!-- BEGIN: CONTENT -->
<div id="at-contentwrap">
<div id="at-content">

<!-- START KOKPITH -->
<?php  if ( $at_pithtab) { ?>
<div id="at-tablatdiv" class="clearfix">
<?php if ($this->countModules('user5')) { ?>
<script language="javascript" type="text/javascript" src="templates/<?php echo $ATconfig->template; ?>/at_mootabs/at_mootabs1.2.js"></script>
<script type="text/javascript">
window.addEvent('domready', rekarush);
function rekarush() {
seCakosa = new rekokloqe('at_tablatwrap-bot', {
<?php echo $at_pithtaboptions; ?>
});
}
</script>
<div id="at_tablatwrap" class="clearfix">
<div id="at_tablatwrap-top">
<div id="at_tablatwrap-bot">
<div class="at-tab-panels">
<jdoc:include type="modules" name="user5" style="xhtml" />
</div>
</div></div></div>
<?php } ?>
</div>
<?php } ?>
<!-- END KOKPITH -->

<jdoc:include type="component" />

</div>
</div>
<!-- END: CONTENT -->

<?php if ($this->countModules('right')) { ?>
<!-- start right column -->
<div id="at-col2">

<!-- start statistics -->
<?php
$spotlight = array ('user1','user2');
$botsl = $tempTools->calSpotlight ($spotlight, $this->countModules('user8')?70:100);
if( $botsl ) {
?>

<?php if( $this->countModules('user1') ) {?>
<jdoc:include type="modules" name="user1" style="xhtml" />
<?php } ?>

<?php if( $this->countModules('user2') ) {?>
<jdoc:include type="modules" name="user2" style="xhtml" />
<?php } ?>

<?php if( $this->countModules('user8') ) {?>
<jdoc:include type="modules" name="user8" style="xhtml" />
<?php } ?>

<!-- begin newsflash -->
<?php if( $this->countModules('top') ) {?>
<jdoc:include type="modules" name="top" style="xhtml" />
<?php } ?>
<!-- end newsflash -->

<?php } ?>
<!-- end statistics-->

<jdoc:include type="modules" name="right" style="xhtml" />

</div><br />

<?php } ?>
</div>
<!-- end right column-->

<?php if ($this->countModules('left')) { ?>
<!-- BEGIN: LEFT COLUMN -->
<div id="at-col1">
<div class="at-innerpad">
<jdoc:include type="modules" name="left" style="xhtml" />
</div>
</div><br />
<!-- END: LEFT COLUMN -->
<?php } ?>
</div>
<!-- extra div -->
<!--
</div>
-->
<!-- extra div -->
</div>

<table width="950" border="0" cellpadding="0" cellspacing="0">
<tr>
<td valign="bottom">
<!-- begin user15 /////////////////////////////////////////////////////////////////////////-->

<?php if( $this->countModules('user15') ) {?>
<jdoc:include type="modules" name="user15" style="xhtml" />
<?php } ?>

<!-- end user15 /////////////////////////////////////////////////////////////////////////-->
</td>
<td valign="bottom">
<!-- begin user16 /////////////////////////////////////////////////////////////////////////-->

<?php if( $this->countModules('user16') ) {?>
<jdoc:include type="modules" name="user16" style="xhtml" />
<?php } ?>

<!-- end user16/////////////////////////////////////////////////////////////////////////-->
</td>
<td valign="bottom">
<!-- begin user17 /////////////////////////////////////////////////////////////////////////-->

<?php if( $this->countModules('user17') ) {?>
<jdoc:include type="modules" name="user17" style="xhtml" />
<?php } ?>

<!-- end user17 /////////////////////////////////////////////////////////////////////////-->
</td>
<td valign="bottom">
<!-- begin user18 /////////////////////////////////////////////////////////////////////////-->

<?php if( $this->countModules('user18') ) {?>
<jdoc:include type="modules" name="user18" style="xhtml" />
<?php } ?>

<!-- end user18/////////////////////////////////////////////////////////////////////////-->
</td>

</tr>
</table>

<!-- BEGIN: FOOTER -->
<div id="at-footerwrap" class="clearfix">
<div id="at-footer">

<jdoc:include type="modules" name="user3" />
<?php include (dirname(__FILE__).DS.'/footer.php');?>
</div>
</div>
<!-- END: FOOTER -->

<!-- begin banner -->
<?php if($this->countModules('banner')) : ?>
<div id="at-banner">
<jdoc:include type="modules" name="banner" />
</div>
<?php endif; ?>
<!-- end banner -->

</div>
<jdoc:include type="modules" name="debug" />
</div>
</body>
</html>
Чтобы оставить сообщение,
Вам необходимо Войти или Зарегистрироваться