site_url() not working

edited October 2011 in Modules

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 ( I use the GUI to do this (the button "link") and automatically it types something like that:

<a href="{site_url('')}" 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="{site_url('')}" title="blalbabla" target="_blank">some web</a>


Sign In or Register to comment.