Jump to content

_matis_

Members
  • Posts

    85
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by _matis_

  1. you can find it in classes/FrontController.php, function pagination
  2. I have downloaded and installed Tabbed Carousel module without any errors and modification (which I've posted before). The module is fully working in 1.4.6.2 (PHP 5.3.3) The same problem with instalation and configuration have also other users in this topic: [Free Module] Multi Tabbed Product Carousel (Over 200 Downloads)
  3. you can find .tpl file in modules directory. In your case it is module blockcategoriestop (I'm not sure with this name). Try this path: /modules/blockcategoriestop/*.tpl
  4. you must correct these lines: line 47: if ($nonEmptyCategoryIds = Db::getInstance()->ExecuteS($this->$NON_EMPTY_CATEGORY_QUERY)){ line 88: $psLangDefault = Configuration::get('PS_LANG_DEFAULT');
  5. try to replace "::" with "->" on lines 29 and 31 $this->$NON_EMPTY_CATEGORY_QUERY
  6. Hi, try to turn on display errors in config/config.inc.php @ini_set('display_errors', 'on'); define('_PS_DEBUG_SQL_', true); Maybe the slider module is not compatible with 1.4 ...
  7. Hi banense, try to use {counter} : <ul class="products-list"> {assign var='suppliers' value=Supplier::getSuppliers()} {counter start=0 print=false name=idx} {foreach from=$suppliers item=supplier name=supplier_list} {counter} {if $idx <= 10} <li class="{if $smarty.foreach.supplier_list.last}last{elseif $smarty.foreach.supplier_list.first}first{else}item{/if}"><a href="{$link->getsupplierLink($supplier.id_supplier, $supplier.link_rewrite)}" title=""><img src="{$img_sup_dir}{$supplier.id_supplier|escape:'htmlall':'UTF-8'}.jpg" alt="{$supplier.name|escape:'htmlall':'UTF-8'}" /></a></li> {/if} {/foreach} </ul> or use iteration: <ul class="products-list"> {assign var='suppliers' value=Supplier::getSuppliers()} {foreach from=$suppliers item=supplier name=supplier_list} {if $smarty.foreach.supplier_list.iteration <= 10} <li class="{if $smarty.foreach.supplier_list.last}last{elseif $smarty.foreach.supplier_list.first}first{else}item{/if}"><a href="{$link->getsupplierLink($supplier.id_supplier, $supplier.link_rewrite)}" title=""><img src="{$img_sup_dir}{$supplier.id_supplier|escape:'htmlall':'UTF-8'}.jpg" alt="{$supplier.name|escape:'htmlall':'UTF-8'}" /></a></li> {/if} {/foreach} </ul>
  8. Hi, I think that there are missing quotes on line 1 in category.tpl: {include file="$tpl_dir./breadcrumb.tpl"}
  9. change font size for heading (product_list.css, line 23): replace ul#product_list li a { color: #000000; text-decoration: none; } with ul#product_list li a { color: #000000; text-decoration: none; font-size:14px; } change font size for price (product_list.css, line 82): replace font-size: 170%; with font-size: 14px; For altering size of the box you must change (product_list.css, line 3): width: 29%;
  10. in modules/blocksearch/blocksearch-top.tpl replace <input class="search_query" type="text" id="search_query_top" name="search_query" value="{if isset($smarty.get.search_query)}{$smarty.get.search_query|htmlentities:$ENT_QUOTES:'utf-8'|stripslashes}{/if}" /> with <input class="search_query" type="text" id="search_query_top" name="search_query" value="{if isset($smarty.get.search_query)}{$smarty.get.search_query|htmlentities:$ENT_QUOTES:'utf-8'|stripslashes}{else}{l s='Search entire store...' mod='blocksearch'}{/if}" onfocus="if(this.value=='{l s='Search entire store...' mod='blocksearch'}')this.value='';" onblur="if(this.value=='')this.value='{l s='Search entire store...' mod='blocksearch'}';" />
  11. Try enable Force Compile and disable Caching under Preferences > Performance
  12. It is working solution (tested). And there is no need to remove strip_tags from the title attribute. <p class="product_desc"><a href="{$product.link|escape:'htmlall':'UTF-8'}" title="{$product.description_short|truncate:360:'...'|strip_tags:'UTF-8'|escape:'htmlall':'UTF-8'}">{$product.description_short|truncate:360:'...'}</a></p>
  13. Hi, in file product-list.tpl find {$product.description_short|truncate:360:'...'|strip_tags:'UTF-8'} and remove strip_tags: {$product.description_short|truncate:360:'...'}
  14. nezabudni to vratit naspat ked dokoncis template...
  15. try this: line 220 #featured-products_block_center h5 a { color: rgb(0, 0, 0); font-size: 12px; font-weight: 700; text-decoration: none; /* add these lines */ width: 100%; float: left; height: 35px; }
  16. skus BO -> Nastavenia -> Vykon Vynútiť kompiláciu: Ano Vyrovnávacia pamäť: Nie
  17. if you want category name in the title, put there {$node.name|escape:html:'UTF-8'}
  18. try to set height of the li element in your global.css: line 222: #featured-products_block_center ul li { float: left; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 15px; text-align: center; width: 170px; height:265px; }
  19. tak toho musis vyhodit viacej: <h1> {strip} {$category->name|escape:'htmlall':'UTF-8'} {$categoryNameComplement|escape:'htmlall':'UTF-8'} <span class="category-product-count"> {include file="$tpl_dir./category-count.tpl"} </span> {/strip} </h1> {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')}" 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">{$category->description}</div> {/if} {if isset($subcategories)} <!-- Subcategories --> <div id="subcategories"> <h3>{l s='Subcategories'}</h3> <ul class="inline_list"> {foreach from=$subcategories item=subcategory} <li> <a href="{$link->getCategoryLink($subcategory.id_category, $subcategory.link_rewrite)|escape:'htmlall':'UTF-8'}" title="{$subcategory.name|escape:'htmlall':'UTF-8'}"> {if $subcategory.id_image} <img src="{$link->getCatImageLink($subcategory.link_rewrite, $subcategory.id_image, 'medium')}" alt="" width="{$mediumSize.width}" height="{$mediumSize.height}" /> {else} <img src="{$img_cat_dir}default-medium.jpg" alt="" width="{$mediumSize.width}" height="{$mediumSize.height}" /> {/if} </a><br /> <a href="{$link->getCategoryLink($subcategory.id_category, $subcategory.link_rewrite)|escape:'htmlall':'UTF-8'}">{$subcategory.name|escape:'htmlall':'UTF-8'}</a> </li> {/foreach} </ul> <br class="clear"/> </div> {/if} a potom zaradit vsetky produkty zo vsetkych podkategorii (Hoodies, jacket, pants,...) do aj kategorie Men
  20. you can find this script in modules/blockcategories/category-tree-branch.tpl <a href="{$node.link}" {if isset($currentCategoryId) && ($node.id == $currentCategoryId)}class="selected"{/if} title="{$node.desc|escape:html:'UTF-8'}">{$node.name|escape:html:'UTF-8'}</a> change {$node.desc|escape:html:'UTF-8'} to whatever you want you can't show html code in title attribute, just plain text
  21. to set up max size of the Short description in BO: Preferences -> Products -> Short description max size Then you must change short description's truncate size in tpl files and change them: product-list.tpl product.tpl
  22. ak tam chces iba nazvy kategorii, musis v subore category.tpl vymazat <!-- Category image --> {if $category->id_image} <div class="align_center"> <img src="{$link->getCatImageLink($category->link_rewrite, $category->id_image, 'category')}" alt="{$category->name|escape:'htmlall':'UTF-8'}" title="{$category->name|escape:'htmlall':'UTF-8'}" id="categoryImage" width="{$categorySize.width}" height="{$categorySize.height}" /> </div> {/if}
×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More