Home › Forums › Calendar Products › Events Calendar PRO › Replace custom field output with icon
- This topic has 5 replies, 5 voices, and was last updated 8 years, 10 months ago by Support Droid.
-
AuthorPosts
-
June 19, 2012 at 10:13 am #20858TonyParticipant
I would like to replace a custom field output with an icon.
I have specified a custom field called “Services” with a dropdown containing the following options: “Food”, “Alcohol”, “Food & Alcohol”. I would like replace these with an icon, so for example “Food” becomes ‘knifeandfork.png’ and “Alcohol” becomes ‘wineglass.png’.
I have come up with this https://gist.github.com/2955348 but it is not outputting the images for some reason.
Any help? Thanks.
June 20, 2012 at 10:40 pm #20946Joyce GraceMemberHello Tony, have you checkout out our Themer’s guide? It might not have the direct answer you’re looking for, but it might at least lead you in the right direction. This is a level of customization we don’t normally support, however I’ll see if it’s simple enough that Jonah can help with. Here is the Themer’s guide to get you started:
https://theeventscalendar.com/support/documentation/events-calendar-themers-guide/June 21, 2012 at 3:46 pm #20987JonahParticipantHi Tony,
I think that should work. Have you verified the path to the files is correct? What being output, anything?
– Jonah
June 22, 2012 at 6:10 am #21040TonyParticipantI’ve fixed it now, it was a simple mistake – I had ‘servicesarray’ as “servesarray” for img src. Works great now!
June 22, 2012 at 12:10 pm #21064RobMemberGreat to hear you got this figured out, Tony. If you need anything else down the road please let us know – going to close this thread for now since it seems like we’re all set.
July 7, 2015 at 6:21 am #977179Support DroidKeymasterThis topic has not been active for quite some time and will now be closed.
If you still need assistance please simply open a new topic (linking to this one if necessary)
and one of the team will be only too happy to help. -
AuthorPosts
- The topic ‘Replace custom field output with icon’ is closed to new replies.