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 !
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.