Modulo de slide não funciona no template criado no artisteer

Mais
11 anos 7 meses atrás #79315 por Aureo
Aureo replied the topic: Re: Modulo de slide não funciona no template criado no artisteer
<!-- s:att: --><img src="{SMILIES_PATH}/attention.gif" alt=":att:" title="Exclamação" /><!-- s:att: --> Tenha uma cópia do arquivo antes de alterá-lo para substitui-lo caso dê algum erro <!-- s:att: --><img src="{SMILIES_PATH}/attention.gif" alt=":att:" title="Exclamação" /><!-- s:att: -->

Abra o arquivo do seu servidor:
libraries/joomla/document/html/renderer/head.php

Na linha 151 se eu não me engano procure esta porção de código:
// Generate script file links
foreach ($document->_scripts as $strSrc => $strAttr)
{
    $buffer .= $tab . '<script src="' . $strSrc . '"';
    if (!is_null($strAttr&#91;'mime'&#93;))
    {
        $buffer .= ' type="' . $strAttr&#91;'mime'&#93; . '"';
    }
    if ($strAttr&#91;'defer'&#93;)
    {
        $buffer .= ' defer="defer"';
    }
    if ($strAttr&#91;'async'&#93;)
    {
        $buffer .= ' async="async"';
    }
    $buffer .= '</script>' . $lnEnd;
}

Deixe como no exemplo abaixo:
// Generate script file links
foreach ($document->_scripts as $strSrc => $strAttr)
{
  &#91;b&#93;  // Code to disable mootools for your site (still loads it for your admin)
    // Written by Brad Markle w/ InMotionHosting.com
    $ex_src = explode("/",$strSrc);
    $js_file_name = $ex_src&#91;count($ex_src)-1&#93;;
    $js_to_ignore = array("mootools-core.js","mootools-more.js");
    if( in_array($js_file_name,$js_to_ignore) AND substr_count($document->baseurl,"/administrator") < 1 AND $_GET&#91;'view'&#93; != 'form')
        continue;&#91;/b&#93;

    $buffer .= $tab . '<script src="' . $strSrc . '"';
    if (!is_null($strAttr&#91;'mime'&#93;))
    {
        $buffer .= ' type="' . $strAttr&#91;'mime'&#93; . '"';
    }
    if ($strAttr&#91;'defer'&#93;)
    {
        $buffer .= ' defer="defer"';
    }
    if ($strAttr&#91;'async'&#93;)
    {
        $buffer .= ' async="async"';
    }
    $buffer .= '</script>' . $lnEnd;
}

Pronto! <!-- s:shock: --><img src="{SMILIES_PATH}/icon_eek.gif" alt=":shock:" title="Chocado" /><!-- s:shock: -->

Please Entrar ou Registrar to join the conversation.