Страница 42 из 48 ПерваяПервая ... 324041424344 ... ПоследняяПоследняя
Показано с 411 по 420 из 475

Тема: Установка кода на Joomla

  1. #411

    Unhappy

    Цитата Сообщение от lerko Посмотреть сообщение
    Установка ничем не отличается от предыдущих версий.
    При установке в админке выдает ошибку "Не найден Xml-файл"

    Соответственно я сделал вывод что модуль не подходит для 1.7 ..

  2. #412
    Banned
    Регистрация
    27.09.2008
    Адрес
    Татарстан
    Сообщений
    1,928

    По умолчанию

    Цитата Сообщение от lexmuse Посмотреть сообщение
    При установке в админке выдает ошибку "Не найден Xml-файл"

    Соответственно я сделал вывод что модуль не подходит для 1.7 ..
    Кроме установки модулем из первого поста (а он действительно не подойдет, он для версии 1.0), существует ещё пара способов установки кода: в шаблон и через mod_php (или подобные). Читайте ветку. Посмотрите тут есть пара модулей для 1.7

  3. #413

    По умолчанию

    У меня jomla 1.2.23 Создал площадку установил через модуль и все ссылки свалились в error , перепробовал уже все модули все равно error.Пробывал ставить в шаблон тоже самое.Вот мой шаблон можете конкретно указать на нем куда-что вставить:
    <?php
    // no direct access
    defined( '_JEXEC' ) or die( 'Restricted access' );
    require_once dirname(__FILE__) . DS . 'functions.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>
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
    <jdoc:include type="head" />
    <link rel="stylesheet" href="<?php echo $this->baseurl; ?>/templates/system/css/system.css" type="text/css" />
    <link rel="stylesheet" href="<?php echo $this->baseurl; ?>/templates/system/css/general.css" type="text/css" />
    <link rel="stylesheet" type="text/css" href="<?php echo $this->baseurl; ?>/templates/<?php echo $this->template; ?>/css/style.css" />
    <!--[if IE 6]><link rel="stylesheet" href="<?php echo $this->baseurl; ?>/templates/<?php echo $this->template; ?>/css/style.ie6.css" type="text/css" media="screen" /><![endif]-->
    <script type="text/javascript" src="<?php echo $this->baseurl; ?>/templates/<?php echo $this->template; ?>/script.js"></script>
    </head>
    <body>
    <div class="PageBackgroundSimpleGradient">
    </div>
    <div class="Main">
    <div class="Sheet">
    <div class="Sheet-tl"></div>
    <div class="Sheet-tr"><div></div></div>
    <div class="Sheet-bl"><div></div></div>
    <div class="Sheet-br"><div></div></div>
    <div class="Sheet-tc"><div></div></div>
    <div class="Sheet-bc"><div></div></div>
    <div class="Sheet-cl"><div></div></div>
    <div class="Sheet-cr"><div></div></div>
    <div class="Sheet-cc"></div>
    <div class="Sheet-body">
    <jdoc:include type="modules" name="user3" />
    <div class="Header">
    <div class="Header-jpeg"></div>
    <div class="logo">
    <h1 id="name-text" class="logo-name"><a href="<?php echo $this->baseurl ?>/">Templatedemo</a></h1>
    <div id="slogan-text" class="logo-text">Immo</div>
    </div>


    </div>
    <div class="contentLayout">
    <div class="sidebar1">
    <jdoc:include type="modules" name="left" style="artblock" />

    </div>
    <div class="content">
    <?php if ($this->countModules('breadcrumb') || artxHasMessages()) : ?>
    <div class="Post">
    <div class="Post-body">
    <div class="Post-inner">
    <div class="PostContent">
    <jdoc:include type="modules" name="breadcrumb" />
    <jdoc:include type="message" />

    </div>
    <div class="cleared"></div>

    </div>

    </div>
    </div>
    <?php endif; ?>
    <jdoc:include type="component" />

    </div>

    </div>
    <div class="cleared"></div>
    <div class="Footer">
    <div class="Footer-inner">
    <jdoc:include type="modules" name="syndicate" />

    </body>
    </html>

  4. #414
    Banned
    Регистрация
    27.09.2008
    Адрес
    Татарстан
    Сообщений
    1,928

    По умолчанию

    Цитата Сообщение от andrey777s Посмотреть сообщение
    У меня jomla 1.2.23
    ???
    Вставьте, например, после строчки <jdoc:include type="modules" name="syndicate" />. Кстати, у вас последние два Div не закрыты, чревато проблемами.

  5. #415

    По умолчанию

    Fatal error: Call to a member function return_links() on a non-object in /home/unwindin/unwinding.com.ua/www/templates/ja_olivine/index.php on line 226
    выдаёт в том месте в ктором хочу выводить ссылки

  6. #416

    По умолчанию

    Добрые люди никак не смог установить КОД.
    Пожалуйста помогите установить код на главную страницу шаблона.
    Вот весь код шаблона.
    <?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" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" >
    <head>
    <jdoc:include type="head" />

    <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/system/css/system.css" type="text/css" />
    <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/system/css/general.css" type="text/css" />
    <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/rhuk_milkyway/css/template.css" type="text/css" />
    <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/rhuk_milkyway/css/<?php echo $this->params->get('colorVariation'); ?>.css" type="text/css" />
    <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/rhuk_milkyway/css/<?php echo $this->params->get('backgroundVariation'); ?>_bg.css" type="text/css" />
    <!--[if lte IE 6]>
    <link href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/ieonly.css" rel="stylesheet" type="text/css" />
    <![endif]-->
    <?php if($this->direction == 'rtl') : ?>
    <link href="<?php echo $this->baseurl ?>/templates/rhuk_milkyway/css/template_rtl.css" rel="stylesheet" type="text/css" />
    <?php endif; ?>

    </head>
    <body id="page_bg" class="color_<?php echo $this->params->get('colorVariation'); ?> bg_<?php echo $this->params->get('backgroundVariation'); ?> width_<?php echo $this->params->get('widthStyle'); ?>">
    <a name="up" id="up"></a>
    <div class="center" align="center">
    <div id="wrapper">
    <div id="wrapper_r">
    <div id="header">
    <div id="header_l">
    <div id="header_r">
    <div id="logo"></div>
    <jdoc:include type="modules" name="top" />
    </div>
    </div>
    </div>

    <div id="tabarea">
    <div id="tabarea_l">
    <div id="tabarea_r">
    <div id="tabmenu">
    <table cellpadding="0" cellspacing="0" class="pill">
    <tr>
    <td class="pill_l">&nbsp;</td>
    <td class="pill_m">
    <div id="pillmenu">
    <jdoc:include type="modules" name="user3" />
    </div>
    </td>
    <td class="pill_r">&nbsp;</td>
    </tr>
    </table>
    </div>
    </div>
    </div>
    </div>

    <div id="search">
    <jdoc:include type="modules" name="user4" />
    </div>

    <div id="pathway">
    <jdoc:include type="modules" name="breadcrumb" />
    </div>

    <div class="clr"></div>

    <div id="whitebox">
    <div id="whitebox_t">
    <div id="whitebox_tl">
    <div id="whitebox_tr"></div>
    </div>
    </div>

    <div id="whitebox_m">
    <div id="area">
    <jdoc:include type="message" />

    <div id="leftcolumn">
    <?php if($this->countModules('left')) : ?>
    <jdoc:include type="modules" name="left" style="rounded" />
    <?php endif; ?>
    </div>

    <?php if($this->countModules('left')) : ?>
    <div id="maincolumn">
    <?php else: ?>
    <div id="maincolumn_full">
    <?php endif; ?>
    <?php if($this->countModules('user1 or user2')) : ?>
    <table class="nopad user1user2">
    <tr valign="top">
    <?php if($this->countModules('user1')) : ?>
    <td>
    <jdoc:include type="modules" name="user1" style="xhtml" />
    </td>
    <?php endif; ?>
    <?php if($this->countModules('user1 and user2')) : ?>
    <td class="greyline">&nbsp;</td>
    <?php endif; ?>
    <?php if($this->countModules('user2')) : ?>
    <td>
    <jdoc:include type="modules" name="user2" style="xhtml" />
    </td>
    <?php endif; ?>
    </tr>
    </table>

    <div id="maindivider"></div>
    <?php endif; ?>

    <table class="nopad">
    <tr valign="top">
    <td>
    <jdoc:include type="component" />
    <jdoc:include type="modules" name="footer" style="xhtml"/>
    </td>
    <?php if($this->countModules('right') and JRequest::getCmd('layout') != 'form') : ?>
    <td class="greyline">&nbsp;</td>
    <td width="170">
    <jdoc:include type="modules" name="right" style="xhtml"/>
    </td>
    <?php endif; ?>
    </tr>
    </table>

    </div>
    <div class="clr"></div>
    </div>
    <div class="clr"></div>
    </div>

    <div id="whitebox_b">
    <div id="whitebox_bl">
    <div id="whitebox_br"></div>
    </div>
    </div>
    </div>

    <div id="footerspacer"></div>
    </div>

    <div id="footer">
    <div id="footer_l">
    <div id="footer_r">
    <p id="syndicate">
    <jdoc:include type="modules" name="syndicate" />
    </p>
    <p id="power_by">

    </p>
    </div>
    </div>
    </div>
    </div>
    </div>
    <jdoc:include type="modules" name="debug" />

    </body>
    </html>

  7. #417
    Banned
    Регистрация
    27.09.2008
    Адрес
    Татарстан
    Сообщений
    1,928

    По умолчанию

    попробуйте так:
    PHP код:
    <?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" xml:lang="<?php echo $this->language?>" lang="<?php echo $this->language?>" >
    <head>
    <jdoc:include type="head" />

    <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/system/css/system.css" type="text/css" />
    <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/system/css/general.css" type="text/css" />
    <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/rhuk_milkyway/css/template.css" type="text/css" />
    <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/rhuk_milkyway/css/<?php echo $this->params->get('colorVariation'); ?>.css" type="text/css" />
    <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/rhuk_milkyway/css/<?php echo $this->params->get('backgroundVariation'); ?>_bg.css" type="text/css" />
    <!--[if lte IE 6]>
    <link href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/ieonly.css" rel="stylesheet" type="text/css" />
    <![endif]-->
    <?php if($this->direction == 'rtl') : ?>
    <link href="<?php echo $this->baseurl ?>/templates/rhuk_milkyway/css/template_rtl.css" rel="stylesheet" type="text/css" />
    <?php endif; ?>

    </head>
    <body id="page_bg" class="color_<?php echo $this->params->get('colorVariation'); ?> bg_<?php echo $this->params->get('backgroundVariation'); ?> width_<?php echo $this->params->get('widthStyle'); ?>">
    <a name="up" id="up"></a>
    <div class="center" align="center">
    <div id="wrapper">
    <div id="wrapper_r">
    <div id="header">
    <div id="header_l">
    <div id="header_r">
    <div id="logo"></div>
    <jdoc:include type="modules" name="top" />
    </div>
    </div>
    </div>

    <div id="tabarea">
    <div id="tabarea_l">
    <div id="tabarea_r">
    <div id="tabmenu">
    <table cellpadding="0" cellspacing="0" class="pill">
    <tr>
    <td class="pill_l">&nbsp;</td>
    <td class="pill_m">
    <div id="pillmenu">
    <jdoc:include type="modules" name="user3" />
    </div>
    </td>
    <td class="pill_r">&nbsp;</td>
    </tr>
    </table>
    </div>
    </div>
    </div>
    </div>

    <div id="search">
    <jdoc:include type="modules" name="user4" />
    </div>

    <div id="pathway">
    <jdoc:include type="modules" name="breadcrumb" />
    </div>

    <div class="clr"></div>

    <div id="whitebox">
    <div id="whitebox_t">
    <div id="whitebox_tl">
    <div id="whitebox_tr"></div>
    </div>
    </div>

    <div id="whitebox_m">
    <div id="area">
    <jdoc:include type="message" />

    <div id="leftcolumn">
    <?php if($this->countModules('left')) : ?>
    <jdoc:include type="modules" name="left" style="rounded" />
    <?php endif; ?>
    </div>

    <?php if($this->countModules('left')) : ?>
    <div id="maincolumn">
    <?php else: ?>
    <div id="maincolumn_full">
    <?php endif; ?>
    <?php 
    if($this->countModules('user1 or user2')) : ?>
    <table class="nopad user1user2">
    <tr valign="top">
    <?php if($this->countModules('user1')) : ?>
    <td>
    <jdoc:include type="modules" name="user1" style="xhtml" />
    </td>
    <?php endif; ?>
    <?php 
    if($this->countModules('user1 and user2')) : ?>
    <td class="greyline">&nbsp;</td>
    <?php endif; ?>
    <?php 
    if($this->countModules('user2')) : ?>
    <td>
    <jdoc:include type="modules" name="user2" style="xhtml" />
    </td>
    <?php endif; ?>
    </tr>
    </table>

    <div id="maindivider"></div>
    <?php endif; ?>

    <table class="nopad">
    <tr valign="top">
    <td>
    <jdoc:include type="component" />
    <jdoc:include type="modules" name="footer" style="xhtml"/>
    </td>
    <?php if($this->countModules('right') and JRequest::getCmd('layout') != 'form') : ?>
    <td class="greyline">&nbsp;</td>
    <td width="170">
    <jdoc:include type="modules" name="right" style="xhtml"/>
    </td>
    <?php endif; ?>
    </tr>
    </table>

    </div>
    <div class="clr"></div>
    </div>
    <div class="clr"></div>
    </div>

    <div id="whitebox_b">
    <div id="whitebox_bl">
    <div id="whitebox_br"></div>
    </div>
    </div>
    </div>

    <div id="footerspacer"></div>
    </div>

    <div id="footer">
    <div id="footer_l">
    <div id="footer_r">
    <p id="syndicate">
    <jdoc:include type="modules" name="syndicate" />
    </p>
    <p id="power_by">
    <?php
    define
    ('LINKFEED_USER''Здесь вставьте ваш ID');
    require_once(
    $_SERVER['DOCUMENT_ROOT'].'/'.LINKFEED_USER.'/linkfeed.php');
    $linkfeed = new LinkfeedClient();
    echo 
    $linkfeed->return_links();
    ?>
    </p>
    </div>
    </div>
    </div>
    </div>
    </div>
    <jdoc:include type="modules" name="debug" />

    </body>
    </html>
    если не пойдет, то так:
    PHP код:
    <?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" xml:lang="<?php echo $this->language?>" lang="<?php echo $this->language?>" >
    <head>
    <jdoc:include type="head" />

    <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/system/css/system.css" type="text/css" />
    <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/system/css/general.css" type="text/css" />
    <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/rhuk_milkyway/css/template.css" type="text/css" />
    <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/rhuk_milkyway/css/<?php echo $this->params->get('colorVariation'); ?>.css" type="text/css" />
    <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/rhuk_milkyway/css/<?php echo $this->params->get('backgroundVariation'); ?>_bg.css" type="text/css" />
    <!--[if lte IE 6]>
    <link href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/ieonly.css" rel="stylesheet" type="text/css" />
    <![endif]-->
    <?php if($this->direction == 'rtl') : ?>
    <link href="<?php echo $this->baseurl ?>/templates/rhuk_milkyway/css/template_rtl.css" rel="stylesheet" type="text/css" />
    <?php endif; ?>

    </head>
    <body id="page_bg" class="color_<?php echo $this->params->get('colorVariation'); ?> bg_<?php echo $this->params->get('backgroundVariation'); ?> width_<?php echo $this->params->get('widthStyle'); ?>">
    <a name="up" id="up"></a>
    <div class="center" align="center">
    <div id="wrapper">
    <div id="wrapper_r">
    <div id="header">
    <div id="header_l">
    <div id="header_r">
    <div id="logo"></div>
    <jdoc:include type="modules" name="top" />
    </div>
    </div>
    </div>

    <div id="tabarea">
    <div id="tabarea_l">
    <div id="tabarea_r">
    <div id="tabmenu">
    <table cellpadding="0" cellspacing="0" class="pill">
    <tr>
    <td class="pill_l">&nbsp;</td>
    <td class="pill_m">
    <div id="pillmenu">
    <jdoc:include type="modules" name="user3" />
    </div>
    </td>
    <td class="pill_r">&nbsp;</td>
    </tr>
    </table>
    </div>
    </div>
    </div>
    </div>

    <div id="search">
    <jdoc:include type="modules" name="user4" />
    </div>

    <div id="pathway">
    <jdoc:include type="modules" name="breadcrumb" />
    </div>

    <div class="clr"></div>

    <div id="whitebox">
    <div id="whitebox_t">
    <div id="whitebox_tl">
    <div id="whitebox_tr"></div>
    </div>
    </div>

    <div id="whitebox_m">
    <div id="area">
    <jdoc:include type="message" />

    <div id="leftcolumn">
    <?php if($this->countModules('left')) : ?>
    <jdoc:include type="modules" name="left" style="rounded" />
    <?php endif; ?>
    </div>

    <?php if($this->countModules('left')) : ?>
    <div id="maincolumn">
    <?php else: ?>
    <div id="maincolumn_full">
    <?php endif; ?>
    <?php 
    if($this->countModules('user1 or user2')) : ?>
    <table class="nopad user1user2">
    <tr valign="top">
    <?php if($this->countModules('user1')) : ?>
    <td>
    <jdoc:include type="modules" name="user1" style="xhtml" />
    </td>
    <?php endif; ?>
    <?php 
    if($this->countModules('user1 and user2')) : ?>
    <td class="greyline">&nbsp;</td>
    <?php endif; ?>
    <?php 
    if($this->countModules('user2')) : ?>
    <td>
    <jdoc:include type="modules" name="user2" style="xhtml" />
    </td>
    <?php endif; ?>
    </tr>
    </table>

    <div id="maindivider"></div>
    <?php endif; ?>

    <table class="nopad">
    <tr valign="top">
    <td>
    <jdoc:include type="component" />
    <jdoc:include type="modules" name="footer" style="xhtml"/>
    </td>
    <?php if($this->countModules('right') and JRequest::getCmd('layout') != 'form') : ?>
    <td class="greyline">&nbsp;</td>
    <td width="170">
    <jdoc:include type="modules" name="right" style="xhtml"/>
    </td>
    <?php endif; ?>
    </tr>
    </table>

    </div>
    <div class="clr"></div>
    </div>
    <div class="clr"></div>
    </div>

    <div id="whitebox_b">
    <div id="whitebox_bl">
    <div id="whitebox_br"></div>
    </div>
    </div>
    </div>

    <div id="footerspacer"></div>
    </div>

    <div id="footer">
    <div id="footer_l">
    <div id="footer_r">
    <p id="syndicate">
    <jdoc:include type="modules" name="syndicate" />
    </p>
    <p id="power_by">
    <?php
    define
    ('LINKFEED_USER''впишите ваш уникальный_идентификатор');
    require_once(
    $_SERVER['DOCUMENT_ROOT'].'/'.LINKFEED_USER.'/linkfeed.php');
    $o['request_uri'] = getenv('REQUEST_URI');
    $linkfeed = new LinkfeedClient($o);
    echo 
    $linkfeed->return_links();
    ?>
    </p>
    </div>
    </div>
    </div>
    </div>
    </div>
    <jdoc:include type="modules" name="debug" />

    </body>
    </html>
    И не забудьте вписать в код ваш ID и залить папку со скриптом в корень сайта.
    Последний раз редактировалось lerko; 08.12.2011 в 15:40.

  8. #418

    По умолчанию

    извините за такой глупий вопрос!
    Скажите пожалуйста как можно найти "ID" номер.
    куда надо зайти?

  9. #419
    Banned
    Регистрация
    27.09.2008
    Адрес
    Татарстан
    Сообщений
    1,928

  10. #420

    По умолчанию

    К сожалению там я не смог найти про ID номера ничего.
    сами скажите плиз

Похожие темы

  1. help - установка кода на WP+Joomla
    от akveduk в разделе Установка кода биржи на различные движки
    Ответов: 2
    Последнее сообщение: 16.03.2010, 20:12
  2. Установка кода на IPB 3
    от CjClub в разделе Установка кода биржи на различные движки
    Ответов: 0
    Последнее сообщение: 27.01.2010, 23:47
  3. Установка кода на dle 8.2 без правки кода.
    от okras в разделе Установка кода биржи на различные движки
    Ответов: 40
    Последнее сообщение: 17.01.2010, 08:04
  4. установка кода на магазины Ласто
    от S16 в разделе Установка кода биржи на различные движки
    Ответов: 19
    Последнее сообщение: 11.08.2009, 02:05
  5. Установка кода
    от Larency в разделе Помощь начинающим
    Ответов: 3
    Последнее сообщение: 14.09.2008, 12:42

Ваши права

  • Вы не можете создавать новые темы
  • Вы не можете отвечать в темах
  • Вы не можете прикреплять вложения
  • Вы не можете редактировать свои сообщения
  •