I’m new to Yii…but love it! Have a background in Oracle and Java, data modeling etc.
I have a page with 2 multiselect list boxes I populate with a function that returns a list using CHtml::listData($data,‘id’,‘site_url’);
The site_url is a string (eg. "www.yiiframework.com") and I would like it to be a clickable link when in the
multiselect list box.
I can’t seem to get the url to be linkable, tried to transform the data when I create the list but it gives me problems.
Any suggestions as to using CHtml::Link() or other options?
I have buttons that move items from list_1 to list_2 and back…was thinking I might allow the user to select one
item and click a button to go to the website but it seems that it would be easier to do it in a more native fashion
rather than have to write a bunch of code to check for just one item being selected and then opening a window to the url.
Thanks for any advice.