marco989 Posted February 18, 2010 Share Posted February 18, 2010 Hello all,does anyone know how to change the name of a php page (how to rename an already existing php page)?By default the system (1.2.5) created a page called price-drop.php with the current "Specials".This page is not visible/accessible in the CMS tab because it is generated dynamically, unlike 404.php or tos.php. Frankly, price-drop.php is not on my liking, and i want to rename the php page (the name itself , not meta or description...) to specials.php, instead of price-drop.php.How can that be done without rewriting with htaccess?Anyone knows?Thanks Link to comment Share on other sites More sharing options...
uddhava Posted February 18, 2010 Share Posted February 18, 2010 You would need to hack to core to do that.First the file prices-drop.php is not dynamic but is present in the root of your Prestashop.Secondly, the core depends on these kind of files, so it might break your shop.But if you are persistent !Change the link in the modules/blockspecials/blockspecials.tpl on line 18 to your new name.Then rename the prices-drop.phpGood luck hunting down new bugs, and do not log them to the tracker when you hacked the core pls... Link to comment Share on other sites More sharing options...
marco989 Posted February 18, 2010 Author Share Posted February 18, 2010 thanks udd,i'll try the solution, your were right about the "dynamic" being not dynamic, i missed that one. Link to comment Share on other sites More sharing options...
evilmc Posted October 12, 2011 Share Posted October 12, 2011 If anyone can tell us how to rename price-drop.php to discount.php or popusti.php (on serbian language) ??? thanx Link to comment Share on other sites More sharing options...
Radiator Posted October 13, 2011 Share Posted October 13, 2011 If anyone can tell us how to rename price-drop.php to discount.php or popusti.php (on serbian language) ??? thanx in version 1.4 you can easy do this by editing : bo > preferences > seo 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