sorry I know this is a Cfwheels questioned but i c...
# cfml-general
m
sorry I know this is a Cfwheels questioned but i cant seem to get onto the channel. I want to use a font awesome icon in a linkto - can anyone advise how to do this please? This is my link #linkTo(text='#imageTag(source="ico_info.png", style="width:16px; height:16px;")#',title="Invited on #DateFormat(invitedAt,'dd mmm yy')#")# And this is the font awesome icon I want to replace the image in the linkto tag with: <i class="fa-sharp fa-regular fa-trash"></i>
w
i don't do cfwheels, but seems like you'd just need to add it after the imageTag part, inside the quotes:
text='#imageTag(source="ico_info.png", style="width:16px; height:16px;")#<i class="fa-sharp fa-regular fa-trash"></i>',
s
@Mauro caresimo At the request of the cfWheels project maintainers, that channel was archived because they switched to https://github.com/cfwheels/cfwheels/discussions for discussions.
(most of the cfWheels folk left this Slack altogether around that time)
("that time" = September 2022)
m
cheers all