Jump to content

Blocktopmenu - change mobile menu name


Recommended Posts

Hello,

 

I want to change the name of my mobile menu from "Categorii" to "Meniu".

How can I do this? I tried to find a way but I can not see any option to do this.

 

Blocktopmenu; Developed by: PrestaShop; Version: 1.6

 

PrestaShop™ 1.5.5.0

post-793068-0-61147800-1401781410_thumb.jpg

Link to comment
Share on other sites

I think you will find this in  YOUR SITE/modules/blocktopmenu/blocktopmenu.php

 

search for 'categorii'

 

This might be right or wrong :):ph34r: 

 

Thanks for the advice. I did not find it there, but I did find something in SITE/modules/blocktopmenu/translations/ro.php

Is there where I should change it or should I leave that alone?

 

If the solution above does not work, try renaming the default category - this looks like it might be it.

 

How and where can I do this? Sorry but I am new to Prestashop :(

Link to comment
Share on other sites

@macota

 

Yeah, you can change into translation/ro.php or just find blocktopmenu.tpl file and search for "categorii"

 

I searched in all the files that are in the folder blocktopmenu but the only one that has "categorii" is in the translation/ro.php but I am not sure that changing in there will work.

Link to comment
Share on other sites

Go to Prestashop- Backoffice - Catalogue - Categories and see, if there in the breadcrumb the name of the category is categorii. Also, link to your website might help.

 

In the Backoffice the breadcrumb name is "Categorii" (ro: Calatog produse > Categorii; eng: Product Catalogie > Categories)

Here is also a link to the website:

http://www.mobilacasarusu.ro

 

Thanks for the help!

Link to comment
Share on other sites

In the Backoffice the breadcrumb name is "Categorii" (ro: Calatog produse > Categorii; eng: Product Catalogie > Categories)

Here is also a link to the website:

http://www.mobilacasarusu.ro

 

Thanks for the help!

 

Great! If the name is Categorii, then you can change it to whatever you want to. Once you click the Categories under the Catalog Tab and you see the Categorii, you should be able to see an edit icon as well. What version of Prestashop are you using? I could send you a screen, if you're unable to find it...

Link to comment
Share on other sites

it's necessary to recompile module now.

open menu configuration page and just hit save, module will be recompiled

 

I can't find the part of the menu where the name "Categorii" is displayed for the mobile version so I can change that to "Meniu".

 

I'm slowly losing hope...

Edited by Macota Lorin (see edit history)
Link to comment
Share on other sites

Look at the attachement. The thing that I want to know is if in the left circle you see "Categorii". That's all I want to know. If you do, then click in the right circle on the edit button. 

 

If not, you can send me access to the back office - I can take a look at it. Please, if you do, send it to my PM only!

 

post-610965-0-62837900-1401971534_thumb.png

Link to comment
Share on other sites

after changing name as Oskar mentioned above in some cases it's also necessary to recompile theme.

block top menu uses caching, it means that after changing category name it will display old cached name

Link to comment
Share on other sites

Look at the attachement. The thing that I want to know is if in the left circle you see "Categorii". That's all I want to know. If you do, then click in the right circle on the edit button. 

 

If not, you can send me access to the back office - I can take a look at it. Please, if you do, send it to my PM only!

 

There is not the name that I want to edit (Categorii). It displays another name!

I can't give access, my superiors refused the idea.

 

after changing name as Oskar mentioned above in some cases it's also necessary to recompile theme.

block top menu uses caching, it means that after changing category name it will display old cached name

 

I understood that part, that I have to recompile the menu but there I can't modify the name "Categorii", it is not displayed anywhere under the given directions.

Link to comment
Share on other sites

Well, you wrote a while back ago this

I searched in all the files that are in the folder blocktopmenu but the only one that has "categorii" is in the translation/ro.php but I am not sure that changing in there will work.

 

 

This will change the name. The PHP files contains the translation of the string to Categorii, therefore changing it to whatever you want to should change the name in the menu as well.

Link to comment
Share on other sites

Well, you wrote a while back ago this

 

This will change the name. The PHP files contains the translation of the string to Categorii, therefore changing it to whatever you want to should change the name in the menu as well.

 

I just tried that... but with no results. The mobile menu does not change!

 

Any other ideas?

Edited by Macota Lorin (see edit history)
Link to comment
Share on other sites

  • 2 weeks later...

I have found the solution to my problem!

In order to change the mobile menu in Prestashop you have to go to:

 

Location -> Translations -> Modify the translation -> Select from the list "Translate installed modules" -> Select yout theme and click on the language flag.

 

After that you have to find Module: blocktopmenu and there find "Categories" and translate it to whatever you want your mobile menu to say, in my case it was "Meniu".

 

Hope this will help others that have the same problem.

Link to comment
Share on other sites

×
×
  • Create New...