Forums | Mahara Community
Display URL entered by user as href link
19 October 2017, 2:31 PM
I'm new in using mahara. I want to ask how to display input entered by user as link.
i added new field 'Youtube URL' in resume form. After save the form, i want to display in the form the url insert by user as a link so we can click the link to view the link.
Really appreciate if someone can help me.
20 October 2017, 9:40 AM
Which resume field are you talking about? You can take a look at how we resolved the linking in the image description field.
20 October 2017, 9:44 PM
Thanks Kristina for your respond.
the field i added at menu resume in tab introduction. But its okay i already found the way. i just add new element to display the href link as below:
'urllink' => array(
'type' => 'html',
'value' => '<a href="'.$personalinformation->get_composite('embedurl').'" target="_blank">Click here to view resume video</a>',),