How to get rid of > in filter listings?

  • Posts: 44
  • Thank you received: 2
11 years 5 months ago #114574

Hi,

Please see attached screen dump. I want to get rid of the > in the filter listings. However, I can't find the file where they're added. Can you point me in the right direction? Thanks...

Best regards

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 2334
  • Thank you received: 403
11 years 5 months ago #114617

Hi there,

You have to edit the file filter.php in administrator/components/com_hikashop/classes and find this line :

class hikashopListClass extends hikashopFilterTypeClass{

You then have to delete the first '>' for each line like this one:
$html.='> <a class="hikashop_filter_list_selected" style="font-weight:bold">'.$cat->category_name.'</a>';

Since I realize it's not an easy solution, we'll change it for the next version to something easier to edit (a translation I think)

The following user(s) said Thank You: praes

Please Log in or Create an account to join the conversation.

  • Posts: 44
  • Thank you received: 2
11 years 5 months ago #114627

Thanks, it worked.

But why should you add characters to the html? I can think of much nicer solutions. Like styling trough css for example (see screen dump). Or if needed, one can add characters via the css property content. These solutions are a lot more flexible, even compared to language overrides.

Best regards

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 2334
  • Thank you received: 403
11 years 5 months ago #114646

Indeed, it's even a better solution (plus it's coherent with the "list" idea :D)
It's coded so it will be included in the last version ;)

Please Log in or Create an account to join the conversation.

Time to create page: 0.075 seconds
Powered by Kunena Forum