6 years ago
2
Topic

Hi,

I am developing / remodeling a hotel registration system! The current one is in the zoo, but I want to move on to the fantastic Seblod.

In the current directory, there is a field to select icons that characterize the hotel, which then appear in the frontend only the selected items, and if we left the mouse over the icons the explanation appears:

Backend: http://prntscr.com/jo4t85

Frontend: http://prntscr.com/jo4ttp

How can I create an identical field in Seblod? Do I have to create a checkbox for each icon?

Get a Book for SEBLOD
4229 Posts
Kadministrator
6 years ago
1
Level 1

One way would be to to enter icon markup as label in the checkbox, so instead of option1=value1 you would have something like <span></span>=value1

If field does no allow html to be entered directly you could use JText and enter html in the language override.

OR - you should be able to use checkbox in combination with html typography on frontend, this posts talk about images but you should be able to use font icons the same way just with changed markup

https://www.seblod.com/community/forums/forms-content-types/display-image-instead-of-checkbox-value

https://www.seblod.com/community/forums/fields-plug-ins/image-for-checkbox

6 years ago
0
Level 2

Hi Klas,

I want to thank you in advance for your response!

I was able to see the tips he showed me, and the one that worked best was:

< img alt="my_alt" src="/mypath/*value*" > - in html typography...

But this way, I have to create a field (checkbox) for each option. I do not think it's the right one!

The idea as I show in this print: http://prntscr.com/jo4t85
It's have 1 field checkbox, and inside this field have several options! I was watching and I think with the field plugin: OnBeforeRender, I get this way to display the options, right?

The link for the purchase is: https://www.seblod.com/store/extensions/1854

I would like to ask the following questions about the plugin:
- Can the icon / image appear on the BackEnd form (as I indicated above, it only appeared on the frontend)?
- The field will have several options selected, then you can separate each option to present the respective icons?
- When creating the searches, can we use these options / images as a filter / search?
- At the multi-language level, we have to create a Checkbox field for each language, right?

Get a Book for SEBLOD