unable to hide filters
blondie63 opened this issue · 5 comments
Steps to reproduce the issue
I'm using last 4.0 here: https://dolcevita.bar/it/menu
Expected result
System information (as much as possible)
JM 4.0.3
Weblinks 4.0
I'm also unable to add/change left icon or add an image for each link
There was a typo and it was fixed on this commit 27d8fdc
You can update your site to the attached package of weblinks pkg-weblinks-4.0.0.zip , then you should be able to hide that filter by editing the menu item, set Filter Field parameter to Hide (see attached screenshot)
For changing the icon, access to weblinks component, then press Options in the toolbar and select the icon you want (see the screenshot)
You can choose up to two images for each weblinks. Not sure what's the problem when you trying to select images for weblink?
ok i've updated with zip you added here, going to menu item and saving setting over, now filter row disappear!
But there are still some problems:
- i set field "Text/Icon/Web Link Only" = Web Link Only but a left icon still appear
- i'd like to have different icon for each Link so i set one image on link "Carta dei Vini" and set First Image Float = Left but no image appear -> https://dolcevita.bar/it/menu // this is my idea: https://dolcevita.bar/it/m2
- Confirm the isssue. Ping @chmst for looking at this since she worked in the layout part
- We do not support different icon for each Link. For the First Image, it will only be displayed if there is Description for weblink. Without description, it won't be displayed (I don't know the reason, but it has been working like that before, same with Joomla 3)
For your need, I guess you will have to implement a layout override. So:
- Select the icon for the First Image of the weblink
- And implement the override to display that first image as the icon for weblink
The layout file to override is components/com_weblinks/tmpl/category/default_items.php
The issue with icon of weblink is fixed with this commit 56d3984 . So all problems reported in this issue were fixed. I'm closing the issue.