[SOLVED] Using Font Awesome in Field Elements

More
8 years 5 months ago - 8 years 5 months ago #62549 by Mahmood
Hi Guys,

Is there a clever way to use font awesome in field elements instead of images or labels?

e.g. value1::label1::<i class="fa fa-phone" aria-hidden="true"></i>%%

or even value1::<i class="fa fa-phone" aria-hidden="true"></i>%%

Thanks :)
Last edit: 8 years 5 months ago by ggppdk.

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

More
8 years 5 months ago #62554 by Rooney
Hi, I am just using the prefix/suffix feature.
Rooney

Joomla! 3.9.24 and FC 3.3.9

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

More
8 years 5 months ago #62578 by Mahmood
Thanks Rooney,

But what I am actually trying to achieve is something like this in the 'field elements' in for example a 'Select' field:

1::Yes::<i class="fa fa-check" aria-hidden="true"></i>%%
2::No::<i class="fa fa-times" aria-hidden="true"></i>%%

Here every value has a different Font Awesome font, the problem with prefix and suffix is that all the values must have the same font in the same field.

When I try it my way the font awesome code comes up but for some reason it does not render it as a Font Awesome Icon, it just treats it as text. Which is what font awesome is so that's why I'm asking if there is a trick to it. Maybe wrap it in some other code or something.???

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

More
8 years 5 months ago #62588 by micker
not possible you need to use image
1::Yes::image.png%%

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

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

More
8 years 5 months ago #62607 by ggppdk
Hello

the purpose of fields:
- radioimage
- checkboximage

is to make easy to use image / icons

so indeed we should add this , and once added
- it will be used as common as the images
- further more, someone can modify existing fields to replace images with icons

Need to
- modify XML (done)
- viewing (done)
- form (done)
- filters display (to-do)


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

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

More
8 years 5 months ago - 8 years 5 months ago #62609 by micker
be careful with Awesome icons they aren't clicable by default ... need text

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]
Last edit: 8 years 5 months ago by ggppdk.

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.412 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline