anves Posted April 16, 2013 Share Posted April 16, 2013 (edited) How to hide question mark image when there is no actual image file. I would rather substitute this image for one of my own or remove it altogether. an example see http://www.everythin...import-products Edited April 17, 2013 by vekia (see edit history) Link to comment Share on other sites More sharing options...
letrof Posted April 17, 2013 Share Posted April 17, 2013 You can replace it under: /img/404.gif Hope that helps. How to hide question mark image when there is no actual image file. I would rather substitute this image for one of my own or remove it altogether. an example see http://www.everythin...import-products Link to comment Share on other sites More sharing options...
vekia Posted April 17, 2013 Share Posted April 17, 2013 I think that i can mark this thread as solved Dear @anves, if you've got any other questions related to this case, you can write it here regards Link to comment Share on other sites More sharing options...
Muhammad Bilal Posted April 26, 2014 Share Posted April 26, 2014 copy and paste the code into @anves /themes/yourthem /category.tpl {** 2007-2013 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 <[email protected]>* @copyright 2007-2013 PrestaShop SA* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)* International Registered Trademark & Property of PrestaShop SA*}{include file="$tpl_dir./errors.tpl"}{if isset($category)} {if $category->id AND $category->active} <h1 class="title_color"> {strip} {$category->name|escape:'htmlall':'UTF-8'} {if isset($categoryNameComplement)} {$categoryNameComplement|escape:'htmlall':'UTF-8'} {/if} {/strip} <span class="resumecat category-product-count pull-right"> {include file="$tpl_dir./category-count.tpl"} </span> </h1> {if $scenes || $category->description || $category->id_image} <div class="content_scene_cat block"> {if $scenes} <!-- Scenes --> {include file="$tpl_dir./scenes.tpl" scenes=$scenes} {else} <!-- Category image --> {if $category->id_image} <div class="align_center"> <img src="{$link->getCatImageLink($category->link_rewrite, $category->id_image, 'category_default')|escape:'html'}" alt="{$category->name|escape:'htmlall':'UTF-8'}" title="{$category->name|escape:'htmlall':'UTF-8'}" id="categoryImage" width="{$categorySize.width}" height="{$categorySize.height}" /> </div> {/if} {/if} {if $category->description} <div class="cat_desc"> {if strlen($category->description) > 180} <div id="category_description_short">{$category->description|strip_tags|truncate:180}</div> <div id="category_description_full" style="display:none">{$category->description}</div> <a href="#" onclick="$('#category_description_short').hide(); $('#category_description_full').show(); $(this).hide(); return false;" class="lnk_more">{l s='More'}</a> {else} <div>{$category->description}</div> {/if} </div> {/if} </div> {/if} {if isset($subcategories)} <!-- Subcategories --> {/if} {if $products} <div class="content_sortPagiBar row"> <div class="sortPagiBar"> <div class="col-sm-4 hidden-xs"> <div class="inner"> <div class="btn-group" id="productsview"> <span style="float: left;">{l s='Display:'}</span> <a class="btn-tooltip" title="{l s='Grid'}" href="#" rel="view-grid"><i class="fa fa-th {if Configuration::get('leoview')==1}active{/if}" ></i></a> <a class="btn-tooltip" title="{l s='List'}" href="#" rel="view-list"><i class="fa fa-th-list {if Configuration::get('leoview')==0}active{/if}"></i></a> </div> </div> </div> <div class="col-sm-8"> <div class="inner pull-right"> {include file="./product-compare.tpl"} {include file="./product-sort.tpl"} </div> </div> </div> </div> {include file="./product-list.tpl" products=$products} <div class="col-xs-12 sortPagiBar"> <div class="row"> <div class="col-sm-8 col-xs-12"> <div class="inner"> {include file="./pagination.tpl" paginationId='bottom'} </div> </div> <div class="col-sm-4 hidden-xs"> <div class="inner"> {include file="./product-compare.tpl" paginationId='bottom'} </div> </div> </div> </div> {/if} {elseif $category->id} <p class="warning">{l s='This category is currently unavailable.'}</p> {/if}{/if} Link to comment Share on other sites More sharing options...
vekia Posted April 26, 2014 Share Posted April 26, 2014 just wondering what your modification do? in addition code that you pasted is for default template, right? theme that author of this topic use is not default one. Link to comment Share on other sites More sharing options...
Recommended Posts