-
Posts
61 -
Joined
-
Last visited
Everything posted by redoli
-
Servidores de media
redoli replied to masetru's topic in PrestaShop Download: instalación, actualización y configuración
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 -
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?
-
The files are address.tpl and addresses.tpl, send them to me and I will check it for any error.
-
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
-
[MODULO] Popup Inteligente (Popup Newsletter)
redoli replied to Rolige's topic in Módulos y temas pagos [ARCHIVE]
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- 115 replies
-
- popup al desplazar la pagina
- popup promocional
-
(and 14 more)
Tagged with:
- popup al desplazar la pagina
- popup promocional
- popup mayoria de edad
- popup en intento de abandono
- boletin de noticias
- estadisticas de popups
- popin
- popup
- block
- block newsletter popup
- popup boletin de noticias
- newsletter
- suscripcion al boletin
- popup con newsletter
- ventana emergente boletin
- newsletter popup
-
[MODULO] Popup Inteligente (Popup Newsletter)
redoli replied to Rolige's topic in Módulos y temas pagos [ARCHIVE]
Pero el módulo solo permite añadir una página cms y necesito añadir dos, Condiciones de venta y política de privacidad, por eso he tenido que hacer ese apaño, un saludo- 115 replies
-
- popup al desplazar la pagina
- popup promocional
-
(and 14 more)
Tagged with:
- popup al desplazar la pagina
- popup promocional
- popup mayoria de edad
- popup en intento de abandono
- boletin de noticias
- estadisticas de popups
- popin
- popup
- block
- block newsletter popup
- popup boletin de noticias
- newsletter
- suscripcion al boletin
- popup con newsletter
- ventana emergente boletin
- newsletter popup
-
[MODULO] Popup Inteligente (Popup Newsletter)
redoli replied to Rolige's topic in Módulos y temas pagos [ARCHIVE]
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>- 115 replies
-
- popup al desplazar la pagina
- popup promocional
-
(and 14 more)
Tagged with:
- popup al desplazar la pagina
- popup promocional
- popup mayoria de edad
- popup en intento de abandono
- boletin de noticias
- estadisticas de popups
- popin
- popup
- block
- block newsletter popup
- popup boletin de noticias
- newsletter
- suscripcion al boletin
- popup con newsletter
- ventana emergente boletin
- newsletter popup
-
[MODULO] Popup Inteligente (Popup Newsletter)
redoli replied to Rolige's topic in Módulos y temas pagos [ARCHIVE]
Perfecto, se lo voy a comentar entonces a ver que solución le damos, entonces no hay ningún existe ningún tipo de problema al crear un tema propio diferente a los 3 que trae por defecto no??- 115 replies
-
- popup al desplazar la pagina
- popup promocional
-
(and 14 more)
Tagged with:
- popup al desplazar la pagina
- popup promocional
- popup mayoria de edad
- popup en intento de abandono
- boletin de noticias
- estadisticas de popups
- popin
- popup
- block
- block newsletter popup
- popup boletin de noticias
- newsletter
- suscripcion al boletin
- popup con newsletter
- ventana emergente boletin
- newsletter popup
-
[MODULO] Popup Inteligente (Popup Newsletter)
redoli replied to Rolige's topic in Módulos y temas pagos [ARCHIVE]
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.- 115 replies
-
- popup al desplazar la pagina
- popup promocional
-
(and 14 more)
Tagged with:
- popup al desplazar la pagina
- popup promocional
- popup mayoria de edad
- popup en intento de abandono
- boletin de noticias
- estadisticas de popups
- popin
- popup
- block
- block newsletter popup
- popup boletin de noticias
- newsletter
- suscripcion al boletin
- popup con newsletter
- ventana emergente boletin
- newsletter popup
-
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}
- 2 replies
-
- percentage
- percent
-
(and 3 more)
Tagged with:
-
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}
- 2 replies
-
- percentage
- percent
-
(and 3 more)
Tagged with:
-
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'){?>
-
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] ?>
-
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...
-
Nothing yet, anyone can give us a hand?
-
Hello everyone, I am trying to modify the product display when you are inside a category, I want only to display one product per category so I want to show products as shown in product.tpl and not as product-list.tpl. I have change this part of the code at category.tpl: {include file="./product-list.tpl" products=$products} with this: {include file="./product.tpl" products=$products} Then I have modified the CategoryController.php and change its content with the code from ProductController.php, I think this modification is quite simple and it is not working at the moment, the category page shows Error 1. Product not found. I don't know if it is very difficult trying to do this, hope someone could help. Thank you.
-
Hello everybody, we are willing to make some changes at our shop and looking for professionals to achieve this, the changes are next: Change the display of products when you are inside a category, now it shows as product-list.tpl, and we want to display products as product.tpl. Install a module for setting up time each products, for example, we want a product to be active 24h, or a single day, then the product has to be moved to another category, all of this must be automatically once setted up. I would like to know how much time it will take make this all and a close budget for doing the job. Thank you in advance. Kind regards.
-
I have been testing some modifications but nothing yet... :'(
-
Hello everybody, I am trying to display a fancybox in contact-form.tpl the same way as checkout page for displaying TOS and Privacy Policy, at checkout page everything works fine, but in contact-form.tpl and other pages it is not working and can't figure what is wrong, anybody could help? The same happens when creating a new account, so in order-carrier.tpl works fine, and contact-form.tpl and authentication.tpl doesn't work. I have read a lot of topics about it but can't still find the solution... Tried default theme and still the same. Thank you so much! P.S. ver 1.5.6.2 Solved adding at controllers/front/Authcontroller.php and ContactController.php this $this->addjqueryPlugin('fancybox'); at this function: public function setMedia() { parent::setMedia(); if (Context::getContext()->getMobileDevice() === false) $this->addCSS(_THEME_CSS_DIR_.'authentication.css'); $this->addJqueryPlugin('typewatch'); $this->addjqueryPlugin('fancybox'); $this->addJS(_THEME_JS_DIR_.'tools/statesManagement.js'); }
-
- 1
-
-
- terms of condition
- fancybox
-
(and 1 more)
Tagged with:
-
Hello everybody, I'm trying to skip carrier selection at One Page Checkout because we only have one carrier in my shop, I have made it but in 5 steps checkout, modifying OrderController and order-payment.tpl, but the point is the controller to be modified is OrderOPCcontroller, I think here it is the part of the code that has to be modified, but don't know how to do it, if anybody can give me a hand with this I will appreciate so much. Kind Regards: Cart::addExtraCarriers($vars); $this->context->smarty->assign($vars); if (!Address::isCountryActiveById((int)($this->context->cart->id_address_delivery)) && $this->context->cart->id_address_delivery != 0) $this->errors[] = Tools::displayError('This address is not in a valid area.'); elseif ((!Validate::isLoadedObject($address_delivery) || $address_delivery->deleted) && $this->context->cart->id_address_delivery != 0) $this->errors[] = Tools::displayError('This address is invalid.'); else { $result = array( 'HOOK_BEFORECARRIER' => Hook::exec('displayBeforeCarrier', array( 'carriers' => $carriers, 'delivery_option_list' => $this->context->cart->getDeliveryOptionList(), 'delivery_option' => $this->context->cart->getDeliveryOption(null, true) )), 'carrier_block' => $this->context->smarty->fetch(_PS_THEME_DIR_.'order-carrier.tpl') ); Cart::addExtraCarriers($result); return $result; } if (count($this->errors)) return array( 'hasError' => true, 'errors' => $this->errors, 'carrier_block' => $this->context->smarty->fetch(_PS_THEME_DIR_.'order-carrier.tpl') ); }
-
Anybody can help me with it?
-
Hi everyone, there is an error to when updating or change an existing address. By modifying an existing address from the user account in my addresses, I try to change some address fields, like street, phone numbers etc and save it, when updating it tells me that address alias already exists, I know that exist that is why I want to modify it... if I change the address alias it creates a new address and is not what is intended to "update" the address. Any suggestions how to solve this? I've been searching various solutions and have not found anything, I tried using default template but the error remains. Regards shop url: www.redoli.es/shop1 PS version: 1.5.6.2
-
Solucionado, al crear una nueva "regla de compra" aparece una opción de compatibilidad con otras reglas de compra, seleccionamos la que no queremos que se acumulen y listo, ahora aparece que no el descuento no es acumulativo
- 1 reply
-
- quitar
- acumulativo
-
(and 2 more)
Tagged with:
-
Ok Vekia, thank you so much, I have to add another voucher to see that option, now with two vouchers I can modify the compatibilty with other cart rules and now it shows cumulative: NO.