Good Day,
I'm struggling with creating a custom field for Social networks/Email on Content or List view. I've created a custom content view template and list templates. Everything working as desired (I love SEBLOD BTW). However, how can I create a custom field that when clicked on it opens to an website? IMPORTANT I need to have the field partially completed.
For example: A user enters his Twitter ID: seblod in the form
http://twitter.com/#!/ is added to the output of the field
So when the hovered/clicked on the link it goes to: http://twitter.com/#!/seblod
Now one more additional factor: I'm not using text or image for the link, but CSS [button]
I am able to create the above in my custom template, BUT the CSS [button] is shown even if the field has nothing in it. Which is not the desired effect.
So probably the best way is to use Seblod's typo/link/html features along with <?php echo $item->renderField('user_twitterid');?> in my custom template. I have tried a bunch of options and can't get it to work. I'm open to any suggestions!
Please help! Thanks!
Joomla 3.1.1 and Seblod 3.1.3