Jump to content

Jorgeluiz

Members
  • Posts

    19
  • Joined

  • Last visited

3 Followers

About Jorgeluiz

  • Birthday 01/27/1954

Profile Information

  • Location
    Brazil
  • Activity
    Web development agency

Recent Profile Visitors

5,738,445 profile views

Jorgeluiz's Achievements

Newbie

Newbie (1/14)

  • Week One Done Rare
  • One Month Later Rare
  • One Year In Rare

Recent Badges

4

Reputation

  1. Hello bellini13. This module is great, I use it. But I wanted to create a new hook, type "mycustomhome" with width of 100%. Anyway, thanks for the tip.
  2. Hello, I need help. I do not know if it exists, but I need an addon that adds several DIVs on the homepage, the like of which exists in the site of Prestashop. I appreciate any hint. Sorry about the poor English. Thanks in advance. Jorge
  3. Thank vekia, your tutorial perfect works in 1.6.0.11 Jorge
  4. Ok, obrigado selecshop. Vou deixar o script como está até achar alguma solução. Só não sei como fica este Tópico, colocamos como Encerrado? Mais uma vez agradeço a atenção.
  5. Obrigado pelo rápido retorno selectshop.at. E peço desculpas sobre o nome do arquivo index, na verdade eu queria me referir ao header.tpl. Segui a tua instrução e usei o módulo HTML-Box para inserir o script, mas infelizmente não resolveu o problema. O Tag Assistant do Chrome continua apresentando o erro: "<script> tag must not be included in a <strong>". Segue parte do arquivo footer.tpl, onde inseri o script (mas removi quando usei o HTML-Box): Tentei várias alternativas, desabilitando alguns módulos e inclusive desmarcando no painel do BO as opções: Cache inteligente para JavaScript e Comprimir JavaScript inline em HTML, mas sem resultado. Provavelmente tem algum conflito, pois como já comentei, na versão 1.6.0.11 o mesmo script funciona perfeito. Novamente, agradeço pela atenção. {* * 2007-2014 PrestaShop * * NOTICE OF LICENSE * * This source file is subject to the Academic Free License (AFL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://opensource.org/licenses/afl-3.0.php * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to [email protected] so we can send you a copy immediately. * * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade PrestaShop to newer * versions in the future. If you wish to customize PrestaShop for your * needs please refer to http://www.prestashop.com for more information. * * @author PrestaShop SA * @copyright 2007-2014 PrestaShop SA * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) * International Registered Trademark & Property of PrestaShop SA *} {literal} <!-- Google Tag Manager --> <noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-XXXXXX" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= '//www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); })(window,document,'script','dataLayer','GTM-XXXXXX');</script> <!-- End Google Tag Manager --> {/literal} {if !$content_only} </div><!-- #center_column --> {if isset($right_column_size) && !empty($right_column_size)} <div id="right_column" class="col-xs-12 col-sm-{$right_column_size|intval} column">{$HOOK_RIGHT_COLUMN}</div> {/if}
  6. Preciso adicionar o script do Google Tag Manager - GTM. {literal} <!-- Google Tag Manager --> <noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-XXXXXX" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= '//www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); })(window,document,'script','dataLayer','GTM-XXXXXX');</script> <!-- End Google Tag Manager --> {/literal} No fórum internacional, encontrei uma dica de incluir no footer.tpl e não no index.tpl. Isso funcionou na versão 1.6.0.11 mas não está funcionando na 1.6.0.6. Mas na verdade não sei se é problema da versão ou alguma configuração dando conflito. Uso o tema padrão default-bootstrap, sem alterações nestes arquivos. Alguém já passou por isso? Alguma dica? Obrigado por alguma ajuda. Jorge
  7. Hi Vekia, I don't have enough knowledge in Smarth. Do you have any suggestion to make the php up in Smarth? Tanks
  8. Tried with the following code. but not turned off the cam. {if $cms->id==5} {assign var="ip_address" value=$smarty.server.REMOTE_ADDR} {if $smarty.now|date_format:"%A"=="Monday" OR $smarty.now|date_format:"%A"=="Tuesday" OR $smarty.now|date_format:"%A"=="Wednesday" OR $smarty.now|date_format:"%A"=="Thursday" OR $smarty.now|date_format:"%A"=="Friday"} {if $smarty.now|date_format:"%H:%M">="08:00" and $smarty.now|date_format:"%H:%M"<="18:30" } {if $ip_address eq "177.19.170.147" OR $ip_address eq "177.19.170.147"} "http://177.19.170.147:8899" {/if} {/if} {/if} {/if} the strange thing is that this code worked on the old site. Still has something wrong. Thanks and Merry Christmas
  9. Thank tuk66 and Vekia. I'll do a test and post the results tomorrow.
  10. Hi, I need help. I have a cms page that has online webcam an office. My goal is to turn off (hide) this webcam. I'm trying to use a script (it works on another site) but in PS 1.6 not. The script is this: {if $cms->id==5} {literal} {assign var="ip_address" value=$smarty.server.REMOTE_ADDR} {if $smarty.now|date_format:"%A"=="Monday" OR $smarty.now|date_format:"%A"=="Tuesday" OR $smarty.now|date_format:"%A"=="Wednesday" OR $smarty.now|date_format:"%A"=="Thursday" OR $smarty.now|date_format:"%A"=="Friday"} {if $smarty.now|date_format:"%H:%M">="08:00" and $smarty.now|date_format:"%H:%M"<="18:30" } {if $ip_address eq "177.19.170.147" OR $ip_address eq "177.19.170.147"} {/literal} {/if} What's wrong? Thanks for the help. Jorge
  11. Hello, To the experts, I need help. When for the site I do a search , for example: Windows 8.1 The result of the URL is: /systems/208-windows-professional-81-single-open-nl.html?search_query=windows+8.1&results=314. I wish did not appear in the final url: ?search_query=windows+8.1&results=314 This possible? Tks for help. Jorge
  12. Thanks kbytin, I was trying by header.tpl, but it was not working.
  13. Olá jeandelima, Segue um zip com os arquivos e como instalar. Mas não tenho neste formulário o envio de arquivos. Abç Jorge Productquestion_1.4.6.2.zip
  14. Olá jeandelima, eu adaptei este módulo na versão 1.4.6.2 mas não sei se funciona em alguma versão diferente. Dá uma olhada como ficou : http://www.polimate.com.br/poli/espectrofotometro-de-absorcao-atomica/185-contraa-300.html. Se a tua versão é a mesma posso te mandar os arquivos e as outras alterações que são necessárias. Abç.
×
×
  • Create New...