MontyVeda Posted January 11, 2012 Share Posted January 11, 2012 hi guys. I need to change the name of my top level category from 'home' to 'shop'. you can see my site here which uses the Design Furniture theme; http://www.blinds.org.uk any ideas? TIA, Dave Link to comment Share on other sites More sharing options...
Guest Stephen Bromfield Posted January 11, 2012 Share Posted January 11, 2012 Hi MontyVeda, You can't change the top level category from the back office, but you can do it in the database. If you look for the table called "ps_category_lang"(it maybe a little different if you db prefix is not ps) you can edit the name there. Hope that helps. -Stephen Link to comment Share on other sites More sharing options...
Dave L Posted January 11, 2012 Share Posted January 11, 2012 Unless I'm issing something if it's the 'Home' as the first item in your Breadcrumb you can indeed change this in the BO. Tools>Translations>Front office translations>breadcrumb expressions 1 Link to comment Share on other sites More sharing options...
Guest Stephen Bromfield Posted January 11, 2012 Share Posted January 11, 2012 I didn't think of that, thanks Dave L. -Stephen Link to comment Share on other sites More sharing options...
Dave L Posted January 11, 2012 Share Posted January 11, 2012 No problems Stephen. Glad to be able to help. Link to comment Share on other sites More sharing options...
MontyVeda Posted January 12, 2012 Author Share Posted January 12, 2012 Thanks DaveL... works a treat any idea where i can change it on the horizontal menu? (http://www.blinds.org.uk/17-wooden-venetian-blinds) Link to comment Share on other sites More sharing options...
MontyVeda Posted January 12, 2012 Author Share Posted January 12, 2012 Hi MontyVeda, You can't change the top level category from the back office, but you can do it in the database. If you look for the table called "ps_category_lang"(it maybe a little different if you db prefix is not ps) you can edit the name there. Hope that helps. -Stephen Hi Stephen, and thanks for your reply... I'm relatively new to Prestashop and database websites in general... and therefore am not sure where to look for this. I've done a search for "ps_category_lang" in my website files... but no joy. Link to comment Share on other sites More sharing options...
Guest Stephen Bromfield Posted January 12, 2012 Share Posted January 12, 2012 Does your web host give you access to something called phpmyadmin? -Stephen Link to comment Share on other sites More sharing options...
Dave L Posted January 12, 2012 Share Posted January 12, 2012 Thanks DaveL... works a treat any idea where i can change it on the horizontal menu? (http://www.blinds.or...venetian-blinds) ♦ You may have to do this as a .tpl file edit but first, check in Tools>translations>Module translations to see if there is a blocktopmenu section. If not this menu may have been included with your theme. Look in yourtheme/modules id there is one. in that modules folder there may be a blocktopmenu.tpl file which you would need to edit. Failing that look in /modules/blocktopmenu/blocktopmenu.tpl and make the edit there. You will be looking for the word 'Home' obviously and you will need to change that to 'Shop'. If you are unsure how to do this send a copy of the file to me at dave @ dvdlock dot net and I will do the edit for you. Link to comment Share on other sites More sharing options...
MontyVeda Posted January 13, 2012 Author Share Posted January 13, 2012 Thanks Dave and Stephen... I've been though all the possible TPL's and other files in the block top menu folder, nothing with a 'home' to hack, so it must be drawing that from the Database. However in the meantime I've decided to put the shop categories on the menu and to (possibly) remove the home link altogether. Link to comment Share on other sites More sharing options...
jonson000 Posted April 4, 2012 Share Posted April 4, 2012 hi i found a good solution open the following file themes/your-template/modules/blockuserinfo/blockuserinfo.tpl scroll down and you'll see this code bellow, just replace the Home title or any other links , (i marked in red) hope it help. <ul> <li {if $page_name eq 'index'}class="select"{/if}><a href="{$link->getPageLink('index.php')}">{l s='Home'}</a></li> <li {if $page_name eq 'sitemap'}class="select"{/if}><a href="{$link->getPageLink('sitemap.php')}">{l s='Sitemap'}</a></li> <li {if $page_name eq 'new-products'}class="select"{/if}><a href="{$link->getPageLink('new-products.php')}">{l s='New Products'}</a></li> <li {if $page_name eq 'about-us'}class="select"{/if}><a href="{$link->getPageLink('cms.php?id_cms=4')}">{l s='About Us'}</a></li> <li class="{if $page_name eq 'contact-form'}select{/if}"><a class="last" href="{$link->getPageLink('contact-form.php')}">{l s='Contact'}</a></li> </ul> Link to comment Share on other sites More sharing options...
Epredator Posted June 18, 2013 Share Posted June 18, 2013 (edited) hi i found a good solution open the following file themes/your-template/modules/blockuserinfo/blockuserinfo.tpl scroll down and you'll see this code bellow, just replace the Home title or any other links , (i marked in red) hope it help. this is hardcoded menu in your theme and this is not pr0perly answer... in older versions of presta (for example 1.4) you can change this in back office (translations->front office->header) but now (I don't know why we can't do this... but if you want to change Home name in the Top panel to whatever you want you can go to phpMyAdmin -> ps_category_lang Edited June 18, 2013 by Epredator (see edit history) Link to comment Share on other sites More sharing options...
mouse1 Posted August 25, 2013 Share Posted August 25, 2013 In Prestashop 1.5.4.0 go to Back Office - Catalog - Categories - click Edit on the right. You will see the name of your top category on the first line. Just change it to whatever you need. The change will show in your Front Office including site map and top horizontal menu. Hope this helps. 7 Link to comment Share on other sites More sharing options...
flowDsign Posted September 22, 2013 Share Posted September 22, 2013 OMG! Thanks mouse1, that was hard to get and I've realized how many people don't know that. I'm not sure why this info is so hard to find!? Thanks again, Flo 1 Link to comment Share on other sites More sharing options...
stevent Posted April 24, 2014 Share Posted April 24, 2014 Nice ! Thanks Mouse1, its the same for 1.6 1 Link to comment Share on other sites More sharing options...
mtporter Posted July 10, 2014 Share Posted July 10, 2014 (edited) Not seeing in 1.5.6.2... never mind, I must need glasses In Prestashop 1.5.4.0 go to Back Office - Catalog - Categories - click Edit on the right. You will see the name of your top category on the first line. Just change it to whatever you need. The change will show in your Front Office including site map and top horizontal menu. Hope this helps. Edited July 10, 2014 by mtporter (see edit history) Link to comment Share on other sites More sharing options...
wippa Posted July 11, 2014 Share Posted July 11, 2014 I guess youre searching for url_rewrite vía htaccess file. Link to comment Share on other sites More sharing options...
uddhava Posted October 4, 2014 Share Posted October 4, 2014 (edited) There are a few places where you need to change the "Home". The breadcrumbs translation is one of them. The other is the database: A default PS has the Root & Home Category. These cannot be changed and will not be visible on the FO. But the blocktopmenu uses the Home category to display all the subcat and subsub cats in the menu. If you want to change the name of the Home category then you need to do this in the database. Table: category_lang : ID 1 Column: name You need to change all the rows with ID 1. Each language has its own name. Remember that the blocktopmenu will display ALL sub & subsub categories at once. So this will only work on a "mega" menu. Adapt the CSS when needed. Edited October 4, 2014 by uddhava (see edit history) Link to comment Share on other sites More sharing options...
uddhava Posted October 4, 2014 Share Posted October 4, 2014 If you want to change the following texts : "All manufactures" "All Suppliers" and other texts, then you can do so easily in the translations for the blocktopmenu. Link to comment Share on other sites More sharing options...
Vitazzz Posted November 5, 2014 Share Posted November 5, 2014 There are a few places where you need to change the "Home". The breadcrumbs translation is one of them. The other is the database: A default PS has the Root & Home Category. These cannot be changed and will not be visible on the FO. But the blocktopmenu uses the Home category to display all the subcat and subsub cats in the menu. If you want to change the name of the Home category then you need to do this in the database. Table: category_lang : ID 1 Column: name You need to change all the rows with ID 1. Each language has its own name. Remember that the blocktopmenu will display ALL sub & subsub categories at once. So this will only work on a "mega" menu. Adapt the CSS when needed. Hello, I faced the same problem as topic starter, I went into my SQL database and changed the name of "name" columns according to your message: But for some reason when I checked my site the initial name of those categories remained the same! What could be the problem? Link to comment Share on other sites More sharing options...
uddhava Posted November 6, 2014 Share Posted November 6, 2014 You need to change all the entries for each language that you are using. - You need to disable caching and recompile. Link to comment Share on other sites More sharing options...
samseifi Posted November 17, 2014 Share Posted November 17, 2014 ♦ You may have to do this as a .tpl file edit but first, check in Tools>translations>Module translations to see if there is a blocktopmenu section. If not this menu may have been included with your theme. Look in yourtheme/modules id there is one. in that modules folder there may be a blocktopmenu.tpl file which you would need to edit. Failing that look in /modules/blocktopmenu/blocktopmenu.tpl and make the edit there. You will be looking for the word 'Home' obviously and you will need to change that to 'Shop'. If you are unsure how to do this send a copy of the file to me at dave @ dvdlock dot net and I will do the edit for you. Hi could you please help me with this? I don't know how to do this at all... Link to comment Share on other sites More sharing options...
Daniela Posted April 26, 2018 Share Posted April 26, 2018 Hi, you can simply create a new category with your name (Category Product - ex.) and move all category in there. In BlockTopMenu put the category like other. You can see at: axel-company.ro . I hope this if what you want 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