Jump to content

redoli

Members
  • Posts

    61
  • Joined

  • Last visited

Profile Information

  • Location
    Spain
  • Activity
    User/Merchant

redoli's Achievements

Newbie

Newbie (1/14)

2

Reputation

1

Community Answers

  1. Buenas a todos, estoy tratando de configurar los servidores multimedia pero me he quedado atascado en la parte de la creación de enlaces simbólicos, usamos plesk para la administración y no sé como realizar dichos enlaces, a ver si alguien puede arrojar algo de luz sobre el asunto, muchas gracias
  2. Hello Graphicsbss, I have checked both files and they match with original ones, can you give me the url of your shop to check it?
  3. The files are address.tpl and addresses.tpl, send them to me and I will check it for any error.
  4. Hello Graphicsbss, my problem was a code error, can you send me the file to check it and tell me which version of ps do you use
  5. Imaginaba que la solución iría por ahí, me comentaron del servidor que pararon el análisis antivirus pero esta mañana me ha vuelto a desaparecer el archivo ctk_newsletterpopup.php con el consiguiente error que el módulo no se puede cargar
  6. Listo ya han detenido el análisis especificamente para la carpeta, espero que el servidor no vuelva a borrar el archivo, otra cuestión que te quería planteaer, es que nos gustaría añadir otra página cms para la aceptación del checkbox, lo he añadido de la siguiente manera, pero no se muestra igual que la que viene por defecto al configurar el módulo: <div class="row apt-trm"> <div class="large-12 columns text-right"> <p style="line-height:23px; text-align: justify; font-size: 12px; padding-bottom: 0;">Sí, quiero recibir en mi correo emails procedentes de, en relación a las ofertas diarias y productos publicados en su web. Acepto las <a href="{$link->getCMSLink('3', 'condiciones-de-venta')}?content_only=1">{l s='Condiciones de venta'}</a> y la <a data-reveal-id="ctk_np_popup_terms">{l s='Accept the terms and conditions' mod='ctk_newsletterpopup'}</a> <input type="checkbox" name="np_terms" /></p> </div>
  7. Buenos días Cotoko, compré el módulo hace unos días y estuve trasteandolo un poco, creando un nuevo tema diferente a los 3 que trae etc, la cuestión es que pensaba que por modificar archivos el módulo ejecutaba una verificación y me daba un error, el error es éste: ctk_newsletterpopup (la clase que falta en /modules/ctk_newsletterpopup/ctk_newsletterpopup.php) He vuelto a sustituir el archivo por el original (aunque este archivo nunca lo había modificado) se arregló el problema, pero al dia siguiente lo mismo, me sigue dando el mismo error, como lo podríamos solucionar, un saludo.
  8. Hello Bellini, thank you so much for your reply, I have looking for smarty function and I used this one |number_format:0 and it worked! Here is the code modified, maybe it is usefull to somebody: {if $valuepercen<100}<div class="weempty"><span class="percent">{*{$item}*}{100-$valuepercen|number_format:0}% </span><span class="restante">{l s='STOCK RESTANTE' mod='soldcountdown'}</span></div>{/if}
  9. Hello everybody, I have a module that shows a percentage of the remaining products in stock, the thing is it shows a lot of decimals and I don't want to show this, I only want to display the whole number, here is part of the module code {if $valuepercen<100}<div class="weempty"><span class="percent">{*{$item}*}{100-$valuepercen}% </span><span class="restante">{l s='STOCK RESTANTE' mod='soldcountdown'}</span></div>{/if}
  10. Changed as you said and working, the error dissapeared! Changed to: <?php if ( !isset($_smarty_tpl->tpl_vars['module']->value->type) || $_smarty_tpl->tpl_vars['module']->value->type!='addonsMustHave'){?>
  11. Hello everybody I have activated debug mode in config/defines.inc.php and some errors are showing and don't know how to solve it. The first one is at BO, at modules tab it shows next: Notice: Undefined property: stdClass::$type in /var/www/vhosts/mydomain.es/httpdocs/cache/smarty/compile/5b/0b/8b/5b0b8b44b2339610fc8e3f35149aec1939cfb715.file.list.tpl.php on line 47 I have checked the file and this is what I got: This is line 47: <?php if ($_smarty_tpl->tpl_vars['module']->value->type!='addonsMustHave'){?> <?php /* Smarty version Smarty-3.1.14, created on 2014-10-01 15:45:01 compiled from "/var/www/vhosts/mydomain.es/httpdocs/admin5678/themes/default/template/controllers/modules/list.tpl" */ ?> <?php /*%%SmartyHeaderCode:1853432802542c055d0a9016-72549457%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed'); $_valid = $_smarty_tpl->decodeProperties(array ( 'file_dependency' => array ( '5b0b8b44b2339610fc8e3f35149aec1939cfb715' => array ( 0 => '/var/www/vhosts/mydomain.es/httpdocs/admin5678/themes/default/template/controllers/modules/list.tpl', 1 => 1406026738, 2 => 'file', ), ), 'nocache_hash' => '1853432802542c055d0a9016-72549457', 'function' => array ( ), 'variables' => array ( 'modules' => 0, 'module' => 0, ), 'has_nocache_code' => false, 'version' => 'Smarty-3.1.14', 'unifunc' => 'content_542c055d228d54_98352138', ),false); /*/%%SmartyHeaderCode%%*/?> <?php if ($_valid && !is_callable('content_542c055d228d54_98352138')) {function content_542c055d228d54_98352138($_smarty_tpl) {?> <?php if (count($_smarty_tpl->tpl_vars['modules']->value)){?> <table cellspacing="0" cellpadding="0" style="width: 100%; margin-bottom:10px;" class="table" id=""> <thead> <tr class="nodrag nodrop"> <th class="center"> <input type="checkbox" rel="false" class="noborder" id="checkme"><br> </th> <th class="center"></th> <th><?php echo smartyTranslate(array('s'=>'Module name'),$_smarty_tpl);?> </th> <th></th> </tr> <tbody> <?php $_smarty_tpl->tpl_vars['module'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['module']->_loop = false; $_from = $_smarty_tpl->tpl_vars['modules']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} foreach ($_from as $_smarty_tpl->tpl_vars['module']->key => $_smarty_tpl->tpl_vars['module']->value){ $_smarty_tpl->tpl_vars['module']->_loop = true; ?> <?php if ($_smarty_tpl->tpl_vars['module']->value->type!='addonsMustHave'){?> <tr> <td> <?php if ((isset($_smarty_tpl->tpl_vars['module']->value->id)&&$_smarty_tpl->tpl_vars['module']->value->id>0)||!isset($_smarty_tpl->tpl_vars['module']->value->type)||$_smarty_tpl->tpl_vars['module']->value->type!='addonsMustHave'){?> <input type="checkbox" name="modules" value="<?php echo $_smarty_tpl->tpl_vars['module']->value->name;?> " <?php if (!isset($_smarty_tpl->tpl_vars['module']->value->confirmUninstall)||empty($_smarty_tpl->tpl_vars['module']->value->confirmUninstall)){?>rel="false"<?php }else{ ?>rel="<?php echo addslashes($_smarty_tpl->tpl_vars['module']->value->confirmUninstall);?> "<?php }?> class="noborder"> <?php }?> </td> <td><img class="imgm" alt="" src="<?php if (isset($_smarty_tpl->tpl_vars['module']->value->image)){?><?php echo $_smarty_tpl->tpl_vars['module']->value->image;?> <?php }else{ ?>../modules/<?php echo $_smarty_tpl->tpl_vars['module']->value->name;?> /<?php echo $_smarty_tpl->tpl_vars['module']->value->logo;?> <?php }?>"></td> <td> <div class="moduleDesc" id="anchor<?php echo ucfirst($_smarty_tpl->tpl_vars['module']->value->name);?> " title="<?php echo $_smarty_tpl->tpl_vars['module']->value->name;?> "> <h3><?php echo $_smarty_tpl->tpl_vars['module']->value->displayName;?> <span style="display:none"><?php echo $_smarty_tpl->tpl_vars['module']->value->name;?> </span> <?php if (isset($_smarty_tpl->tpl_vars['module']->value->type)&&$_smarty_tpl->tpl_vars['module']->value->type=='addonsMustHave'){?> <span class="setup must-have"><?php echo smartyTranslate(array('s'=>'Must Have'),$_smarty_tpl);?> </span> <?php }else{ ?> <?php if (isset($_smarty_tpl->tpl_vars['module']->value->id)&&$_smarty_tpl->tpl_vars['module']->value->id>0){?> <span class="setup<?php if (isset($_smarty_tpl->tpl_vars['module']->value->active)&&$_smarty_tpl->tpl_vars['module']->value->active==0){?> off<?php }?>"><?php echo smartyTranslate(array('s'=>'Installed'),$_smarty_tpl);?> </span> <?php }else{ ?> <span class="setup non-install"><?php echo smartyTranslate(array('s'=>'Not installed'),$_smarty_tpl);?> </span> <?php }?> <?php }?> </h3> <div class="metadata"> <?php if (isset($_smarty_tpl->tpl_vars['module']->value->author)&&!empty($_smarty_tpl->tpl_vars['module']->value->author)){?> <dl class=""> <dt><?php echo smartyTranslate(array('s'=>'Developed by'),$_smarty_tpl);?> :</dt> <dd><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_MODIFIER]['truncate'][0][0]->smarty_modifier_truncate($_smarty_tpl->tpl_vars['module']->value->author,20,'...');?> </dd>| </dl> <?php }?> <dl class=""> <dt><?php echo smartyTranslate(array('s'=>'Version'),$_smarty_tpl);?> :</dt> <dd><?php echo $_smarty_tpl->tpl_vars['module']->value->version;?> <?php if (isset($_smarty_tpl->tpl_vars['module']->value->version_addons)){?>(<?php echo smartyTranslate(array('s'=>'Update'),$_smarty_tpl);?> <?php echo $_smarty_tpl->tpl_vars['module']->value->version_addons;?> <?php echo smartyTranslate(array('s'=>'Available on PrestaShop Addons'),$_smarty_tpl);?> )<?php }?> </dd>| </dl> <dl class=""> <dt><?php echo smartyTranslate(array('s'=>'Category'),$_smarty_tpl);?> :</dt> <dd><?php echo $_smarty_tpl->tpl_vars['module']->value->categoryName;?> </dd> </dl> </div> <p class="desc"><?php if (isset($_smarty_tpl->tpl_vars['module']->value->description)&&$_smarty_tpl->tpl_vars['module']->value->description!=''){?><?php echo smartyTranslate(array('s'=>'Description'),$_smarty_tpl);?> : <?php echo $_smarty_tpl->tpl_vars['module']->value->description;?> <?php }else{ ?> <?php }?></p> <?php if (isset($_smarty_tpl->tpl_vars['module']->value->message)&&(empty($_smarty_tpl->tpl_vars['module']->value->name)===false)&&(!isset($_smarty_tpl->tpl_vars['module']->value->type)||($_smarty_tpl->tpl_vars['module']->value->type!='addonsMustHave'||$_smarty_tpl->tpl_vars['module']->value->type!=='addonsNative'))){?><div class="conf"><?php echo $_smarty_tpl->tpl_vars['module']->value->message;?> </div><?php }?> <div class="row-actions-module"> <?php if (!isset($_smarty_tpl->tpl_vars['module']->value->not_on_disk)){?> <?php echo $_smarty_tpl->tpl_vars['module']->value->optionsHtml;?> <?php if (isset($_smarty_tpl->tpl_vars['module']->value->preferences)&&$_smarty_tpl->tpl_vars['module']->value->preferences['favorite']==1){?> <a class="action_module action_unfavorite toggle_favorite" data-module="<?php echo $_smarty_tpl->tpl_vars['module']->value->name;?> " data-value="0" href="#"><?php echo smartyTranslate(array('s'=>'Remove from Favorites'),$_smarty_tpl);?> </a> <a class="action_module action_favorite toggle_favorite" data-module="<?php echo $_smarty_tpl->tpl_vars['module']->value->name;?> " data-value="1" href="#" style="display: none;"><?php echo smartyTranslate(array('s'=>'Mark as Favorite'),$_smarty_tpl);?> </a> <?php }else{ ?> <a class="action_module action_unfavorite toggle_favorite" data-module="<?php echo $_smarty_tpl->tpl_vars['module']->value->name;?> " data-value="0" href="#" style="display: none;"><?php echo smartyTranslate(array('s'=>'Remove from Favorites'),$_smarty_tpl);?> </a> <a class="action_module action_favorite toggle_favorite" data-module="<?php echo $_smarty_tpl->tpl_vars['module']->value->name;?> " data-value="1" href="#"><?php echo smartyTranslate(array('s'=>'Mark as Favorite'),$_smarty_tpl);?> </a> <?php }?> <?php }else{ ?> <?php }?> </div> </div> </td> <td> <ul id="list-action-button"> <?php if (isset($_smarty_tpl->tpl_vars['module']->value->type)&&$_smarty_tpl->tpl_vars['module']->value->type=='addonsMustHave'){?> <li> <a href="<?php echo $_smarty_tpl->tpl_vars['module']->value->addons_buy_url;?> " target="_blank" class="button updated"><span><img src="../img/admin/cart_addons.png"> <?php if (isset($_smarty_tpl->tpl_vars['module']->value->id_currency)&&isset($_smarty_tpl->tpl_vars['module']->value->price)){?><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['displayPrice'][0][0]->displayPriceSmarty(array('price'=>$_smarty_tpl->tpl_vars['module']->value->price,'currency'=>$_smarty_tpl->tpl_vars['module']->value->id_currency),$_smarty_tpl);?> <?php }?></span></a> </li> <?php }else{ ?> <?php if (isset($_smarty_tpl->tpl_vars['module']->value->version_addons)&&$_smarty_tpl->tpl_vars['module']->value->version_addons){?> <li><a href="<?php echo $_smarty_tpl->tpl_vars['module']->value->options['update_url'];?> " class="button updated"><span><?php echo smartyTranslate(array('s'=>'Update it!'),$_smarty_tpl);?> </span></a></li> <?php }?> <li> <a <?php if (isset($_smarty_tpl->tpl_vars['module']->value->id)&&$_smarty_tpl->tpl_vars['module']->value->id>0&&!empty($_smarty_tpl->tpl_vars['module']->value->options['uninstall_onclick'])){?>onclick="<?php echo $_smarty_tpl->tpl_vars['module']->value->options['uninstall_onclick'];?> "<?php }?> href="<?php if (isset($_smarty_tpl->tpl_vars['module']->value->id)&&$_smarty_tpl->tpl_vars['module']->value->id>0){?><?php echo $_smarty_tpl->tpl_vars['module']->value->options['uninstall_url'];?> <?php }else{ ?><?php echo $_smarty_tpl->tpl_vars['module']->value->options['install_url'];?> <?php }?>" class="button installed"> <span><?php if (isset($_smarty_tpl->tpl_vars['module']->value->id)&&$_smarty_tpl->tpl_vars['module']->value->id>0){?><?php echo smartyTranslate(array('s'=>'Uninstall'),$_smarty_tpl);?> <?php }else{ ?><?php echo smartyTranslate(array('s'=>'Install'),$_smarty_tpl);?> <?php }?></span> </a> </li> <?php }?> </ul> </td> </tr> <?php }?> <?php } ?> </tbody> </table> <div style="margin-top: 12px;"> <input type="button" class="button big" value="<?php echo smartyTranslate(array('s'=>'Install the selection'),$_smarty_tpl);?> " onclick="modules_management('install')"/> <input type="button" class="button big" value="<?php echo smartyTranslate(array('s'=>'Uninstall the selection'),$_smarty_tpl);?> " onclick="modules_management('uninstall')" /> </div> <?php }else{ ?> <div style="margin-top: 12px;color: #585A69;font-size: 16px;"><p align="center"><?php echo smartyTranslate(array('s'=>'No modules available in this section.'),$_smarty_tpl);?> </p></div> <?php }?> <?php [spam-filter] ?>
  12. Hi vekia, thanks for your explanation, I thought it won't be so easy!
  13. Hi there, I am fixing all errors with SSL protocol when loading shopping cart or checkout page, I was able to solve all problems unless Google Fonts, I have tried everything and still can't find a solution, I changed <link href='http//fonts.googleapis.com/css?family=PT+Sans+Caption' rel='stylesheet' type='text/css'> to: <link href='//fonts.googleapis.com/css?family=PT+Sans+Caption' rel='stylesheet' type='text/css'> Reloaded cache, reloaded browsers, and nothing, I have look for another css or tpl file if there is the same code or something but without success, I don't know how to solve this error! Solved, it was in a css file of a belvg background pages module!! I did the same change as explained before, changed http://fonts.... to //fonts...
×
×
  • Create New...