Artizzz Posted March 17, 2011 Share Posted March 17, 2011 Hello! I need help for solving my problem I have tags with specific charters - ā,ē,č etc. Tag block works perfect with those tags. But when I choose all products with tags who have specific charter in its name to display them in product list and then choose different number of products per page it crashes(I'm added picture whats shows result's before and after choosing different products per page). But for page select all is working perfect, that's why I'm thinking that it's possible to solve this problem, but I don't have that kind of knowledge to do it. So I hope that someone will help me.And if it's helps - when I was searching solution I was playing with code and when I delete <input type="hidden" name="{$requestKey|escape:'htmlall':'UTF-8'}" value="{$requestValue|escape:'htmlall':'UTF-8'}" /> (in pagination.tlp line 65) it works well on tag product list, but then "products per page" function for categories products don't work. And if someone wants I can give my local test site address to show the problem online.Best regards,Artizzz Link to comment Share on other sites More sharing options...
Artizzz Posted March 17, 2011 Author Share Posted March 17, 2011 Ok, finally I have solve this problem.If someone else have tags with specific charters this code will work for products per page function - {if $nb_products > 10} <form action="{if !is_array($requestNb)}{$requestNb}{else}{$requestNb.requestUrl}{/if}" method="get" class="pagination"> {if isset($query) AND $query}<input type="hidden" name="search_query" value="{$query|escape:'htmlall':'UTF-8'}" />{/if} {if isset($tag) AND $tag AND !is_array($tag)}<input type="hidden" name="tag" value="{$tag|escape:'htmlall':'UTF-8'}" /> {else is_array($requestNb)} {foreach from=$requestNb item=requestValue key=requestKey} {if $requestKey != 'requestUrl'} <input type="hidden" name="{$requestKey|escape:'htmlall':'UTF-8'}" value="{$requestValue|escape:'htmlall':'UTF-8'}" /> {/if} {/foreach} {/if} <input type="submit" class="button_mini" value="{l s='OK'}" /> {l s='items:'} {foreach from=$nArray item=nValue} {if $nValue <= $nb_products} {$nValue|escape:'htmlall':'UTF-8'} {/if} {/foreach} </form> {/if} code is for pagination.tlp in version 1.3.7 lines 48-73. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now