Здравствуйте! Моя проблема уже не раз здесь обсуждалась и на одном из сайтов я ее решил сам, но сйчас почему то не получается!
Включил стандартный SEO и повылетали все CSS!
ссылка на CSS выглядит так: "
http://www.site.ru/index.php/templates/yougrids/css/metal.css" и не могу его убрать, этот index.php!
Шаблон называется yougrids
в файле yjsg_core.php нашел такой код:
// USABLE VARS
$yj_site = JURI::base()."templates/".$this->template; // Current template folder as http://www.site_name/templates/template_name
$yj_base = JURI::base(); // Site path as http://www.site_name
$yj_copyrightear = (Date("Y")); // Current Copyright year in footer
$yj_templatename = $this->template; // Get template name
$document = &JFactory::getDocument();
и вот код файла yjsg_head.php:
defined( '_JEXEC' ) or die( 'Restricted index access' ); ?>
<jdoc:include type="head" />
<?php JHTML::_('behavior.mootools'); echo $add_jq .$add_jq_noc?>
<?php if ($compress == 0){ ?>
<link href="<?php echo $yj_site ?>/css/template.css" rel="stylesheet" type="text/css" />
<link href="<?php echo $yj_site ?>/css/<?php echo $css_file; ?>.css" rel="stylesheet" type="text/css" />
<?php }elseif ($compress == 1){ ?>
<link href="<?php echo $yj_site ?>/css/compress.php" rel="stylesheet" type="text/css" />
<?php } ?>
<?php if ($yjsg_mobile){?>
<link href="<?php echo $yj_site ?>/css/mobile/iphone.css" rel="stylesheet" type="text/css" />
<?php }?>
<?php if (in_array('YJsground', $mod_round_style)){ ?>
<link href="<?php echo $yj_site ?>/css/rounded.css" rel="stylesheet" type="text/css" />
<?php } ?>
<?php if ( $default_menu_style == 3 || $default_menu_style == 4 ){ ?>
<link rel="stylesheet" href="<?php echo $yj_site ?>/css/dropline<?php echo $dropline ?>.css" type="text/css" />
<?php } ?>
<?php if ($text_direction == 1) { ?>
<link rel="stylesheet" href="<?php echo $yj_site ?>/css/template_rtl.css" type="text/css" />
<?php if (preg_match("/chrome/",$who) || preg_match("/safari/",$who)) { ?><?php }else{ ?>
<link rel="stylesheet" href="<?php echo $yj_site ?>/css/menu_rtl.css" type="text/css" />
<?php } ?>
<?php } ?>
<?php require_once( TEMPLATEPATH.DS."yjsgcore/yjsg_hconditions.php"); ?>
<?php if($default_menu_style !=='5'){require_once( TEMPLATEPATH.DS."yjsgcore/yjsg_menuoffsets.php");} ?>
<?php if ($text_direction == 1 && $isie6 == true && ($default_menu_style == 3 || $default_menu_style == 4)) { ?>
<link rel="stylesheet" href="<?php echo $yj_site ?>/css/droplineie6-rtl.css" type="text/css" />
<?php } ?>
<?php if ($text_direction == 1 && preg_match("/msie 7/",$who) && ($default_menu_style == 3 || $default_menu_style == 4)) { ?>
<link rel="stylesheet" href="<?php echo $yj_site ?>/css/droplineie7-rtl.css" type="text/css" />
<?php } ?>
<?php if ($custom_css == 1) { ?>
<link rel="stylesheet" href="<?php echo $yj_site ?>/css/custom.css" type="text/css" />
<?php } ?>
подскажите пожалуйста как поправить ситуацию?
var $live_site = '
http://www.site.ru';
Joomla 1,5,22