Pat Posted July 28, 2011 Share Posted July 28, 2011 Zdravim, potreboval bych v bloku blocknewproducts zmenit odkaz new-products.php -> new-products.php?orderby=position&orderway=DESC. Naivne jsem si myslel, ze to zmenim v blocknewproducts.tpl, jenze to na to vubec nereaguje. Muzete mi nekdo poradit, kde se to da zmenit. Potrebuji hlavne, aby nejnovejsi veci byly nahore. Predem diky. Link to comment Share on other sites More sharing options...
[email protected] Posted July 28, 2011 Share Posted July 28, 2011 a co vymyzani cache ? taky nic ? Zdravim, potreboval bych v bloku blocknewproducts zmenit odkaz new-products.php -> new-products.php?orderby=position&orderway=DESC. Naivne jsem si myslel, ze to zmenim v blocknewproducts.tpl, jenze to na to vubec nereaguje. Muzete mi nekdo poradit, kde se to da zmenit. Potrebuji hlavne, aby nejnovejsi veci byly nahore. Predem diky. Link to comment Share on other sites More sharing options...
Pat Posted August 10, 2011 Author Share Posted August 10, 2011 Jeeeee, fakt, ze to bylo tim, su ale pako. Diky za typ, to by me ani nenapadlo, kdyz davam obnovovat aj jsem to zkousel na vice pocitacich, ale asi jsem tam uz tu stranku nacetl nekdy a ta mrcha si to pamatovala. Tak uz to konecne slape. a co vymyzani cache ? taky nic ? Zdravim, potreboval bych v bloku blocknewproducts zmenit odkaz new-products.php -> new-products.php?orderby=position&orderway=DESC. Naivne jsem si myslel, ze to zmenim v blocknewproducts.tpl, jenze to na to vubec nereaguje. Muzete mi nekdo poradit, kde se to da zmenit. Potrebuji hlavne, aby nejnovejsi veci byly nahore. Predem diky. Link to comment Share on other sites More sharing options...
vipshop.sk Posted August 10, 2011 Share Posted August 10, 2011 alebo mozes do .htaccess doplnit RewriteRule ^novinky$ /new-products.php?orderway=desc [QSA,L] a budes mat krajsiu url http://www.eshop.sk/novinky Link to comment Share on other sites More sharing options...
jgerza Posted August 10, 2011 Share Posted August 10, 2011 problem je že až bude dělat další drobnou úpravu na tomto template nemusí se mu to vymazáním smarty povést. 1 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