add _custom smarty resource plugin