0

please visit this link :

http://demo.kidsdial.com/

on top you can see search box with "all categories", you can see there is a dropdown menu.

if we hover mouse on that"drop down menu" button, you can see list of "categories and sub-

categories". before every category name there is a line displaying.

I want to remove that line and put "bullet symbol", before all categories.

please help me to get some solution.

1

That's not a standard magento feature. I assume you have a custom extension that adds the categories to the search.
Look in the files of that extension for the code that generates the list of categories and instead of - use • or simply

[EDIT]
In the file EM\Em0113settings\Helper\Data.php look for the method getCatNameCustom.
Inside it there is this line $html .= '—–';. Replace it with $html .= '••';

  • 1
    I think you have to search in the method getCategoriesCustom called at line 39. Locate the helper with the alias em0113settings. that's where the method is. – Marius Feb 10 '15 at 12:44
  • 1
    Look inside the extension you are using, for the file Helper/Data.php inside it, you should find a method called getCategoriesCustom . That's the one that returns the categories. – Marius Feb 10 '15 at 13:01
  • 1
    that's not the right helper. You can add somewhere in your templtate this echo get_class(Mage::helper('em0113settings')) and see the exact class used. – Marius Feb 10 '15 at 13:14
  • 1
    @user9434334345 add it in the template file. The one you pasted here: pastebin.com/nJJ6Qksz – Marius Feb 12 '15 at 13:25
  • 1
    @user9434334345. See my update – Marius Feb 17 '15 at 6:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.