- Posts: 28
- Thank you received: 0
OS Property support center
Change features/amenities icon
- Davor
- Topic Author
- Offline
- Junior Member
-
Less
More
10 years 9 months ago #52964
by Davor
Change features/amenities icon was created by Davor
Hello,
I would like to change the amenities icons. How can I add a specific icon to a specific amenity?
In template file I found <?php echo $row->amens_str1;?> but this shows all of the amenities, is there maybe a deeper variable? Something like <?php echo $row->amens_str1->value;?> so that I could check the value and output it directly in template one by one so that I can attach a specific class to it?
See the attached wanna be sample of how I am trying to do.
Best,
Davor
I would like to change the amenities icons. How can I add a specific icon to a specific amenity?
In template file I found <?php echo $row->amens_str1;?> but this shows all of the amenities, is there maybe a deeper variable? Something like <?php echo $row->amens_str1->value;?> so that I could check the value and output it directly in template one by one so that I can attach a specific class to it?
See the attached wanna be sample of how I am trying to do.
Best,
Davor
- Dang Thuc Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13244
- Thank you received: 1729
10 years 9 months ago #52965
by Dang Thuc Dam
Replied by Dang Thuc Dam on topic Change features/amenities icon
Hi Davor,
Unfortunately, OS Property doesn't have feature to add icons for amenities
Thanks
Dam
Unfortunately, OS Property doesn't have feature to add icons for amenities
Thanks
Dam
Please Log in or Create an account to join the conversation.
- Davor
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 28
- Thank you received: 0
10 years 9 months ago #52986
by Davor
Replied by Davor on topic Change features/amenities icon
Yes I figured that. What would be the code I could use in template, for calling amenities from DB? Then I can use a loop to check if the amenity is a string containing word pool, and based on that I would be able to modify the appearance. How can I do this?
thanks
thanks
Please Log in or Create an account to join the conversation.
- Davor
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 28
- Thank you received: 0
10 years 9 months ago #53784
by Davor
Replied by Davor on topic Change features/amenities icon
Hello I would like to double check this? Where can I change how the amenities are displayed - remove the check icon and replace it with different output. Output would be based on the amenity name.
Thanks
Thanks
Please Log in or Create an account to join the conversation.
- Dang Thuc Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13244
- Thank you received: 1729
10 years 9 months ago #53864
by Dang Thuc Dam
Replied by Dang Thuc Dam on topic Change features/amenities icon
Hi Davor,
As i told you above, currently, it's impossible to change the icons of amenities by custom images. We are using the Bootstrap icon tag "checked" for all amenities.
Thanks
Dam
As i told you above, currently, it's impossible to change the icons of amenities by custom images. We are using the Bootstrap icon tag "checked" for all amenities.
Thanks
Dam
Please Log in or Create an account to join the conversation.
Moderators: Dang Thuc Dam, Nguyen Phu Quan
Support
Documentation
Information
Copyright © 2025 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.