EllisLab text mark
Advanced Search
     
Creating Multiple Rendering Options in Fieldtypes not working
Posted: 05 July 2010 11:28 AM   [ Ignore ]
Avatar
Joined: 2006-04-10
97 posts

Hi,

I’m testing Fieldtype development and I’m trying to setup a custom replace function :

function replace_hello($data$params = array(), $tagdata FALSE)
{
    
return "hello world";

In my template, I’m calling it that way :

{myfield:hello} 

But this is not working, the tag is not parsed and it’s returning this :

{myfield:hello} 

Am I missing something or could this be a bug ?

Thanks !

Update : woops, posted it in the wrong forum, could you please move it to the Custom Field API Development forum ? Thanks !

 Signature 

Benjamin David | Connect to YouTube and Vimeo with Video Player for ExpressionEngine 2