Hi,
I have a custom module that contains a text field (var type "text" in mysql). When I use the CMS GUI to create a new entry in my module, I need to type in the text field an external link (
http://www.example.com). I use the GUI to do this (the button "link") and automatically it types something like that:
<a href="{site_url('http://www.example.com')}" title="blablabla" target="_blank">some web</a>
At this point all is correct. But when I get the field content to show in a view, the site_url() function doesn't work. The content of the tag "a" is something like this:
<a href="http://www.mysite.com/current-path/{site_url('http://www.example.com')}" title="blalbabla" target="_blank">some web</a>
Comments
public $parsed_fields = array('description', 'description_formatted');
http://www.getfuelcms.com/user_guide/libraries/base_module_model